RE: [SMARTY] XML+XSLT or Smarty?

From: Date: Thu, 27 Mar 2003 15:29:32 +0000
Subject: RE: [SMARTY] XML+XSLT or Smarty?
References: 1  Groups: php.smarty.dev php.smarty.general 
Request: Send a blank email to php-smarty-dev+get-1039@lists.php.net to get a copy of this message
You can use both. For example you can have an XML representation for some objects and use XSLT to render the object in different presentations. You can also have a set off different Smarty templates for presentations and use the proper XML transformation depending on the presentation being used. A possible idea is to use Smarty for all the layout and pages in your site and XML+XSLT for displaying objects in your pages. For example you can have an XML document representing an "article" and use XSLT to transform the article to HTML, WML or say PDF. There're many options. What I wouldn't do is to use XML+XSLT to generate HTML pages for your site or application that's usually hard to maintain, a Smarty template is much simple and easy to maintain than an XSLT transformation. -----Original Message----- From: Hardik Doshi [mailto:php_hardik@yahoo.com] Sent: Thursday, March 27, 2003 12:13 PM To: Smarty General; Smarty Dev Subject: [SMARTY] XML+XSLT or Smarty? Hello Everyone, I am writing a PHP based student management portal and library management software for one graduate college. I am looking the possibility of using template engine in my web based applications. After initial research i come with two ideas namely Smarty template engine and XML+XSLT technology. Now i need feedback from Smarty template community about advantages of smarty over XML+XSLT or in either way. Please guide me in proper direction based on your experience with above two different template engines. Thanks in advance. Hardik Doshi __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.dev (#1039) next »