Gluon 1.15 is out
mdipierro
mdipierro at cs.depaul.edu
Tue Dec 25 14:49:40 EST 2007
Hello everybody,
Gluon 1.15 is out. This is a free open source framework for agile
development of secure database driven web applications, written in
Python, programmable in Python. Stable API and supported since October
1st 2007.
http://mdp.cti.depaul.edu
http://www.vimeo.com/428474 (video tutorial)
http://mdp.cti.depaul.edu/appliances (free plugin apps for gluon with
source)
Some features:
no installation (it is a single executable), no configuration
files,
no shell commands, all development, deployment and
maintenance is
done via a web interface
built-in ticketing system; if your app has a bug it is logged, the
user is notified and ticket is issued so that the administrator can
retrieve the event via the administrative interface.
Example of a COMPLETE working gluon app:
---------- model: db.py ------------
db=SQLDB('sqlite://file.db')
db.define_table('images',SQLField('file','upload'))
---------- controller: default.py ---------
def index():
form=SQLFORM(db.images)
if form.accepts(request.vars,session): response.flash='image
uploaded'
return dict(form=form)
-------------------------------------------
what does it do?
it creates the database, creates the table (if it
does not exists) or
alters the table (if description does not match),
creates a web page
called index with an upload form for the image.
When the visitor
clicks submit, the file is uploaded, renamed in a
safe way, stored in
a file serverside, the name is stored in the
database, and the user is
a notified. It also creates a session and
handles it via a cookie. It also writes a web based administrative
interface for the newly created database.
Merry Christmas.
Massimo
More information about the Python-list
mailing list