Took this right from docs, but, today, I was givin it some though: *Yes it is usually not such a bright idea to use thread locals. They cause troubles for servers that are not based on the concept of threads and make large applications harder to maintain. However Flask is just not designed for large applications or asynchronous servers. Flask wants to make it quick and easy to write a traditional web application.* So, to use flask for a large application without extending flask itself is a dump idea? -- "A arrogância é a arma dos fracos." =========================== Italo Moreira Campelo Maia Bacharel em Ciência da Computação - UECE Desenvolvedor WEB e Desktop (Java, Python, Lua) Coordenador do Pug-CE ----------------------------------------------------- http://www.italomaia.com/ http://twitter.com/italomaia/ http://eusouolobomau.blogspot.com/ ----------------------------------------------------- Turtle Linux 9.10 - http://tiny.cc/blogturtle910 Turtle Linux 10.10 - http://bit.ly/cEw4ET ===========================
We now develop large application with Flask + SQLAlchemy. And it wonderful works! Thanks for Armin and flask extensions. On Thu, Sep 22, 2011 at 10:26 PM, Italo Maia <italo.maia@gmail.com> wrote: > Took this right from docs, but, today, I was givin it some though: > > *Yes it is usually not such a bright idea to use thread locals. They cause > troubles for servers that are not based on the concept of threads and make > large applications harder to maintain. However Flask is just not designed > for large applications or asynchronous servers. Flask wants to make it quick > and easy to write a traditional web application.* > > So, to use flask for a large application without extending flask itself is > a dump idea? > > > -- > "A arrogância é a arma dos fracos." > > =========================== > Italo Moreira Campelo Maia > Bacharel em Ciência da Computação - UECE > Desenvolvedor WEB e Desktop (Java, Python, Lua) > Coordenador do Pug-CE > ----------------------------------------------------- > http://www.italomaia.com/ > http://twitter.com/italomaia/ > http://eusouolobomau.blogspot.com/ > ----------------------------------------------------- > Turtle Linux 9.10 - http://tiny.cc/blogturtle910 > Turtle Linux 10.10 - http://bit.ly/cEw4ET > =========================== >
Thanks Armin. I feel better to now that. Alex K, what did you like best about it in your large application? 2011/9/23 Alex K <lestatcheb@googlemail.com> > We now develop large application with Flask + SQLAlchemy. > > And it wonderful works! > > Thanks for Armin and flask extensions. > > > On Thu, Sep 22, 2011 at 10:26 PM, Italo Maia <italo.maia@gmail.com> wrote: > >> Took this right from docs, but, today, I was givin it some though: >> >> *Yes it is usually not such a bright idea to use thread locals. They >> cause troubles for servers that are not based on the concept of threads and >> make large applications harder to maintain. However Flask is just not >> designed for large applications or asynchronous servers. Flask wants to make >> it quick and easy to write a traditional web application.* >> >> So, to use flask for a large application without extending flask itself is >> a dump idea? >> >> >> -- >> "A arrogância é a arma dos fracos." >> >> =========================== >> Italo Moreira Campelo Maia >> Bacharel em Ciência da Computação - UECE >> Desenvolvedor WEB e Desktop (Java, Python, Lua) >> Coordenador do Pug-CE >> ----------------------------------------------------- >> http://www.italomaia.com/ >> http://twitter.com/italomaia/ >> http://eusouolobomau.blogspot.com/ >> ----------------------------------------------------- >> Turtle Linux 9.10 - http://tiny.cc/blogturtle910 >> Turtle Linux 10.10 - http://bit.ly/cEw4ET >> =========================== >> > > -- "A arrogância é a arma dos fracos." =========================== Italo Moreira Campelo Maia Bacharel em Ciência da Computação - UECE Desenvolvedor WEB e Desktop (Java, Python, Lua) Coordenador do Pug-CE ----------------------------------------------------- http://www.italomaia.com/ http://twitter.com/italomaia/ http://eusouolobomau.blogspot.com/ ----------------------------------------------------- Turtle Linux 9.10 - http://tiny.cc/blogturtle910 Turtle Linux 10.10 - http://bit.ly/cEw4ET ===========================
Italo Maia, I like that Flask simple, flexible and powerful, and has many useful extensions. It no is has so many magic and it good :) On Sat, Sep 24, 2011 at 7:00 AM, Italo Maia <italo.maia@gmail.com> wrote: > Thanks Armin. I feel better to now that. > > Alex K, what did you like best about it in your large application? > > > > > 2011/9/23 Alex K <lestatcheb@googlemail.com> > >> We now develop large application with Flask + SQLAlchemy. >> >> And it wonderful works! >> >> Thanks for Armin and flask extensions. >> >> >> On Thu, Sep 22, 2011 at 10:26 PM, Italo Maia <italo.maia@gmail.com>wrote: >> >>> Took this right from docs, but, today, I was givin it some though: >>> >>> *Yes it is usually not such a bright idea to use thread locals. They >>> cause troubles for servers that are not based on the concept of threads and >>> make large applications harder to maintain. However Flask is just not >>> designed for large applications or asynchronous servers. Flask wants to make >>> it quick and easy to write a traditional web application.* >>> >>> So, to use flask for a large application without extending flask itself >>> is a dump idea? >>> >>> >>> -- >>> "A arrogância é a arma dos fracos." >>> >>> =========================== >>> Italo Moreira Campelo Maia >>> Bacharel em Ciência da Computação - UECE >>> Desenvolvedor WEB e Desktop (Java, Python, Lua) >>> Coordenador do Pug-CE >>> ----------------------------------------------------- >>> http://www.italomaia.com/ >>> http://twitter.com/italomaia/ >>> http://eusouolobomau.blogspot.com/ >>> ----------------------------------------------------- >>> Turtle Linux 9.10 - http://tiny.cc/blogturtle910 >>> Turtle Linux 10.10 - http://bit.ly/cEw4ET >>> =========================== >>> >> >> > > > -- > "A arrogância é a arma dos fracos." > > =========================== > Italo Moreira Campelo Maia > Bacharel em Ciência da Computação - UECE > Desenvolvedor WEB e Desktop (Java, Python, Lua) > Coordenador do Pug-CE > ----------------------------------------------------- > http://www.italomaia.com/ > http://twitter.com/italomaia/ > http://eusouolobomau.blogspot.com/ > ----------------------------------------------------- > Turtle Linux 9.10 - http://tiny.cc/blogturtle910 > Turtle Linux 10.10 - http://bit.ly/cEw4ET > =========================== >
Hi, On 2011-09-22 8:26 PM, Italo Maia wrote: > So, to use flask for a large application without extending flask itself > is a dump idea? Not at all. We're in the process of rewording that part of the documentation. Our stance on that issue was originally that we recommend customizing Flask for large applications but since the introduction of Flask extensions that changed somewhat and we made the core more modular that source modifications are no longer necessary. Regards, Armin