Ask HN: python or ruby for REST API creation
Hi there
I want to build an REST API for a service, which may have some functions taking files as input parameters. (I want to HTTP Post them from client. of course this is example functionality, it will be more than that inside..). I am really good at .NET (with c# specifically) technologies but i really find it pain in ass when it comes to REST based API creation. Besides, i want to learn a dynamic language and platform, to use on my personal (until being proficient) projects.
My question is, which platform/language/technology do you suggest? There is python and ruby or my mind. But if you have other suggestions, i will be only glad to listen them..
Thanks!
7 comments
[ 3.2 ms ] story [ 30.4 ms ] threadhttp://www.amazon.com/Service-Oriented-Design-Rails-Addison-...
I ended up creating my own controller class inherited from the normal controller class. Basically I had to set the 'Index' method to scoop everything and then manually detect the HTTP VERB and MIME type of the incoming request and then pass the request along accordingly. Quite nice solution, even built all the error handing and logging into the new class. Makes creating a new end point a dream.
Although I haven't tried yet I pretty sure doing this method will be handle webdav requests as well.
http://groups.google.com/group/django-developers/browse_thre...