http://cheeseshop.python.org/package...wapp-03.tar.gz
LocaWapp: localhost web applications (v.03 - 2005 Dec 31)
Copyright (c) 2005 RDJ
This code is distributed for your utility but WITHOUT ANY WARRANTY.
http://LocaWapp.blogspot.com
----------------------------
- Run:
python run.py
- and browse:
http://localhost:8080/locawapp/main.py
- You can change the port:
python run.py 8081
- You can develope with this framework:
HTML(CSS,JS) + Python = LocaWapp
--------------------------------
- Put your application folder in root directory:
[your_application]
[locawapp]
.....__init__.py
.....common.py
.....main.py
.....[static]
.........logo.gif
.........main.css
.........main.js
README.txt
run.py
- Your application must have "init" and "main" files (for convention):
[your_application]
.....__init__.py
.....main.py
.....other web applications (ex. main2.py)
.....your files or folders (ex. your [static])
- main.py is a web application, then it has "locawapp_main" function:
def locawapp_main(request):
[...]
html = [...String...]
return lwa.makeResponse(html)
- See locawapp.main.py and locawapp.common.py
- You can find me in "comp.lang.python" newsgroup
-------------------------------------------------
- New applications:
lwaUtils - LocaWapp Utilities
lwaUtils.files.py - files manager (under costruction)
lwaUtils.editor.py - source editor (under costruction)