|
Posted by Clive Zagno on 04/29/05 20:27
Wait - doesn't smarty 'compile' the php file and the tpl file into
another php file. If you look into templates_c directory you find some
'compiled' templates.
clive
Robert Cummings wrote:
> On Thu, 2005-04-28 at 13:20, Ryan A wrote:
>
>>On 4/28/2005 7:08:00 PM, Evert | Rooftop Solutions
>>(evert@rooftopsolutions.nl) wrote:
>>
>>>Ryan A wrote:
>>>
>>>>So just because you use smarty you think you are smart and have the right
>>>
>>>to be smart..who the hell do you think you are??
>>>
>>>
>>>>Sorry, just giving an example of how a jackass with extreme opinions
>>>
>>>would write on this holy war's volatile topic..... no offense meant
>>>
>>>>:-)
>>
>>
>>>I would go for a xml-style template engine (start flaming right below
>>>this thread)
>>
>>Flaming??? who has time to start flaming after reading what you wrote?
>>am busying banging my head against the wall.
>
>
> To state the obvious... the above is in actuality a flame disguised as
> an excuse.
>
> I use InterJinn, smarty, and PHP as template engines depending on what
> the client wants and how much work they want done, and how much
> elegance, modularity, and maintainability they want. Of the three I like
> smarty the least which is probably why I wrote my own engine :) Oh wait,
> I've also used eztemplate which by far takes the cake of horrible
> horrible templating. While PHP is itself usable as a templating engine,
> it's not what I would call clear and concise when used that way (but
> maybe that's because I've come across too many instances where the
> previous developer mixed business logic with display logic and then I
> had to rework the functionality which was a nightmare :). When using
> InterJinn I save the overhead of run-time includes incurred by using PHP
> as a templating engine, and I save the overhead of cache checks incurred
> by systems like smarty since InterJinn compiles to PHP source code and
> does not use a cache (although it can be set to automatically recompile
> pages when dependencies change).
>
> At any rate I don't generally post about InterJinn here anymore since
> some of the regulars tend to get annoyed ;)
>
> Mind you I don't post much at all anymore since I became a father a year
> and a half ago... priorities you know :)
>
> Cheers,
> Rob.
Navigation:
[Reply to this message]
|