Dear PHP Masters,
I am new to the php based web application development. I have little bit of experience in writing perl based cgi applications.
The question is what is the “best practice in coding php applications”.
Most of the php examples include php logic coding and html design tags as interleaved, actually this is creating a lot of confusion in following the php code and consolidating the application logic.
For example take Bugzilla, perl/cgi based coding, has followed a design/coding practice, where templates are separate from the logic . Similarly phpBugTracker also tried to follow the same , but not very accurately.
Please let me know the best practice in PHP & HTML based application.
- Should we interleave the PHP code and HTML tags.
- Should we keep them separate.
Also please mention the applications following the best practices.
Thanks & Regards,
GL.
Report this post