What language/framework would be suitable for a new lightweight API project?
11–20 of 30 posts
Re: What language/framework would be suitable for a new lightweight API project?
#12Re: What language/framework would be suitable for a new lightweight API project?
#13Re: What language/framework would be suitable for a new lightweight API project?
#14If you're just using HTTP auth then try Sinatra. You could probably whip up something viable in 50 lines.
Sinatra looks very straight-forward. Checking out the repo on GitHub now, and it looks great! I will probably do some sort of token-based auth. The app will eventually integrate with Ember.js.
Re: What language/framework would be suitable for a new lightweight API project?
#15I would suggest node.js - it makes it really easy to not shoot yourself in the foot. The async nature allows for concurrency, something you can't easily archieve with e.g. ruby and python. And while you are at it, try out hapi.js: http://hapijs.com/ - my favorite tool for writing request proxies (which i do for a living :D )
Re: What language/framework would be suitable for a new lightweight API project?
#16I would suggest node.js - it makes it really easy to not shoot yourself in the foot. The async nature allows for concurrency, something you can't easily archieve with e.g. ruby and python. And while you are at it, try out hapi.js: http://hapijs.com/ - my favorite tool for writing request proxies (which i do for a living :D )
https://www.youtube.com/watch?v=bzkRVzciAZg
Re: What language/framework would be suitable for a new lightweight API project?
#17Re: What language/framework would be suitable for a new lightweight API project?
#18You probably know about django-rest-framework, which I find to be absolutely awesome. I wouldn't look further --- sooo much batteries the API will practically write itself ;)
Re: What language/framework would be suitable for a new lightweight API project?
#19I haven't used Flask (or Python) aside from one small hack project. It seemed simple and straight forward enough, and very similar to Ruby's Sinatra framework. Personally in Ruby I would most likely pick Sinatra, in Python I'd pick Flash or something similar. However if you wanna play with languages you're less familiar with, I'd recommend Go, or Node.js. Personally I find Go really interesting as it's quite differen…