I have been using JSON for communicating to SWFs as well as javascript , and I think it is great. Using the simple libs people have already written you can go straight to an object, rather than parse xml.
As to communicating, to be honest since I usually build simple, straightforward applications and have never really needed anything beyond a get/post and the response. Especially using stuff like Django where you can tweak your urls, I have always found it easy to have anrequest be something like: /customers/edit?id=5&name=Joe with a response in text, json or xml (or customizable via the url if you are feeling motivated!). A great example of this is the google geocoder api, where you can just query: http://maps.google.com/maps/geo?key=YOURAPIKEY&q=the+address+string&output=csv then, in python it becomes a matter of rcode,zoom,lat,lng = urllib.urlopen(theaboveurl).read().split(',') easy as py! -Nikolaj On 11/17/06, Paul G. Allen <[EMAIL PROTECTED]> wrote:
On Fri, 2006-11-17 at 10:03 -0800, Bob La Quey wrote: > > I am finding the arguments for REST simply blow away > the complexity that has become associated with Web Services > or if you prefer Web 2.0 without losing any real power. I also > find that selective and careful use of AJAX (actually with JSON > rather than XML) is a very good fit to my purposes. > > Comments? > I haven't looked at your links yet, but I will make a comment as to what I am doing for our web app. Basically, I'm automating several of our processes and making them available via our web site. Our entire Customer Service department will be automated in that customers will no longer have to talk to a person for simple answers, tracking orders, solving problems, getting documentation and files, etc. In addition, I have the ability to expand the system to other departments - sales, finance, etc. The application also includes administration tasks and and tasks for manufacturing. I am using Apache and Tomcat which means the web app is a combination of Java and JSP, MySQL 5.0, and for developing the whole thing I'm using the Sun Studio Enterprise IDE. Version control is tied into it with Perforce as the IDE has a Perforce plugin and I only need a single Perforce seat (Perforce comes free with two user capability and 5 client workspaces). The IDE also supports Subversion, CVS, and other systems. So, everything is free, well supported, well tested, secure, fast, and reliable. Oh, and of course it runs on Linux. :) Since all my other applications - the main one being our production software loader - are written in Java and use MySQL, it all goes together nicely. It'll work on any platform (with the exception of the really crappy way M$ handles IO interrupts), and the web app plays very nicely with the other Java apps. In addition, it'll work nicely with most ERPs and other systems that can transfer data using DOM and XML (since there is a Sun Java package for dealing with XML). PGA -- The information contained in this e-mail message is confidential, intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please contact [EMAIL PROTECTED] Paul G. Allen Software Engineer BSIT/SE Quake Global, Inc. 858-277-7290 x285 -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
