![]() |
How to create an offline web form using Python?
Well, I do not know where to post about this subject, if I'm wrong, please move to the most appropriate.
I have a site with data system in php / mysql and I have a Nokia N900 (with Maemo 5 OS, natively supports Python) . I need to create a Python application for N900 containing a form 'offline' to include (and store) data and / photos for future upload to the database of this site. Ideal also have a version for offline query data. . The model form is already in php, and the lookup table. The work is to adapt this form Python to store the data offline and upload to the system mysql site. Unfortunately I have no knowledge of programming (Python, Linux) and ask for help to develop this application. I believe that an application in Python will be more stable and reliable than using apache or lighttpd, right? Thanks!! |
Re: How to create an offline web form using Python?
ok, if don't is python, maybe in other format. (html, C+, ??)
I need send the complete formulary, but hours after, but how to store this informations? I thought of something like the format of MaStory or even a simple html page which then connects to my site (php / mysql) Suggestions? thanks |
Re: How to create an offline web form using Python?
For developers of Python.
I found this blog which explains how to work the codes wordpy an older version. http://www.learningpython.com/2006/0...ython-library/ With this information it would be possible to build a form offline, with db to connect and send to the site php / mysql? Or much more complicated than that? ;);) |
Re: How to create an offline web form using Python?
Theoretically possible. You can create whatever interface you want, store it on a local db file using SQLite or the like.. then create or use a module for communicating and POSTing data to a website. PyGTK should work fine on the N900.. I haven't used an sqlite db in python on the N900 yet to know if it works right or not.
|
Re: How to create an offline web form using Python?
The way I'd do it would be to create a simple GTK/Hildon interface (see http://wiki.maemo.org/PyMaemo for some docs), and then use urllib2 to make the POST call to a PHP script on the server.
|
Re: How to create an offline web form using Python?
You may be interested in fpp's series of blog posts on his coding in Python using a lightweight web server for offline use:
http://fredp.lautre.net/blog/ |
Re: How to create an offline web form using Python?
Quote:
|
Re: How to create an offline web form using Python?
Quote:
The next idea is build a table with filter options for such data. I do not know if in db (some sql) or XML. What would be faster? |
Re: How to create an offline web form using Python?
Quote:
|
All times are GMT. The time now is 07:40. |
vBulletin® Version 3.8.8