luban 1.0.1 released
linjiao at caltech.edu
Sat Jan 14 19:20:31 CET 2012
Luban 1.0.1 was released. In this release, "Workflow" was introduced to make it easier for users to build their applications using workflows as building blocks. A tutorial of "workflow" is here: http://lubanui.org/current/workflow-tutorial.html. The first three workflows introduced were: registration, login, and feedback; see http://lubanui.org/current/workflow.html.
These workflow examples also show how luban could work with models and database. Once luban is installed, you can read its source code to find out how those workflows were implemented to work with database models. They are under luban python sub-packages "luban.workflows.<workflow>". Or you can find source code of workflows here: http://bazaar.launchpad.net/~jiao-lin/luban/trunk/files/head:/workflows/luban.workflows.
Please keep in mind, however, luban is not intended to be a full-featured python web framework. Its main purpose is to help (web) UI developers to specify their UI applications in a generic and concise way. So these workflows are just examples, and are not the main functionality of luban. They can be used as scaffolding tools for your applications, but in no way they should limit you from finding creative ways of using luban with stuff typically found in a python web framework -- database, orm, etc.
There are some new developments for the luban API documentation and demo, "aokuang" (http://lubanui.org/aokuang) as well. API/demo for individual widget is now available at http://aokuang.lubanui.org/<widget>. For example, http://aokuang.lubanui.org/document.
Also, you could get a sneak peak at one new widget for the next release, luban 1.0.2, "sketchcanvas", at http://aokuang.lubanui.org/sketchcanvas.
Luban (http://lubanui.org) is a compact, generic UI "language".
It is a python package for building (web) user interface.
It is NOT yet-another web framework.
* A compact set of simple concepts and rules
* Simple, natural syntax for describing UI
* A set of basic and advanced widgets --- see demo and API of widgets at http://lubanui.org/aokuang
* Write "bindings" of your favorite js widgets to use them in python.
* Luban 1.0.1 mainly supports python 3.1+
* Experimental support for python 2.6+ exists.
$ pip install luban
Bug reports and any comments are appreciated!
linjiao at caltech.edu
More information about the Python-announce-list