Hi Everyone,

Thanks to community for previous answers

I want to know more regarding XML+XSLT technology to
seperate presentation layer from the business logic.

First let me explain on which tools i am currently
working on. I am basically using PHP, MySQL and Apache
on Sun Solaris environment. Using these tools i am
developing mid to large web based applications.
Currently i am not using any kind of template engine
to seperate my presentation layer from business logic.
Now i am looking for the recommendation from PHP
community about template engine system. Along with
that i am also reading XML+XSLT as well as Smarty
resources from the web. 

During reading of XML+XSLT and Smarty, i have
following two questions.

1. Currently i am retrieving information from the
MySQL database and iterating result set using PHP
code. Now with the use of XML+XSLT i have to retrieve
information first as an XML document and then XSLT
renders the XML document using PHP. Am i right? If i
am correct then i am concern for resources which are
going to use on Server side. (For example: Using
XML+XSLT i have to create XML document and that could
be extra step) In smarty actually you don't need to
create secondary storage. So is it worth to use
XML+XSLT in medium to big web application with
considerable trafic?

2. Smarty has compiled once technology means all the
templates and php files are compiled only one time
unless if template or php file changes. While in
XML+XSLT, everytime server needs to process certain
actions (Database to XML and XSLT parsing) So again is
it worth to use XML+XSLT if you are concern for speed?


Actually i dont know much about Advantages of XML+XSLT
in web based application. What i know is Smarty's
advantages. So if you have any idea then please let me
know. I am more and more concern for perfect selection
of template engine.

It would be nice if anyone can share XML+XSLT
development with me.

Regards,
Hardik Doshi

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to