Re: [SMARTY] Building a Portal - Smarty or not?

From: Date: Wed, 21 May 2003 14:15:26 +0000
Subject: Re: [SMARTY] Building a Portal - Smarty or not?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9593@lists.php.net to get a copy of this message
Alex wrote: Why is my question lame? Smarty is not the only way to do things. It may be the best template engine for PHP, but there's something to be said for the pre-built functionality of some of the CMS portal-creator packages.
It doesn't have built in blogging and calendars though, does it?
Obviously not, it is not a CMS, it is a template parser, which is usually part of ANY good sysmtem, let it be a CMS, a blog, a chat, whatever. Smarty will take parameters from your code and mix them with predefined HTML structure and hence render out nice (sometimes not so nice) webpages. How you decide to use smarty, is up to you, but generally, trying to get a CMS, such as PHPNuke to work with another template engine than it has been originally been built upon is almost suicide. Whereas building an application from ground up on smarty - is a very elegant and easy solution. Please bear in mind that code is not something that you put together and it suddenly works %)
I guess my question could be re-stated thusly: whats the easiest way to tack on blogs and a calendar to a smarty app? Is that less lame?
I can write a blog engine based around, say, MySQL, PHP and smarty in less than a week. With calendars and all the fun one needs. But this has nothing to do with smarty, but more my coding abilities =) Smarty is the best template engine I've ever seen around, yes. I am really sorry if this seems a bit aggressive to you, there just seems to be a small lack of understanding between the parties. best regards, alex

« previous php.smarty.general (#9593) next »