mardi févr. 27, 2007

It has explanations on how to configure the XMLHttpProxy (using the /resources/xhp.json file) and configure web.xml for proxies to bypass the limitations in my post. Also, it doesn't use Roller-generated JSON but rather an elegant XSL tranformation to move from RSS to JSON. Note Yahoo pipes can generate JSON. Try with Arun's GlassFish aggregation pipe.

lundi janv. 15, 2007

Building on Dave Johnson's Roller/JSON
post I wrote a simple application consuming Roller-generated
data using the jMaki
framework and NetBeans
5.5. jMaki, as any framework in the AJAX space, consumes JSON
data and provides a wrapper technology around existing AJAX components.

From NetBeans 5.5 with the jMaki plugin installed (get it from the
Update Center), I simply created a Web Application with jMaki as the
framework, dropped a DOJO
table and changed it's service attribute to
the URL generating to JSON data (actually I had to copy/paste the data
so that it was available from the same domain) and run the application.
Pretty simple and I didn't see a line of JavaScript.
Here's the simple jMaki tag from the JSP source :

Update: the JSON content should really be using double quotes and ideally not end with a trailing comma (and your blog post titles shouldn't use double quotes :)
Update 2: the answer to my initial questions (different domains requiring me to copy paste JSON content in the video to workaround security constraints, quite ugly) are all described here. Sorry I didn't update the screencast.