Hear Hear (or is it Here Here ?)!! Either way, I've been playing around with Orb-JSON and I've been making some pretty cool things (to me at least). After reading the XMLHttpRequest book for Rails, I think that with some relatively minor tweaking one could create an entire mini-framework for this kind of 'Ajax' (AJYL | JYLA | ... )/Rails design. Also, as was suggested, why don't we just start a Rubyforge project for useful JavaScript stuff that can be integrated/useful for users of the popular Ruby web frameworks. ...... Ok, I just submitted a rubyforge project for this. It should be up soon. May the J-A-X-A rain supreme! -Shalev On Feb 25, 2005, at 11:44 PM, Dion Almaer wrote: > > It doesn't have to be Rails specific, of course. However, I think it > would > be nice to get all the ideas out there for both client side, and > server side > handling. > > It feels like a lot of people are running around with their own set of > .js, > and "rules". I think we have a chance to take all of the good ideas, > come up > with a great set, and work together to allow us to make developers > lives > easier in the world of Ajax too (which other communities try to get > organizations together to specify it ;) > > Cheers, > > Dion > > -----Original Message----- > From: Curt Hibbs [mailto:curt / hibbs.com] > Sent: Friday, February 25, 2005 6:56 PM > To: ruby-talk ML > Subject: Re: [OT] Ajax: A New Approach to Web Applications > > James Britt wrote: >> >> Curt Hibbs wrote: >>>> >>>> Ps. Maybe there should be a sub-project of Rails for components >> like this. >>>> There is a core framework piece, where you can specify standard XML >>>> responses which the client side grabs as a DOM and does certain >>>> things (runs Javascript functions, twiddles content in the DOM, adds >>>> into >> the DOM, etc >>>> etc). I would love to work on this with people. >>> >>> >>> I don't know of anyone who is working on this in Rails (if I'm >> wrong, maybe >>> this statement will bring them out into the light!). >>> >>> You should go ahead and create a RubyForge project for this and >> then invite >>> other interested developers to join you. I would do so myself >> if I weren't >>> already juggling too many Ruby "balls" along with my day job. >> >> I'd rather not see anything tied to Rails, but an >> framework-independent lib that Nitrons and Wee'ers and Railers and >> whomever can adapt for their needs. > > That would be even better! > >> What I have right now (and mind you, most of this is mostly hooking >> together the good work of other people) lets you include a module in a >> WEBrick server and register services/classes. These services are then >> callable using JSON-RPC from a JavaScript client using a nice >> JavaScript lib designed for some Java stuff I came across. >> >> The client code you write yourself never messes with JSON or >> XmlHttpRequest. It calls server-side objects using their method names >> as i they were local objects, and gets back JavaScript objects >> courtesy of JSON serialization. >> >> The server-side code need not know anything about JSON or JavaScript. >> The objects returned to the client from server code are serialized >> using Florian's code. >> >> Anyway, with any luck I'll have enough cleaned up such that I can >> start a RubyForge project this weekend. > > I'm so thrilled... really! And it looks like David has an interest > (and some > existing code) as well. Once you get it up on RubyForge then, as David > said, > we can "huddle around this". > > Curt > >> I've only been using it via WEBrick, so I need to see what one has to >> do to get it to work with CGI, etc. See that it isn't coupled to any >> particular server tech. >> >> >> James >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005 >> > >