|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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:
|
|
#3
|
|||
|
|||
|
I recommend webware, its an application server. It uses servlets. http://webware.sf.net
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Python on the web |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|