#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    Canada
    Posts
    185
    Rep Power
    0

    Python on the web


    What exactly can python do on the web. I've heard it can parse html/xml files but how can it be used as a server side language. Can it process forms? Is it secure? can i use it like javascript to display dynamic websites? if for example i just use it on my server?
    "In theory, there is no difference between theory and practice.
    But, in practice, there is."

  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    71
    Rep Power
    11
    Hi,
    Regarding your questions:
    1. Python can be used on server side code, for example, the http request
    for a python page might look like:
    http://forums.devshed.com/test.py
    2. Python can process forms on server side just like asp( or any other
    server side script), and therefore can create dynamic pages.
    3. On client side, you can use javascript or vbscript, to create dynamic
    behaviour, basically all the browser understands is "html",
    "java script", and "vb script"(with exceptions), the result of the python
    on the server side, creates html that is then sent to the client.

    4. regarding secutiry, python has many modules that can help
    you implementing security ( encripting, etc)

    There are many examples on the web of how to create web forms
    using python and html.
    if you want me to send you some examples, tell me what you need
    and i'll try to help
    Enjoy
    Roy

    on server
    Originally Posted by caroundw5h
    What exactly can python do on the web. I've heard it can parse html/xml files but how can it be used as a server side language. Can it process forms? Is it secure? can i use it like javascript to display dynamic websites? if for example i just use it on my server?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    6
    Rep Power
    0
    I recommend webware, its an application server. It uses servlets. http://webware.sf.net

IMN logo majestic logo threadwatch logo seochat tools logo