Why do I need a framework?

Posted by lvictorino on Programmers See other posts from Programmers or by lvictorino
Published on 2012-06-06T10:10:17Z Indexed on 2012/06/06 10:48 UTC
Read the original article Hit count: 191

Filed under:
|
|

First of all I know my question may sounds idiot but I am no "beginner". In fact I work as game developer for several years now and I know some things about code :) But as this is no related to game development I am a bit lost.

I am writing a big script (something about GIS) in Python, using a lot of data stored in a database. I made a first version of my script, and now, I'd like to re-design the whole thing. I read some advice about using a framework (like Django) for database queries. But as my script only "SELECT" informations I was wondering about the real benefits to use a framework.

It seems that it adds a lot of complexity and useless embedded features (useless for my specific script) for the benefits that it will bring.

Am I wrong?

EDIT: few spec of this "script". Its purpose is to get GIS data on an enormous database (if you ever worked with openstreetmap you know what I mean ~= 200Go) and to manipulate this data in order to produce nice map images. Queries are not numerous (select streets, select avenues, select waterways, select forests... and so on for a specific area) but query results may be more than 10.000 rows. I'd like to sell this script as a service, so yes it's meant to stay.

© Programmers or respective owner

Related posts about python

Related posts about database