The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Railsconf 2006

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
rodney ramdas

Posts: 66
Nickname: pinupgeek
Registered: Jun, 2006

Rodney Ramdas is a de-enterprised Ruby on Rails developer from the Netherlands.
Railsconf 2006 Posted: Jun 25, 2006 2:43 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by rodney ramdas.
Original Post: Railsconf 2006
Feed Title: pinupgeek.com
Feed URL: http://feeds.feedburner.com/pinupgeek
Feed Description: A personal take on Ruby and Rails
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by rodney ramdas
Latest Posts From pinupgeek.com

Advertisement

So, I’m about to board my plane back home. Railsconf 2006 was great. I met a lot of interesting people. I’m sure you’re going to hear a lot from other faithful bloggers about Railsconf (the amount of macbooks and macbook pro’s was astonishing and there’s nothing like the sound of a hundred keyboards blogging live and direct).

Major hotness to come out Railsconf you ask ? Ha, how about why’s Balloon ?

And ofcourse: DHH announced ( and almost immediately released) ActiveResource. ActiveResource takes CRUD to the next level basically by applying crudness to http. If that doesn’t make immediate sense have a look at this:

Person = ActiveResource::Struct.new do |p|
  p.uri "http://www.example.com/people" 
  p.credentials :name => "dhh", :password => "secret" 
end

Here David sets up a Person as a struct to a uri that aparently needs some credentials as well.

Next you can use that Person as a crud resource:

david = Person.new(:name => "David")

# GET http://www.example.com/people
# David
# => Location: http://www.exapmle.com/people/2

david.find(:name => "David")

# PUT http://www.example.com/people
# David Heinemeier Hansson
# => (200 OK)

david.save

class ActiveResource::Base
  uri "http://www.example.com" 
  credentials :name =>"dhh", :password => "" 
end

While you guys ponder this and ofcourse start to create the most agile webservices ever I’ll try to sleep on the plane. See you on the other side in a bit. I expect at least an Amazon ActiveResource waiting there for me …. (I’m particulary interesting in crudding Amazon wishlists and S3).

Read: Railsconf 2006

Topic: On IDEs and Consoles Previous Topic   Next Topic Topic: 1er. Aniversario de LaCaraOscura.com

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use