By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,543 Members | 2,037 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,543 IT Pros & Developers. It's quick & easy.

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

P: n/a
.
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)

May 12 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.