Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Ian Bicking <ianb@co...> - 2005-04-03 05:17:48
I added a feature to WSGIKit to create a base set of files and a
directory layout for a new application. This is similar to Rails'
scripts, and kind of like MakeAppWorkDir, but more helpful (I think).
Right now you can do:
svn co http://svn.w4py.org/WSGIKit/trunk WSGIKit
./scripts/app-setup create -v -o test_app/ webkit_zpt
And you'll get a basic framework in test_app/, and wsgi-server will
serve that app up on localhost:8080 (if you have WSGIUtils installed, as
well as ZPTKit, Component, and zpt.sf.net packages -- but I'm working on
making it easier to get all those libraries).
This particular setup (webkit_zpt) represents the patterns I've been
using in my own applications, and I'll probably continue extending it
based on that. WSGIKit can include multiple such application templates,
and I'd be interested in other people's contributions -- at least
insofar as they are really distinct. I'm not sure if, say, there should
be a webkit_cheetah template -- instead it would probably be better if
there was a single webkit template and an option to choose your
template, but that will require some more consistency in how templates
are used. (I think Cheetah would probably be a more compelling beginner
templating language than ZPT, but I'm personally familiar with ZPT).
The way the application templates actually get set up is still under
development, but it's usable now, and I think it actually can be really
helpful for both new and experienced developers -- it's always best to
document convention through code.
Ian Bicking / ianb@... / http://blog.ianbicking.org