Web Application

From: Cesar Andres Roldan Garcia (cesar.andres_at_gmail.com)
Date: 09/30/04


Date: Thu, 30 Sep 2004 09:37:58 -0500
To: python-list@python.org

Hi!

I have some doubts with something I do

I'm making a web app something like a shopping car, and I have to use
the MVC Model (model-view-controller more info at "model 2 java" in
google's first link), so I do something like this:

- I use css and HTMLgen module in python for generating HTML webpages
based on the content of queries and insertions of products. (that's
view)

- I define classes for each object I have to create in Python, so,
they have the instructions for insert, delete, select using adodb
module (that's the object part)

- Then I use CGI based on python depending of the user want to do
(insert a product, make a query of products, etc...), those cgis call
the functions and objects in python, then those functions return html
code.

my questions is, anybody know how can i make this more efficient?? or
using something better for generate HTML, or in general, something for
making a web application like a shopping car??

thanks u very much

-- 
Atentamente,
Cesar Andres Roldan Garcia


Relevant Pages

  • Re: time.strftime in 2.4.1 claims data out of range when not
    ... > I have a web app that has been running just fine for several months under ... > We are preparing to upgrade the server to run Python 2.4.1. ... platform's C library implementation of strftime(). ... passed senseless values. ...
    (comp.lang.python)
  • Re: VB to Python migration
    ... If we do move to Python, we want to take advantage of features of the Python language, rather than just rewriting a VB app in Python. ... I tried running the project through the conversion wizard in VB.NET Express Edition recently just for the fun of it. ... It'd take a while to understand those errors, possibly correcting them in VB6 before trying to do another conversion, and again, we wouldn't be taking advantage of the strengths of the new language. ... The web app functionality is something we also want to be very accomodating of. ...
    (comp.lang.python)
  • Re: GUI definition for web and desktop
    ... > direct python code or XRC files. ... So what are you telling me - that XRC files aren't XML? ... method to convert an html/javascript based web app to a desktop app as ...
    (comp.lang.python)
  • Re: Looking for opinions
    ... Originally I planned on doing something like OpenRPG with a Python app ... so building a whole web app won't set ... building a stand alone program or do you think making something out of ... it's always better to keep it as decoupled as possible from the user interface. ...
    (comp.lang.python)
  • Re: Newbie advice
    ... Python for the first time. ... Write a plain old web app with Python (no web services or Ajax, ... through it because I think about programming completely differently ...
    (comp.lang.python)