|
Posted by Robert Cummings on 04/29/05 18:44
On Fri, 2005-04-29 at 13:27, Clive Zagno wrote:
> 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.
I didn't say smarty wasn't compiled, only that InterJinn avoids the
cache overhead incurred by smarty since InterJinn compiles to the actual
page loaded by the browser, and not as smarty does... into a cache file
which then needs to be loaded by the smarty engine, subsequently
requiring smarty to be loaded beforehand incurring yet another overhead.
Cheers,
Rob.
> > 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.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
Navigation:
[Reply to this message]
|