a software providor of ours wishes to switch to xsl templating from php/mysql/smarty.
i have grasped the basics and had a look at the templates he already uses in another app.
at the moment we:
1) select data from database
2) run the php script to organise the data
3) echo the data in the smarty templates
if i understand correctly, if we switch to xsl templates we have to
1) select the data from the database
2) run the php script to organise the data
3) use this data to generate the xml
4) echo it out using xsl
this doesn't seem to me like a positive gain - rather an extra step. have i understood correctly?
are there any benefits to be gained by doing it this way?
many thanks