Why are scripts given .phtml extension while working with zend framework?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
.phtmlextension applies only to view files as far as I can tell.Matthew Weier O’Phinney gives these reasons why he proposed that
.phtmlbe used for views:So it’s not much of a deal; it just makes it clearer that view files are the ones that largely comprise PHP interspersed in HTML templates for your applications. And as he said in point (b), most IDEs and editors recognize
.phtmlfiles so you shouldn’t run into trouble dealing with them.