I have thinking it for a week.

How about divide turbine into 4 layers: UIPL, UIOL, BOL, OPL

UIPL(User Interface Presentation Layer): is the highest layer, this layer implement 
the user interface object defined by UIOL.
UIOL(User Interface Object Layer): applies to user interface definitions. This layer 
use xml to define the user interface, such as Application, Screen, View, Viewlet, 
ListView, FormView, TreeView, ChartView, Controls. This layer can generated by castor.
BOL(Business Object Layer): Logical data constructs that implement business logic 
through virtual tables, one-to-many relationships between tables, table joins, and so 
on are called business object definitions and reside in the Business Object Layer.
OPL(Object Persistence Layer): Data constructs that directly map to and from 
corresponding constructs in the physical database are called data object definitions 
and reside in the Object Persistence Layer.

Turbine already have the OPL, but i think it's not enough.

So I think Turbine will have 5 main package:
org.apache.turbine.uipl implement the user interface presentation layer.
org.apache.turbine.uiol implement the user interface object layer.
org.apache.turbine.bol implement the buiness object layer.
org.apache.turbine.opl implement the object persistence layer.
org.apache.turbine.tool implement the configuration tool for the 4 layers, such as 
screen definition tool, view definition tool, Business Object definition tool...

Jian He


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to