Generating XML from a Mysql DB with PHP's DOM functions (part Two)
View Single Post
12-08-2007, 12:26 PM
Join Date: Oct 2007
Location: Manchester, UK
sorry i havnt posted in a while, work is taking up all my free time atm :(
Yea i thought the same Karl, when i first looked at it i was using the browser to do the transformation, it was a cool idea but I too just brushed it aside as being IE unfriendly, but then i found the PHP XSLT functions, i am certainly gonna use it more in the future, i think its real use is probably gonna be more like a page cache or something because (i havnt tested speeds) but im guessing it takes up more server power than normal php/html to create 'on the fly' so to speak.
I do kinda agree with Salathe about the extra layer of abstraction, but that said, it does make it very easy to maintain in my opinion, you have another layer of functionality and lets be honest it does separate php from html, something that some people consider to be the holy grail.
We'll have to get some test data so we can see how this technique performs. Well, I say we... *looks at sketch*
hehe, when i get some spare time i certainly will, its a very powerful technique and i think it deserves a proper test.
Anyway im glad you guys found it useful
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia