Hello, Doron Rosenberg has written up ideas on how to improve templates and data binding in XUL 2.0.
Doron writes: XUL 2.0 need to provide an easier way to consume commonly used datasources and provide the developer a single way to query and access the data, independent of the type of datasource. The most used datasources currently are raw XML (either static XML files or dynamically generated) ones, SOAP-based web services and native datastructures. SOAP-based web services already hide the fact that XML is used and the developer only has to deal with native datastructures, allowing us to combine the later two. A XUL 2.0 element could be introduced for this, and be referenced by other XUL elements or code to communicate with the datasource. Accessing the results of the datasource should probably be the same, no matter the type of web service. Since raw XML datasources need to be supported, it makes sense to use XPath, which provides a well defined and documented way to access XML documents. A subset of XPath could be applied to native datastructures (/class[member='foo']), and would be easier than having to create a new language with the same power of XPath on XML documents. Creating a new language that is simpler than XPath might help newcomers though. More @ http://www.nexgenmedia.net/docs/ds.html What's your take? Do you think XUL Datasources and Templates need to get reworked? - Gerald ----------------------- Gerald Bauer Rich Client Conference (RichCon) 2005 - http://richcon.com XUL News Wire - http://xulnews.com XUL Alliance - http://xulalliance.org ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ xul-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xul-talk