Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Ruby on Rails 2.0: Give Yourself a REST

rubyonrails.jpgRuby on Rails, the web application framework that helped jump start web 2.0, has itself reached 2.0 with a slew of improvements, security enhancements and a new reliance on REST instead of SOAP for web services.

Ruby on Rails 2.0 features some nice language improvements like and ability to use slash notation for custom methods, which makes code much cleaner and easier to read, and some new security enhancements that add phishing protections to guard against various cross-site scripting attacks. But the big change in Rails 2.0 is the move from SOAP to REST.

Both SOAP and REST are standards for grabbing data from web services, but REST has been growing in popularity as a simpler, easier way to grab data, which fits with the agile philosophies of Rails developers.

David Heinemeier Hansson, the creator of Ruby on Rails, tells InfoWorld, “we feel that [SOAP is] overly complicated. It’s been taken over by the enterprise people, and when that happens, usually nothing good comes of it.”

Other noteworthy changes in Rails 2.0 include a new AtomFeedHelper for creating Atom feeds, serialization for JSON, a much improved debugger and the ability to declare “fake” types that are only used for internal routing — useful if you’re looking to create a special interface for something like the iPhone.

There’s far too much new stuff Rails 2.0 to cover it all here, head over the Rails site for more details and to download the new framework.

See Also:

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year