Hi Nik,
Luban is not really intended to be another python-based web framework.
Its most important purpose is to answer the following question
Is it possible to have a generic user interface language which is
powerful enough to create sophisticated UI?
I think the answer to that question is close to a yes.
But it is highly possible a web framework could be created by
combining luban with existing tools such as python-based http server
(e.g. cherrypy) and db engines (sqlalchemy etc). The main difference
between luban and existing web frameworks (let me call it WF) is that
to create "views" all WFs encourage users to use a templating engine
that has a syntax that mix html with python commands, while luban
users are using simple python factories. Compared to WFs, luban is
intended only for describing UI itself, and does not integrate a full
suite of database tools as WFs do (you can use any sort of db engines
with luban, however).
About using luban with existing WFs, there might be several different
ways. One possibility is that you just use the part of luban that
translate abstract UI descriptions to javascript. In luban, a UI is a
hierarchy of python objects, and that hierarchy is converted to a json
dictionary. The luban javascript library then takes that json
dictionary and creates javascript UI widgets. So what you could do is
just use that part of luban: luban.weaver.web and luban.weaver.web/
javascripts
Hope I sort of answer your questions.
--Jiao