4 ms·
As someone who hasn't used Flask before, this makes me not want to try. I'm not even sure what problem is being solved in this presentation. Anyone care to exp
by ericingram 14y ago
As someone who hasn't used Flask before, this makes me not want to try. I'm not even sure what problem is being solved in this presentation.
Anyone care to explain what these advanced patterns are useful for?
- densh 14y agoThis is basically an explanation of flask internal organization for flask hackers and extension developers. You do you not need such knowledge to create flask applications. Actually due to this features it's possible to have nice and clean end-user programming experience without too much magic. Comparable level of complexity exists in any modern web framework -- just read the source of Django or Rails.
- zbuc 14y agoI haven't had a chance to really read it yet but it looks like it describes thread locals well. That would make it a lot easier to maintain thread state, e.g. an open database connection, without having to use a singleton.
- the_mitsuhiko 14y ago> Anyone care to explain what these advanced patterns are useful for? It's not intended to be used by newcomers. It's for people that write Flask extensions that should work in a wide range of environments. The word “advanced” is in there for a good reason.
- ericingram 14y agoAhh that makes sense. Maybe it would have been better titled "Advanced patterns for Flask extension developers".
- obeattie 14y agoIt was indeed labelled as an "advanced talk" at EuroPython (I was at it yesterday).