Monday, March 14th, 2005

Orbjson Ruby Intro Article

Category: Ajax, HTML, JavaScript, Ruby, XmlHttpRequest

James Britt has written an article titled Getting started with Orbjson (PDF).

Orbjson is a JSON-RPC object request broker for JavaScript/Ruby RPC interaction.

Communication between client and server is done using JSON, the JavaScript object notation

Orbjson takes JSON-RPC requests, locates the correpsonding server-side object, deserializes the requrst, and invokes the method call.

Orbjson then takes the results of this invocations and sends it back to the client as a JSON-RPC response.

The paper is a walkthrough of creating a Google Suggest-esque system with Ruby on the server-side.

A lot of the client-side JavaScript is written for you, and you just have to write some glue code to put it all together.

At the end of the day you get access to an ORB, and then when you call a method, it talks over to the server and calls the related method there.

A nice tutorial.

Posted by Dion Almaer at 7:06 pm

4.1 rating from 17 votes


Comments feed

what is meant by html

Comment by karthikeyan` — January 6, 2006


Comment by karthikeyan` — January 6, 2006

HTML stands for Hyper Text Markup Language.

Comment by taheal — November 27, 2007

Leave a comment

You must be logged in to post a comment.