[Tutor] Porting PHP web app to Python GUI

John jfabiani at yolo.com
Mon Oct 12 15:36:35 CEST 2009


On Monday 12 October 2009 05:17:16 am Dotan Cohen wrote:
> I have a simple PHP web application with a form, which enter the
> information entered into the form into a database. However, I will be
> several weeks without internet access so I now have two choices:
>
> 1) Run the script locally on my Kubuntu box
> 2) Port it to Python and make a real app out of it.
>
> I prefer the second route, but I want to know if this seems reasonable
> in Python:
> 1) GUI with several input areas which are analogous to the HTML
> Select, Input=Text, and Textarea fields.
> 2) insert the data collected into an sqlite database
> 3) Retrieve and display data from the database using predefined queries.
>
> I am familiar with the SQL language, some PHP and some C programing. I
> have never done GUI programming other than HTML. Does PyQt seem to
> have a reasonable learning curve for this application?
>
> Thanks!

Take a look at Dabo www.dabodev.com.  Dabo works with SQLite, MySQL, MsSQL, 
Firebird, and Postgres.  Use the ClassDesigner to create simple forms in a 
visual way.

Johnf


More information about the Tutor mailing list