librelist archives

« back to archive

Why Flask?

Why Flask?

From:
Kieran Darcy
Date:
2010-09-29 @ 13:09
  Hello Flask list,

I've been lurking here for a little while, waiting for an opportunity to 
ask a question. I will send my question in a separate post. For now, I 
thought I'd introduce myself by telling you what I do and why I decided 
to use Flask.

My name is Kieran. I work from home, in the North East of England. I am 
a developer working for a Market Research company based in London, with 
our head office in Princeton.

We have been desperately trying to drag our internally-developed 
telephone-interviewing application into the present day. The application 
began life as a series of DBF databases running on DOS, written in 
Clipper, in the early 1990's. It developed into a set of 16-bit Windows 
tools soon after that with the code being re-factored to run as a Visual 
Objects CGI application in the late 90's.

Other Market Research firms began buying and relying on our software. We 
have been maintaining the CGI application since 2003, making 
improvements to the HTML output and the underlying database server. We 
have an old system, but it works. There's too much to throw away, but we 
need to modernize. We wanted to take our 16-bit Windows management 
utilities and move them to the web. We knew it had to be Python. But 
what could we use for web development..

So, why Flask?

Well, because it is so bare and everything is so obvious. There is 
nothing surplus to requirements to get in the way of development. All 
you need to get started is there.

The URL routing is so simple, and so closely linked to the view. Jinja 
is so easy to get started with; we liked Django templates, but we love 
Jinja. We couldn't use an ORM. Not Django's. Not SQLAlchemy. None. We 
needed to write our own way of interfacing with our data. Flask suited 
our needs perfectly. There was no data layer to have to remove before we 
started; Flask didn't /want /to get in our way.

We weren't developing an off-the-shelf web application. We were doing 
something a bit different (or a bit crazy, I mean we're working with 
code that's twenty years old here). Flask suited our needs perfectly. 
There was no assumption about what kind of web site we wanted to 
develop, Flask just let us get on with things.

We've already got the beginnings of our application in place (40 views 
and counting), and we're moving rapidly towards deploying our 
application internally, waiting to roll this out to our customers as 
soon as we can, and all thanks to Flask, Werkzeug and Jinja.

I hope it's been of some interest to hear about just one of the ways 
Flask is being used, and thank you to everyone involved in it's 
development. I for one, enjoy my job that little bit more as a result of 
finding Flask.

Kieran Darcy.

Re: [flask] Why Flask?

From:
Ali Afshar
Date:
2010-09-29 @ 13:15
On 29 September 2010 14:09, Kieran Darcy <kieranfdarcy@gmail.com> wrote:
> Hello Flask list,

Hi!

> I hope it's been of some interest to hear about just one of the ways Flask
> is being used, and thank you to everyone involved in it's development. I for
> one, enjoy my job that little bit more as a result of finding Flask.

I have very little to do with Flask development, but find these
stories very interesting, so thanks! I am sure the core developers
will be even more gratified to hear your kind words, so thanks again,
because anything that keeps them happy will keep us all happy.

Good luck with your project!

Regards,

Ali

Re: [flask] Why Flask?

From:
Dan Jacob
Date:
2010-09-29 @ 13:19
Hi Kieran,

Very interesting post, thanks for sharing. We need more detailed
success stories like this one that explain why Flask is a good fit for
a project.

I'm also based in the UK, up in Scotland. Unfortunately no
opportunities yet to use Flask in a "real-world" project - still all
Django at the moment (which ain't all bad, it could be PHP ;-)).
Hopefully that will change soon.

Re: [flask] Why Flask?

From:
Jonas Galvez
Date:
2010-09-29 @ 23:03
Dan Jacob wrote:
> I'm also based in the UK, up in Scotland. Unfortunately no
> opportunities yet to use Flask in a "real-world" project - still all
> Django at the moment (which ain't all bad, it could be PHP ;-)).
> Hopefully that will change soon.

Here in Brazil, I'm working on a Flask-based project for a big
publishing company. If it plays out well, all future projects will use
it too :)


-- Jonas, http://jonasgalvez.com.br

Re: [flask] Why Flask?

From:
Aaron Moodie
Date:
2010-10-04 @ 01:26
>because it is so bare and everything is so obvious.

This is also the reason I really love flask. I'm quite new to programming
and development, but one of the things that I really enjoy about it is
designing the initial foundation of a program/application.

Flask gives you the tools to do this without getting in the way. For someone
with a moderate programming knowledge I find this really reassuring as
(nearly) any mess I get myself into is something of my own making and
something that I should be able to fix. As opposed to other frameworks which
do a lot of 'magic' which would inevitably get me into a mess.



On Thu, Sep 30, 2010 at 9:03 AM, Jonas Galvez <jonasgalvez@gmail.com> wrote:

> Dan Jacob wrote:
> > I'm also based in the UK, up in Scotland. Unfortunately no
> > opportunities yet to use Flask in a "real-world" project - still all
> > Django at the moment (which ain't all bad, it could be PHP ;-)).
> > Hopefully that will change soon.
>
> Here in Brazil, I'm working on a Flask-based project for a big
> publishing company. If it plays out well, all future projects will use
> it too :)
>
>
> -- Jonas, http://jonasgalvez.com.br
>

Re: [flask] Why Flask?

From:
alice ni
Date:
2010-09-29 @ 18:18
I dont know about others, but sure gives me a lot of confidence ! :-)

On Wed, Sep 29, 2010 at 6:49 PM, Dan Jacob <danjac354@gmail.com> wrote:

> Hi Kieran,
>
> Very interesting post, thanks for sharing. We need more detailed
> success stories like this one that explain why Flask is a good fit for
> a project.
>
> I'm also based in the UK, up in Scotland. Unfortunately no
> opportunities yet to use Flask in a "real-world" project - still all
> Django at the moment (which ain't all bad, it could be PHP ;-)).
> Hopefully that will change soon.
>