Json

TwitterFacebook
Get flash to fully experience Pearltrees
We Recommend These Resources In this first part I will show you how to build RESTful services using Rails. REST is an architectural style modeled after the Web. Basically, it codifies the principles and methods behind Web servers that lead to the creation of the largest distributed system ever built.

REST With Rails Part 1 | Ruby Zone

http://css.dzone.com/news/rest-with-rails-part-1

Rest With Rails Part 2 : Serving XML, JSON and Atom | Ruby Zone

http://css.dzone.com/news/rest-with-rails-part-2-serving We Recommend These Resources In part 1 of REST with Rails we had an introduction to creating RestFull services with Rails. In this article we will be looking into serving this content using different representations including XML, JSON and Atom. Every resource has a representation, in fact, a given resource can have more than one representation.

JSON + Ajax + Ruby on Rails

While I would love to be using E4X, it isn't viable yet. So JSON it is. Here is how I got a simple JSON example working with Ruby on Rails over Ajax [1] . I'll assume you have a Rails project up and running with at least one model, controller, views etc. First you want to install the JSON gem ; gem install ruby-json http://pmwjournal.blogspot.com/2006/03/json-ajax-ruby-on-rails.html
http://www.nicosphere.net/exemple-avec-jquery-json-et-ruby-on-rails-3-2338/ Exemple de base Json, JavaScript Object Notation, et un format de données couramment utilisé dans les applications web, et est largement implémenté dans tout les langages courant. Un petit aperçu de l’usage qu’on peut avoir de json avec Ruby on Rails .

Exemple avec jQuery, JSON et Ruby on Rails 3