Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 30th, 2004, 09:35 PM
caroundw5h caroundw5h is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Canada
Posts: 181 caroundw5h User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 55 m 34 sec
Reputation 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."


Reply With Quote
  #2  
Old March 31st, 2004, 01:59 AM
roypython roypython is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 71 roypython User rank is Lance Corporal (50 - 100 Reputation Level)roypython User rank is Lance Corporal (50 - 100 Reputation Level)roypython User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 h 20 m 49 sec
Reputation Power: 5
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
Quote:
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?

Reply With Quote
  #3  
Old April 4th, 2004, 09:24 AM
brain_fear brain_fear is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 6 brain_fear User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I recommend webware, its an application server. It uses servlets. http://webware.sf.net

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Python on the web


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway