Current time: 11-01-2024, 09:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
Convert pTemplates into Smarty Templates
Author Message
kassah Offline
Junior Member
*

Posts: 46
Joined: Oct 2010
Reputation: 1
Post: #39
RE: Convert pTemplates into Smarty Templates
I'm putting in my 10 cents here because I put it in another thread, and figured I should put it here too for those who want to listen.

I'm not a particular fan of Smarty, because the more advanced your usage of it, the harder it becomes to debug. Because there is no such thing as debugging symbols in it's compiled PHP code, even once you figure out where an issue is in it's generated php, it can be difficult to figure out what line in the Smarty template is responsible.

This is why I'm a big proponent of simple phtml files. Simple PHP mixed with HTML. This is how ZendFramework does it, but by no means do you need ZendFramework to do it.

Using phtml would also make fixing gettext to scan the new templates very easy (it's just more php!) for a change like in my other thread.

Ref: Thoughts about moving translation call to inside gui template
11-03-2010 01:23 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Templates - Obi_Wan - 09-23-2010, 07:37 PM
RE: Templates - Nuxwin - 09-24-2010, 10:20 PM
RE: Templates - Zothos - 09-23-2010, 08:52 PM
RE: Templates - zpin - 09-23-2010, 09:01 PM
RE: Templates - Obi_Wan - 09-23-2010, 10:08 PM
RE: Templates - Obi_Wan - 09-24-2010, 10:26 PM
RE: Templates - zpin - 09-25-2010, 12:08 AM
RE: Templates - Obi_Wan - 09-25-2010, 06:44 PM
RE: Templates - zpin - 09-27-2010, 10:55 PM
RE: Convert pTemplates into Smarty Templates - Nuxwin - 10-01-2010, 12:22 AM
RE: Convert pTemplates into Smarty Templates - Nuxwin - 10-20-2010, 09:59 PM
RE: Convert pTemplates into Smarty Templates - kassah - 11-03-2010 01:23 PM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)