Gluon 1.15 is out

M

mdipierro

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
(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top