librelist archives

« back to archive

A small article on Flask

A small article on Flask

From:
Giovanni Giorgi
Date:
2011-07-08 @ 13:12
Hi all,
 after only a week, I feel so well with Flask I dedided to publish a small
article on my blog:
 http://gioorgi.com/2011/flask/
Feel free to comment it :)

-- 
Senior Consultant
http://gioorgi.com

Re: [flask] A small article on Flask

From:
Jay Baker
Date:
2011-07-09 @ 12:46
Thank you for contributing Giovanni. I am curious about one comment. Why do
you suggest "for medium sized projects" specifically? I'm interested in your
experience.

-- Jay

On Fri, Jul 8, 2011 at 8:12 AM, Giovanni Giorgi <jj@gioorgi.com> wrote:

> Hi all,
>  after only a week, I feel so well with Flask I dedided to publish a small
> article on my blog:
>  http://gioorgi.com/2011/flask/
> Feel free to comment it :)
>
> --
> Senior Consultant
> http://gioorgi.com
>
>

Re: [flask] A small article on Flask

From:
Giovanni Giorgi
Date:
2011-07-11 @ 16:00
On 09/lug/2011, at 14.46, Jay Baker wrote:

> Thank you for contributing Giovanni. I am curious about one comment. Why
do you suggest "for medium sized projects" specifically? I'm interested in
your experience.
Hi Jay,
  sorry for the late replay, but I brought my family to mountains in the 
weekend and I have no time to reply :)
I have developed medium sized projects in Java (mostly financial based 
product, or big holding site like unicreditgroup.eu).
In my spare time I developed a small Django application for managing a 
small library for some friends (BWolf).
I also developed a blog based on Django (based on Wamber) see 
http://gioorgi.com/projects/cat/

Django is great, but if you leave the code of the project for more then 
two weeks, you must remember all the view-rules inside Django
to get started again :)
So I think Django rocks on very huge sites, but for small and medium sites
it is a bit overkill.
Django is driven by very smart people, by the way so I respect it.

I like python because you can do very fast prototypes in different areas.

Flask is easy to get accustomed to, and  it is better then  small 
frameworks like cherrypy in my humble opinion.
The reason are fews:
1) Better documentation, with small examples.
2) Better HollyWood principle (Inversion Of Control) in the kernel.
Plus:
3) Simpler to set up then Pyramid/Pylons/TurboGears but same advantages: 
auto-code reloading, and so forth.
4) A on-line debugger. I use mostly logs for debugging, but an online 
debugger "a là web2py" is very nice to have in the kernel.
My two cents :)




> 
> -- Jay
> 
> On Fri, Jul 8, 2011 at 8:12 AM, Giovanni Giorgi <jj@gioorgi.com> wrote:
> Hi all,
>  after only a week, I feel so well with Flask I dedided to publish a small
> article on my blog:
>  http://gioorgi.com/2011/flask/
> Feel free to comment it :)
> 
> --
> Senior Consultant
> http://gioorgi.com
> 
> 

--
(\__/)
(='.'=)
(")_(")

Giovanni Giorgi
jj@gioorgi.com