Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



This 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.


> 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.


Ahh that makes sense. Maybe it would have been better titled "Advanced patterns for Flask extension developers".


It was indeed labelled as an "advanced talk" at EuroPython (I was at it yesterday).


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: