vendredi 29 janvier 2016

MVC pattern for Python scraper-to-DB plus web front-end

I'm about to develop a Python program that will scrape (lxml) to a two-database (SQLite or MySQL and a simple two-table schema) and also have bare-bones web front-end that will allow the user to select fields and boolean operators that will run an SQL query under the hood, and finally, save the output of the query as a CSV.

Although my knowledge of design patterns is minimal, from what I understand so far, this is a candidate for the MVC pattern.

What is a tried-and-tested example of MVC pattern for this sort of scenario? I intend to use a web framework such as Flask, Django, Pyramind or CherryPy.

Aucun commentaire:

Enregistrer un commentaire