This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Brian Reily (committer)
Mon Feb 09 02:41:47 -0800 2009
juno /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Feb 09 02:41:47 -0800 2009 | |
| |
README | Wed Feb 04 10:31:17 -0800 2009 | |
| |
TODO | Wed Feb 04 09:26:15 -0800 2009 | |
| |
doc/ | Wed Feb 04 13:13:03 -0800 2009 | |
| |
juno.py | ||
| |
setup.py | Wed Feb 04 10:28:26 -0800 2009 | |
| |
templates/ | Sat Jan 03 23:06:04 -0800 2009 |
README
~ Juno ~
--------------
* Juno is a web framework that was designed to make development as fast
as possible
Say 'Hello, World' in Juno
--------------------------
To start off:
] from juno import *
]
] @route('/')
] def index(web):
] return 'Juno says hi'
]
] run()
Add some url handling:
] @route('/hello/:name/')
] def hello(web, name):
] return 'Hello, %s' %name
Use a template:
] @get('/hi_template/:name/')
] def template_hi(web, name):
] template('hello.html', name=name)
Models
------
] Person = model('Person', name='string')
] p = Person(name='brian')
] p.name # => u'brian'
] p.id # => 1
]
] find(Person).all() # => [ <Person: id = 1> ]
Features
--------
- All normal web framework stuff (models, views, routes, templates)
- Development server
- Uses SCGI to connect to Nginx/Apache/etc.
- Templating through Jinja2
- Database access through SQLAlchemy
Install
-------
* To get the latest stable version, pull from the 'stable' branch. Then do:
$ python setup.py install # As root
$ python
>>> import juno # Make sure everything worked
* To get the latest development version, pull from master. The same steps will
install it.
Help
----
- See the doc/ directory for the current documentation.
Note
----
- Juno violates some usual principles of good design (don't use global
variables, don't do things implicitly, etc.) for the sake of fast
development and less boilerplate code. You've been warned.








