Wednesday, October 18, 2006 12:56 AM
So after reading that Data 2.0 thing I got to thinking about "URI based method calls"(?)
So with Ruby on Rail's ActiveResouce you get some nifty urls that you can call that look like this:
"/groups/1;add_user?user_id=2"
By executing this URI (assuming you are authenticated of course) you would tell the object "group/1" to execute the method "add_user" with the parameters "user_id=2". How cool is that?
Now this is NOT how you would do day-to-day programming but for remote data calls I really like this style. You can tell test in in the browser and call it in code. I like that.
Mostly, I think this is tech lust because I really like REST, and I really like MonoRail / MVP.
*sigh* How can I combine all of this gooey goodness?