tag:blogger.com,1999:blog-1417695962027703953.post8828433228904361585..comments2023-07-22T06:31:36.200-04:00Comments on WebSphere Community Blog: The pain of XML in Web 2.0Terry Bleizefferhttp://www.blogger.com/profile/14053000030795260150noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-1417695962027703953.post-14426864298852545132010-03-04T16:48:23.498-05:002010-03-04T16:48:23.498-05:00@Anonymous re: Zorba
I don't think Zorba'...@Anonymous re: Zorba<br /><br />I don't think Zorba's JSON support really adds much to the situation I described -- trying to address XML data from the popular JavaScript Web 2.0 libraries. As I mentioned in the article, the Web 2.0 Feature Pack provides something similar on the server side, but I was trying to look at ways to do this under Web 2.0 libraries in the browser.Andrew Spykerhttps://www.blogger.com/profile/11842707696430474242noreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-42107110696132430922010-03-04T14:49:56.695-05:002010-03-04T14:49:56.695-05:00The Zorba XQuery Processor provides a JSon seriali...The Zorba XQuery Processor provides a JSon serializer and functions which automatically transform XDM to JSon(ML). See http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/converters.html for more information.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-63959673552566027842010-03-04T14:31:32.755-05:002010-03-04T14:31:32.755-05:00@Joel
I think its less about enterprise vs. consu...@Joel<br /><br />I think its less about enterprise vs. consumer space. Its more about if you're looking at the problem top down or bottom up. I think if you start by developing the presentation and drive that down, you'll be sending JSON and likely adapting that data to whatever enterprise data exists. If instead, you already have a well established data model and are adding a presentation interface, you would like to send parts of that data to the client and process it with a similar data model as the existing data. However, due to the pain, you can't and you end up creating not only an enterprise set of services for interconnecting servers, but also another set of services that "transcode" the full data model to the subset needed in the presentation.Andrew Spykerhttps://www.blogger.com/profile/11842707696430474242noreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-15743567082641413482010-03-03T00:49:46.191-05:002010-03-03T00:49:46.191-05:00It's very possible the enterprise space is a l...It's very possible the enterprise space is a lot different from the consumer space, but I don't know anyone that's developing RIAs and sending XML to the browser - most are sending JSON. I think I'd rather write a streaming XML->JSON transcoder and front my documents that way, as dealing with XML in the client is a PITA even with the help of Dojo/jQuery.<br /><br />And you make a good point that using one of those libraries really is like learning another language - it takes a definite time investment to understand those libraries and use them well enough to avoid pitfalls.Joelhttps://www.blogger.com/profile/06539394257594035385noreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-36456679570322553912010-03-02T15:23:32.356-05:002010-03-02T15:23:32.356-05:00Another conversation on this blog on XMLToday.org:...Another conversation on this blog on XMLToday.org:<br /><br />http://www.xmltoday.org/content/pain-xml-web-20Andrew Spykerhttps://www.blogger.com/profile/11842707696430474242noreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-68395795853920392552010-03-01T10:53:31.145-05:002010-03-01T10:53:31.145-05:00Interesting related discussion:
http://n3.nabble....Interesting related discussion:<br /><br />http://n3.nabble.com/Using-dojo-query-with-XML-files-td419926.htmlAndrew Spykerhttps://www.blogger.com/profile/11842707696430474242noreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-49063235300495600602010-03-01T10:17:11.297-05:002010-03-01T10:17:11.297-05:00@Anonymous
Yes. I intend to talk about other opt...@Anonymous<br /><br />Yes. I intend to talk about other options outside of JavaScript libraries eventually. However, while XQIB might make this better its not available by default in every browser (as JavaScript is):<br /><br />From http://www.zorba-xquery.com/index.php/xquery-in-the-browser-xqib/<br /><br />"XQIB is a browser plugin which embeds Zorba"Andrew Spykerhttps://www.blogger.com/profile/11842707696430474242noreply@blogger.comtag:blogger.com,1999:blog-1417695962027703953.post-8515570431075971332010-03-01T09:33:25.499-05:002010-03-01T09:33:25.499-05:00As far as I understand, XQuery in the Browser (htt...As far as I understand, XQuery in the Browser (http://www.xqib.org/) would solve the problem.Anonymousnoreply@blogger.com