[dev] [cvs] commit: scry conclude.php delete.php edit.php editperms.php export.php polls.php view.php vote.php scry/lib View.php scry/lib/Block summary.php scry/templates main.html.php polls.html.php view.html.php scry/templates/block summary.html.php

Chuck Hagenbuch chuck at horde.org
Tue Apr 15 14:37:41 UTC 2008


Quoting Vilius Šumskas <vilius at lnk.lt>:

>> >>   - Use .html.php for view templates (or whatever format is
>> >> appropriate, like .xml.php)
>> >>   - simplify templates directory depth
>> >
>> > Just wondering, isn't this just duplicate? I mean we *know* that
>> these
>> > are templates because they are in /templates/ directory. Why add more
>> > characters for file name?
>>
>> What in the file name is duplicative with the templates directory?
>
> .html.php
>   ^---- part.
>
> Isn't it meant to show that these are templates and not ordinary php files?

It's meant to show what they contain. They could also contain xml, for  
example, in which case they'd be .xml.php. Or maybe .rss.php. Etc.

-chuck

-- 
"I have concerns that we are not behaving like a mature, responsible,  
collection of interdependent organisms." - Rick O.


More information about the dev mailing list