[thelist] Web Development -- Presentation vs. Content

Raditha Dissanayake jabber at raditha.com
Sat Oct 11 09:03:06 CDT 2003

Hi Beau,

Dozens of times. The most recent was when we built a directory using the 
ODP rdf dump. Whenever i need to parse xml and produce an html output i 
always try to use XSLT instead. Let's take this offline and discuss 
don't want to blow my own trumpet in a list.

The reason that XSLT probably hasn't found as wide a usage as it should 
with PHP is because of several inconsistencies in different versions of 
PHP --with-xslt support.

best regards

Beau Hartshorne wrote:

>This sounds great. It would separate presentation and content. But have
>you ever tried to implement it? That's usually how I find out if
>something really is as elegant as it sounds.
>Here's an article that I read several months ago on this topic:
>It all seems fairly straightforward. So what don't the PHP folks like
>about this?
>>If your biz logic produces it's output in XML and your presentation 
>>layer uses XSLT that gives you tremoundous flexibility to play around 
>>with your presentation or your lower tiers without effective 
>>the others.
>>For example if today you build your site with HTML and later 
>>on you need 
>>to adapt to WML, CHTML or other kind of markup all you need to do is 
>>create a new XSL without changing any of the other components.

Raditha Dissanayake.
http://www.radinks.com/sftp/          |  http://www.raditha/megaupload/
Lean and mean Secure FTP applet with  |  Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB  |  with progress bar.

More information about the thelist mailing list