Re: eval challenge
| From: | neko | Date: | Tue, 04 Mar 2003 11:08:52 +0000 |
| Subject: | Re: eval challenge | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138076@lists.php.net to get a copy of this message | ||
Thanks for your time, Dan.
Currently, I'm using defined tags for replacing info from my CMS, eg:
$str = "<ofa-core:siteMapLink/>"
Then I have a function that has all the objects in scope, and can perform
the necessary replacements.
I am prototyping some stuff with smarty, but so far have yet to see how it
benefits over my current implementation. I don't have to to worry about
non-technical persons building/maintaining the site, so I'd rather stick
with include() to build my pages from templates/blocks/content.
As I learn more about smarty, I might use it to power the presentation layer
of my CMS, but only when I can see a long-term benefit from using it. My cms
makes use of presentation logic components, which you supply microtemplates
to in order to produce the final output. These components can reside within
"templates", so currently my html redundancy is minimal.
cheers,
neko