4 ms·
If more people did proper restful applications, perhaps there would also be proper libraries for interacting with them? Perhaps something that looks like this (
by jamie_ca 17y ago
If more people did proper restful applications, perhaps there would also be proper libraries for interacting with them? Perhaps something that looks like this (with a ruby flavor):
RestfulApi.new('http://api.twiddla.com/ http://api.twiddla.com/, :user => 'billy', :password => 'ILikeRainbows').post('Meetings')
- psadauskas 17y agoYes, exactly. I've written a (rough) DataMapper adapter for interfacing with them. class User include DataMapper::Resource resource_name "AllUsers" # define some properties end User.first(:login => "admin") http://github.com/absperf/dm-ssbe-adapter/tree http://github.com/absperf/dm-ssbe-adapter/tree