Sure, wobpy's going in the right way now. Til I decided to make it a wsgi utility, the APIs are going simpler. And it will be easier to setup it in any wsgi compliant frameworks. It's now more natural to declare a wobpy object. Here is a simple example in a full wsgi stack :
from wobpy import *
self.t.set_value( self.t.get_value() + "!" )
def simple_app(environ, start_response):
start_response('200 OK', [('Content-type','text/html')])
yield str( WTest() )
if __name__ == "__main__":
from wsgiref.simple_server import make_server
make_server('localhost', 8011, WobpyMiddleware(simple_app)).serve_forever()
simple_app is the most simple wsgi app, which send back the include script for jquery, and the html's form of the wobpy object WTest.
All the backend (the ajax communication between the page and the server) is done via the middleware, badly nammed WobpyMiddleware.
It's a lot better than before. I have no dates for a public release yet. I'm working on a way to open modal dialog, and I need to fix apis. But for sure, it's really amazing to do. And it works very well.
Another amazing thing, it should work "as is" with ironpython., at least 95% of the code base.
To try Wobpy, I've made a little facebook app called Bastons which uses it a lot. It works. The app is hosted on GAE with the pyfacebook api. Really amazing. GAE is definitively a great platform for facebook app too.
Wobpy works well, but I need to find a better way to communicate between webpy (and others python web frameworks) and wobpy ; it's not very natural.
Tags: wobpy, gae
Yes, it's yet another kind of GUI on the web, but it's amazing for me ;-). It's based on webpy, and should be an external lib. So I named it : wobpy (like webpy), wob for "web object".
here is an example :
self.t = TextArea()
self.l = Label()
self.l.set_text( v )
When instantiate in a webpy mapped class, it will display a textarea, where you can enter some text, and when you click on the button 'go', it will put the entered text in a label.
Note that it looks like a gtk.Window, and could be easily mapped to gtk. It's really amazing.
It will be there when it'll ready for prime time.