Hi
I need to setup a prototype for a web application which will expose a REST 
api to manage zipped sqlite db files, representing a mobile application 
project storage. I'm considering web2py because it seems agile and very 
well suited, but I would like to know if its "batteries included" can 
fullfil my needs easily.
For the moment the workflow should be:

1 - post to an http service of a zipped sqlite.db and a NAME field (a 
textual identifier of the file)
2 - the file should be saved in a tmp folder, then unzipped
3 - the NAME field and the name of the uncompressed folder should be saved 
in a model, containing only these two fields
4 - the user can browse a page listing the uploaded sqlite files, and 
clicking on them a page will be opened which will show the extracted 
data.... etc.

I've seen a lot of facilites that SQLFORM that can help a lot with uploaded 
files, but in my case I don't have an html form but a REST api, and the 
uploaded file should be unzipped (a step more then simply saving it and 
inserting the filename in the model). 
Can I rely on some web2py "magics", or should I implement everything by 
myself?

Thanks a lot, and congratulations for this framework.
Giovanni

Reply via email to