4 ms·
When I started flirting with Ruby and Rails for building a web app backed by a JSON API, DRF is what convinced me to stick with Django. It has a ridiculous amou
by ralmidani 10y ago
When I started flirting with Ruby and Rails for building a web app backed by a JSON API, DRF is what convinced me to stick with Django. It has a ridiculous amount of built-in functionality, but without making it hard to customize your API. If you haven't used DRF, you really owe it to yourself to give it a try.
I can't wait to see support for real-time views. Is that in the cards for DRF 3.6?
- sandGorgon 10y agodrf and ruby on rails are apples to oranges. you should probably compare django and rails. drf is usually compared to sinatra.
- ralmidani 10y agoIf you're looking at Django alone, Rails has more functionality for building APIs. DRF is the package that makes Django on par with (in my opinion, better than) Rails. I see Sinatra as more similar to Flask than DRF.
- ergo14 10y agoI think that for API building pyramid is the way to go - it has a lot of built in goodies to support api building + there are things like cornice by mozilla or pyramid_swagger.