3 ms·
IMO, Django's great if you want to make something regularly published (i.e., blog, news site, etc.). But you have to get creative quickly if you want to do some
by josephmosby 14y ago
IMO, Django's great if you want to make something regularly published (i.e., blog, news site, etc.). But you have to get creative quickly if you want to do something else.
I eventually jumped to doing more webapp2, and I know there's a devout Flask community as a Django alternative. Haven't played with enough Flask to say anything yea or nay for beginners, though.
- jspiral 14y agoI have built real applications in rails and django, and find them to be fairly similar in philosophy and power. What would be an example of something you encountered with django that required getting creative quickly, that rails handles more routinely? For me, the trickiest thing in either ecosystem to get a handle on was probably rspec. I tried to learn it by osmosis and that was probably the wrong way to go. In the end, it's worth having a DSL for writing tests and leads to nice clean readable code. When people are trying to learn rails, I point them to Rails 3 in Action and Michael Hartl's online tutorial, but still need a better reference for learning rspec. suggestions are appreciated.
- clicks 14y ago> and I know there's a devout Flask community as a Django alternative Really? Tell me where the Flask community is. I actually regretted my decision of choosing Flask over Django after 2 months of working with it precisely for that very reason. You can find tons and tons of tutorials, docs, writings about best practices from others, crowded IRC discussions, etc. for Django -- not so for Flask. But maybe I'm mistaken? I'd love it if you clue me in as to where all the Flask people are hiding.
- slurgfest 14y agodid you look at #pocoo on freenode?
- dvanduzer 14y agoI'm not sure what you're looking for in a crowded IRC discussion. The signal/noise ratio in #pocoo is quite good. Stop by sometime.
- equilibrium 14y agoThis is a good and comprehensive tutorial for beginners in Flask, http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-...
- yen223 14y agoThe way I see it, Flask is a library, while Django is a framework. Flask only serves to handle requests. Flask doesn't impose a design architecture on the webapp, which makes it a great way to turn any module into an online API. On the other hand, Django's 'batteries included' philosophy means you can deploy a generic CMS application very quickly.