Ask HN: Framework for REST
3 comments
I've had a lot of luck writing RESTful JSON APIs for mobile Apps with the Slim Framework [PHP]... lightweight and easy to use
http://www.slimframework.com/
http://www.slimframework.com/
What do you use for database access? It doesn't have a built-in ORM like many of the other frameworks, as far as I can see.
Sinatra is great for simple REST APIs. Throw in ActiveRecord (or DataMapper, but I prefer ActiveRecord's migrations), and RABL and it would be perfect for making small APIs for single-page apps.
What I'm looking for is a framework that is fast and simple and preferably isn't bogged down by a lot of code aimed at outputting HTML, since I'll only need JSON.
I'm going to use the REST service in connection with single-page apps built with AngularJS.