Published 2004-07-25 11:02:53

Seeing mention of XML_XUL, the PEAR package on a few blogs and in PHPMag, I thought it might be worth mentioning that I did evaluate using it for a project a while back. At that point, the code was not mature. However, It was already clear that the concept behind it is pretty flawed.

XML_XUL, offers a couple ways of working
a) Read a XUL file, convert it into Big tree of XUL Elements, Manipulate it, then render it.
b) Start from scratch, building the whole tree manually PHP, and render


Both of these have huge memory issues, a) has performance issues of often needless requiring the parsing of XML. b) has a fatal flaw in that it totally obliterates the potential to wysiwyg edit the application.

In the end concluded that using the Flexy engine, was far more efficient, as we could prototype the look and feel (and easily make major changes late in the design process) without having to mess around with the code to much. (It's also mindblowingly faster).

It did not however go without having to make a few additions to Flexy.
a) allowing "<html:input" with Flexy's Element parser (so we could do file upload in XUL)
b) using id="this_is_a_tag" and being able to compiler and render parts of a file using the id tags: $flexy->compile("template.xul#this_is_a_tag);
c) Quite a few XML parsing additions to the Tokenizer (<?xml-stylesheet....)

While XML_XUL remains cute (and may even provide a reasonable way to add XUL elements to a Flexy Template) , I do ponder if just the ability to use the PHP DOM extension along with Flexy may be far more powerful, and doesnt involve learning a whole load of API's. - Time which is far better spent learning Javascript/W3C/PHP DOM (which are all pretty much identical).


Mentioned By:
google.com : php xul (216 referals)
google.com : xul file upload (144 referals)
google.com : april (66 referals)
google.com : xul upload (55 referals)
google.com : december (39 referals)
google.com : xul php (39 referals)
google.com : xul upload file (32 referals)
google.com : XUL and PHP (24 referals)
google.com : xul clear tree (19 referals)
google.com : xul fileupload (19 referals)
google.com : Tree XUL (17 referals)
google.com : site:www.akbkhome.com xml_xul (14 referals)
google.com : upload XUL (12 referals)
google.com : file upload xul (10 referals)
google.com : file upload with xul (7 referals)
google.com : clear tree xul (6 referals)
google.com : compiler xul (6 referals)
google.com : File Upload in XUL (6 referals)
google.com : php xul parser (6 referals)
google.com : xul javascript code for file upload (6 referals)

Add Your Comment