3 ms·
Also worth checking out is the Flask microframework. Setting up a simple static site with basic routing is ridiculously simple: http://flask.pocoo.org/docs/qui
by mcjiggerlog 13y ago
Also worth checking out is the Flask microframework. Setting up a simple static site with basic routing is ridiculously simple:
http://flask.pocoo.org/docs/quickstart/ http://flask.pocoo.org/docs/quickstart/
I used it in conjunction with Bootstrap and Heroku to throw a personal site together in an evening, following this tutorial:
http://www.shea.io/lightweight-python-apps-with-flask-twitter-bootstrap-and-heroku/ http://www.shea.io/lightweight-python-apps-with-flask-twitte...
- collyw 13y agoIts not that difficult to set up a Django site once you have done it a couple of times. What am I missing by not knowing Flask?
- emidln 13y agoFlask doesn't make as many decisions for you as Django does. Some things that come bundled in Django are packages in Flask. A lot of the packages for Flask make fewer assumptions than similar packages for Django, which often makes using an uncommon data backend (ElasticSearch, Mongo, RethinkDB, Redis, etc) a little easier (you don't have to rewrite as much).
- mbesto 13y agoFlask (for python) and Sinatra[0] (for Ruby) are awesome. I just recently did two side projects using both. I use Webaction[1] for my hosting provider for "small" projects and getting Flask/Sinatra requires very little setup (just enough to make it fun). They also have one click installers for Rails/Django/etc. Super easy to setup if you're a dev noob like me. [0] - http://www.sinatrarb.com/ http://www.sinatrarb.com/ [1] - http://www.webfaction.com/?affiliate=mbesto http://www.webfaction.com/?affiliate=mbesto
- eli 13y agoHave you seen Frozen-Flask? It's a clever extension that "freezes" a dynamic flask site into HTML files and static assets you can upload anywhere. http://pythonhosted.org/Frozen-Flask/ http://pythonhosted.org/Frozen-Flask/