JMP205 AJAX and JSON for IBM Lotus Domino Applications
Asynchronous JavaScript and XML (AJAX) and JavaScript Object Notation (JSON) are among the hottest technologies in Web application development today. Beginning with the release of Lotus Notes 7.0.2, Lotus Domino can natively serve up JSON to web browsers and, more importantly, to AJAX-enabled applications. In this session, you’ll learn how to leverage both these important technologies in your Lotus Domino Web applications to make them smarter, faster and easier to build.
Scott Good delivered a very good (what a pun!) session on JSON and AJAX, starting with JavaScript variables, slowly picking up onto JASON and then covering AJAX and how you couls use it with Domino even with older Domino versions.
- Beginning with Domino 7.0.2, you can get JSON from web views /ViewName?ReadViewEntries&OutputFormat=JSON
- myAjaxReq = createAJAXRequest(theURL, theFunctionToRun); allows for parallel AJAX calls without the calls overwriting each other
- var jsonObject = eval(ajaxReq.responseText);
- Where all can you get JSON from Domino?
- Notes Views
- Using ?ReadViewEntries&OutputFormat=JSON
- Notes Views
- Custom JSON objects
- Notes Pages
- Notes Agents
- JavaScript Libraries
- JS Header
- Computed Text or field in the form
What I did like
Great session, lots of short, well conceived and delivered demos. Small, understandable code snippets. Scotta showed a few concepts I will think about implementing myself.What I did not like
What if you don’t have JavaScript? Than you are technically screwed.I don’t like that apporach. There are several legal and technical reasions, why a web app should work even without JavaScript. The fact, that the browser back-button usually doesn’t work with JavaScript isn#t a problem for Scott, but my experience with users tells me differently.
Tagged as: Lotusphere, Lotusphere2008, review, session | Author: Martin Leyrer
[Montag, 20080121, 04:54 | permanent link | 0 Kommentar(e)
Comments are closed for this story.