RE: [OT] JS/AJAX toolkits evaluation
RE: [OT] JS/AJAX toolkits evaluation
- Subject: RE: [OT] JS/AJAX toolkits evaluation
- From: Andrew Lindesay <email@hidden>
- Date: Mon, 28 May 2007 07:39:17 +1200
Hello Bruce;
I looked at DWR and was impressed, but I hate sending XML back and
forth, so
when I had the need for an RPC-like mechanism in a production
application, I
used JSON-RPC. It took about 15 minutes to figure out and set-up
and worked
very well. It let me throw out all the Java code I was using to
build JSON
objects with Doug Crockford's JSON classes (which JSON-RPC is built
on top
of) and go from Java to JSON and back pretty much transparently.
I've written a JSON-RPC request handler for WO if you are interested...
http://homepage.mac.com/andrewlindesay/le/page_lestuff.html
See the "overview PDF" and look for "JSON". It has its own formatter
which can serialise EO-s and GID-s as well as deserialise GID-s.
It's used extensively in my projects as a general RPC system. There
is also a capacity for it to work on regular components as well in a
way in which it can be used for "AJAX" stuff -- although I have made
limited use of it in this capacity so far.
I also have a client library for Cocoa (production use), J2SE (no
production use) and for JS (limited production use) wherein each of
these is also able to deserialise EO-s and serialise GID-s.
Anyway; with all care and no responsibility -- help yourself.
cheers.
___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden