Jason Hildebrand wrote:
>On Mon, 2004-02-16 at 15:51, Bryan Murphy wrote:
>
>
>>Hey guys, is there any active development being done (or planned) on
>>PSP
>>at the moment? I'd like to extend PSP to support something similar
>>to
>>Java Tag libraries, but I don't want to duplicate any work that is
>>current being done. Have any plans for this been made?
>>
>>
I don't know about PSP, but consider my project, ottoweb. It's an XIST
based MVC system that supports features like tag libraries, webware, and
the reflection of arbitrary objects. The one thing it doesn't have is
any useful documentation. In fact, I haven't told anyone about it, I
have only just put the code up in CVS.
http://sourceforge.net/projects/ottoweb
Ottoweb requires XIST:
http://www.livinglogic.de/Python/xist/
Here's an example of some ottotags:
<shell name='shells/noframe-shell.htm'>
<ottoform name='login' action='login'>
<if cond="len_content( 'login' )">
<tr><td align='left'> <feedback cstyle='padding-bottom: 2px;'
name='login' /> </td></tr>
</if>
<prompt name='user.user_login' /><field name='user.user_login' />
<prompt name='user.password_login' /><field
name='user.password_login' />
<submit value="login" />
Although condense, this framework has a lot of neat features like
automatic table generation, field validation, session management, pickle
support, and more then I can recall right now. I also wrote an ORM
framework to go with it, called python-dbo. however, otto will reflect
any object type. you just have to map a reflector to it.
-giles
|