View Single Post
Old 11-10-2009, 12:24 PM   #3 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 841
DJMaze is on a distinguished road
XML Parser doesn't need a whole document, it can parse in chunks.
First you parse a header.html, then some modules and blocks and then the footer.html
At the end you eval() the whole document (the TAL/XSLT is converted to PHP code).
So, modules can still add/remove any headers (CSS, JavaScript, meta and link).

And yes, you need to make API calls (which makes it slower).
But, how easy is it to design a Drupal website where html is not seperated from code?
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote