News for hackers. Stuff that matters.
Re:Building Large Flask Apps in the Real World by BinaryIdiot on Wednesday February 17, 2016 @10:22PM (#11123475)
Honestly this is how all development should be done. Treat the web server as yet another interface into your application to keep it as slim as possible. Need to change web servers, support thrift, avro, etc? Just write another interface that hooks into your application. Easy!

There are plenty of examples in every language where a web framework turns into a web service + caching + session management + ORM + whatever else you can think of then you use all of those features and now you're inflexible, can't easily add new interfaces without seriously rewriting the old and good luck if you need to move away from that web framework for whatever reason.

Re:Building Large Flask Apps in the Real World by whalesalad on Wednesday February 17, 2016 @11:42PM (#11123772)
YES! Your username should be binaryfullofwisdom.
Re:Building Large Flask Apps in the Real World by BinaryIdiot on Thursday February 18, 2016 @11:31AM (#11126911)
I will take that under advisement :)