Current time: 11-01-2024, 09:11 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: #42
RE: Convert pTemplates into Smarty Templates
Never had a performance problem with Smarty, thankfully. I'm a big fan of <?= $var ?>, of course you probobly should be doing <?= htmlentities($var) ?>, also the addition to PHP of <? if (1==1): ?>Stuff<? endif; ?> has greatly simplified.

The trick with any language is to reduce complexity, and yes, keeping business logic and view logic separate can be a challenge regardless. I've found while trying to make a theme with pTemplate, is that so much view logic is coded into the core because pTemplate isn't able to handle it.

Either way, Smarty conversion is already done! Props to the people who did that. It's a major step forward from pTemplate =).
11-04-2010 12:42 AM
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-04-2010 12:42 AM

Forum Jump:


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