Ilya Sher wrote:
>
> I've seen .phtml used for php3 and php4.
> In addition, googling a bit revealed that
> the common use of .phtml _is_ for PHP.
> I'd vote for merging .phtml with .php
Certainly there are web servers that do so by default, for example the
Debian-packaged version of Apache httpd. Out of curiosity I downloaded
the open source PHPEclipse IDE, which also treats ".phtml" the same as
".php".
Obviously the choice of file extension comes down to a matter of
preference for web app developers. The ".phtml" extension _was_ to some
degree historical, much like ".php3". However, now I believe use of
".phtml" for PHP 5 applications is on the rise. In order to separate
out presentational templates from the rest of an application, people
find there's a psychological benefit in using a different file extension
for them.
Thanks,
Dave
--
Save the whales. Collect the whole set.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---