The Flask Mega-Tutorial (2012)
blog.miguelgrinberg.com
blog.miguelgrinberg.com
That said, IMHO, if you're going to implement a simple CRUD app in Python, you may as well just use Django. Django includes all of the "batteries" for handling forms, authentication, databases (the ORM), etc. right out of the box. I think Flask has its place; but when it becomes a simple reimplementation of Django, I'm not sure I see the point.
Another (old but still excellent) resource for anyone learning Flask: http://mattupstate.com/blog/how-i-structure-my-flask-applica...
For projects that don't require an ORM, or work with databases that Django doesn't support, I'm not as big a fan of Django, however.
There's an idea floating around on my team right now that literally all of our projects, even non-webapps, should be Django (I got questions about my use of -m recently, was told a "management command" would have been better), so I'm sensitive to this "just use Django" advice, maybe.
https://www.kickstarter.com/projects/1124925856/the-new-and-...
Thanks 'windexh8er for mentioning something in the first place.
initially, it's only a bit more effort, but as you scale it'll stop e.g. your views.py getting out of control, without resorting to hackery.
again, it can be hard to do retro-actively, and once you realize you need it, the codebase is usually pretty bad. so i just do it from the start, as the extra effort is small then.
(best practices prevent team members with less experience from committing attrocities and give them a good foundation to copy from)
IMHO what makes app factories hard to grok is the poor documentation and examples/tutorials on the topic. The official docs mention app factories are great but then don't include any clear example on how they could be used with routes. They do include examples that don't use app factories, thus that's what newbies use to get up and running, and afterwards keep on using because it works.
For a truly CPU bound application, you ought to be looking at something other than Python IMHO.
It builds a similar kind of application. I would say it is complimentary. It is not as deep as, say, the Goat Book is on Django.
However, they are way better than any video course.
If there is stuff you already know, skipping forward minutes will keep you wondering whether you have missed something important. With text you can scan through unimportant parts relatively easy, while knowing you didn't miss something important.
This tutorial helped me get started when I needed to build a MEAN webapp for a project