4images Forum & Community
4images Issues / Ausgaben => Feedback & Suggestions => Topic started by: troubadix on December 02, 2008, 08:46:03 AM
-
Why not using the smarty templating engine in the next main-release of 4Images?
That's real templating - no html is needed in the php-sourcecode - never!!!
Have a look - it's very simple to integrate, it's stable and you will no longer have to maintain a templating engine by yourself.
http://smarty.net
Maybe some of the available 4Images-mods could be realized with smarty-plugins, so hacking the 4Images-code will not be needed any longer.
Think about it
---
best regards
Bernd
-
Hello and welcome to 4images forum.
Yes, smarty is a very advanced template engine, and very complex. And because of it's complexity it's not even near close to 4images's template engine performance.
In my opinion smarty is just a waste of time (learning it) and server's resources. It's templates are very close to PHP syntax, so why waste time learning it when you could benefit more by learning PHP syntax itself and use PHP code instead?
-
... so why waste time learning it when you could benefit more by learning PHP syntax itself and use PHP code instead?
Because i can strictly divide code from presentation.
Nobody forces you to learn the complete syntax of smarty, but you can ... if you like :mrgreen: