Well, with the information given, I would opt for using web2py's scheduler 
for the background tasks and ajax on the client side. I would probably try 
to add records to the database as needed, rather than new tables. Database 
records and resident files can be later pruned by another scheduler task, 
depending on the requirements.

The only problematic aspect I see here is the requirement of not 
authenticating the uploaders. You'll need to identify them somehow, even if 
just temporarily.

Regards


On Saturday, May 16, 2015 at 4:41:36 PM UTC+2, Adrià Cereto i Massagué 
wrote:
>
> Hi all,
>
> I just found myself in the need of writing a web application, and with my 
> extremely limited knowledge of JavaScript or anything else besides Python, 
> web2py was the most appealing framework to work with.
>
> So I need to write an application roghlt like the following:
>
>
>    - The user (not necessarily logged in) submits a file
>    - The file is processed, which can take up to several minutes
>    - The user is then presented with a results page with a table witht he 
>    results.
>
> So, if I udnerstood it correctly, I'll need a scheduler for the background 
> process, and to store the results in a database table so I can use 
> SQLFORM.grid or .smartgrid to present them. My question is, is that the 
> best approach?
>
> My other question is, if I follow that approach, several files/tables will 
> be generated for that particular session. How can I do file/database 
> cleanup after a session ends? Should I schedule their deletion with a 
> scheduler the moment they are created (say, after some hours of their 
> creation)?
>
> Also, I see that the Catalan translation of web2py's interface is not 
> complete and that it's missing plural forms. How could I help with that?
>
> Thanl you for your patience.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to