November 11, 2007

more thoughts on Smarty

Filed under: ZenMagick — DerManoMann @ 10:01 pm

Once the new Smarty plugin is out (together with 0.8.5), you will see that there is still lots to be done to make it really useful.

Once thing that could help is dropping PHP4 support. Since it is easy to add class instances to a Smarty context I think it’s a much more elegant way to convert the large number of functions used by the templates into class members (static?) rather than writing wrapper plugins for each and every function.

Please forgive me if I get rather exited about this despite the fact that it won’t be useful for some time. It’s the excitement to see that the ZenMagick architecture (MVC, remember?) is really working and it is pretty straightforward to integrate other templating engines into ZenMagick.

It also shows that plugins have very few limits in ZenMagick. I hope this is incentive enough so that other people start writing plugins.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.