Re: Feedback wanted: new PHP template engine



Egbert Teeselink wrote:
Hi all,

The last few months I've worked on making a template engine because
the ones out there didn't serve my needs. I guess everybody knows
Smarty and has an opinion on it; I like many things about it, but
dislike many others. The thing I made is called 'Farty' (sorry, I suck
at names) and is in many ways a simpler version of Smarty. It keeps
the good (compiling to php files, clean syntax) and fixes the bad
(having to learn a new language, limited flexibility). I also added
some pretty nifty extensibility features, and I even wrote some docs!
I believe that right now it's just about as powerful as Smarty except
for some missing pre-packaged template functions - otherwise it should
be pretty mature already.

Anyway, I've hesitated for a while because that's the shy guy I am,
but I'd really want some feedback on it now, and see if the PHP
community thinks that this is a project work continuing (and given a
better name, maybe).

As such, any comments, good or bad, either here or on the website,
will be more than appreciated.

The URL is http://e.teeselink.nl/farty

Any feedback is very appreciated!

I'm a really experienced Smarty user and i must say that i like your syntax more than the syntax Smarty uses.

I like the tag libary syntax.

I didn't testet Farty but absolute requirements are for me:

1. Good error messages if a compile failed
2. Stability
3. Ability to use objects in the template (not visible in the website or in the samples)
4. Method chaining

And you shold change the name asap. It's a marketing disaster.

Joe
.



Relevant Pages

  • Re: New template engine - retry
    ... is an improvement over Smarty (and the other, newer, template engines ... tell me why you think this template is better ... There are two central points where I believe mplate is different from ... other PHP template engines. ...
    (comp.lang.php)
  • Re: New template engine - retry
    ... is an improvement over Smarty (and the other, newer, template engines ... than other template systems. ... There are two central points where I believe mplate is different from ... other PHP template engines. ...
    (comp.lang.php)
  • Re: Long long int
    ... > more to the syntax of GAS or AT&T or whatever assembly. ... but that is simple absurdity. ... trained monkeys could have come up with a better template. ... algebraic notation is clearly a win over AT&T's What-The-Fuck notation. ...
    (comp.lang.c)
  • Re: Python vs PHP
    ... PHP is itself a template language, ... Many people seems to be frustrated with Smarty syntax. ... But my personal point of view is, that Smarty is the best PHP template ... I compare Smarty with Cheetah. ...
    (comp.lang.python)
  • [Full-disclosure] [gentoo-announce] [ GLSA 200503-35 ] Smarty: Template vulnerability
    ... Smarty's "Template security" feature can be bypassed, ... Smarty is a template engine for PHP. ... and execute arbitrary PHP code. ...
    (Full-Disclosure)