Eduardo Millán wrote:
Mensaje citado por Flavio Costa
<listas-gKsXbHVs43GLjhqoV9UUrw@xxxxxxxxxxxxxxxx>:
I still did not take the time to think about it, but I feel that behind
this server-side solution we have two distinct parts: a client-side
emulation system to provide current browsers the means to display the forms
and a true server-side system to process requests.
That's right. But just an issue: there are three different parts in every
server-side sistem: the model, the view and the controller.
quite right. but we must be carefull to not overemphasize this metaphor;
the strict MVC has been proven to be not the holy grail.
I think Chiba must separate clearly this three parts:
- A processor, Chiba Bean. The controller and the adapters
yup.
- An UI generator. The view.
yup.
- XForms files, URIResolvers. The Model.
the model part is encapsulated inside of the Container object and its
descendants in the object tree (model, instance ...). this is the real
model part in my view. the Container also holds some 'global' XForms
information like indizes, model map ...
What I wonder is if this second part actually exists, i.e., if every
browser in the world is already supporting XForms there will be any need for
Chiba - as we know it today?
The just think we need in that case is to decouple the view block, because the
browser is able to render the user interface.
absolutely. and this is an area where's still work. we've to think about
a better interface than UIGenerator currently is.
the UIGenerator evolved from the fact that we use it in a webapp and
therefore transform the whole UI in one go. if you'd like to attach
Chiba to a swing gui you'd rather like to attach listeners on the XForms
directly and feed these events to your controls to update the UI. in
this scenario the granularity is quite different.
Joern
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|