471,354 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Gluon 1.15 is out

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
Dec 25 '07 #1
0 895

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.