LocaWapp 09 - localhost web applications (add thread, add "Request" object, new "locawapp_main" function, fixed files.py, " ...)

. rdjdvd at inwind.it
Fri May 12 18:24:50 EDT 2006


http://daviderognoni.blogspot.com?locawapp


- MAIN NEWS
===========

* add thread
* add "Request" object
* new "locawapp_main" function
* fixed files.py
* ...


- DESCRIPTION
=============

LocaWapp want use HTML and Python not only for the web, but also for
the local applications:

Local + HTML + Python = LocaWapp

HTML = (CSS, images, JS, ...)

The LocaWapp mission is to build useful and beautiful LWA-UI (LocaWapp
User Interfaces) for the main functions of the system operator.

LocaWapp is searching free programmers, free designers, free
business-men that want advertise yourself with this open project.


- QUICKSTART
============

* Run:

python run.py

* and browse:

http://localhost:8080/locawapp/main.py

* You can change the port:

python run.py 8081


- DEVELOPING WITH THIS FRAMEWORK
================================

* Put your application folder in root directory:

[your_application]
[locawapp]
....__init__.py
....common.py
....main.py
....[static]
........logo.gif
........main.css
........main.js
LICENSE.html
README.html
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...]
	request.sendResponse(html)

* See locawapp.main.py and locawapp.common.py


- UNDER CONSTRUCTION
====================

Aioxml - is not xml (data formatter)




More information about the Python-list mailing list