Hello all,
As the creator of MyXaml, on of my motivations is not just the
implementation of a XAML-like parser, but also the usefulness of
creating an application framework using a mix of declarative and
imperative programming. Once the general purpose parser is in place,
it seems natural to architect classes that are XAML-friendly and are
the building blocks for a robust framework. The following article:
A
Declarative Approach To An Application Framework
discusses those concepts. In it, the reader will find a discussion of
the following concepts:
- Model - provides data abstraction and manages persistence
- View - manages presentation layer (UI) elements
- Controller - responds to UI events passed to it by the view and
updates the model according to the business rules
- Workflow Processor - provides process abstraction for processes
that cross component boundaries and externalizes application specific
rules
- Data Container - provides data event, containment, and binding
capabilities
- ContainerParameterMap - provides a mapping between Container
fields and IDbCommand Parameter fields
- Event Pool - provides event abstraction, implementing a single
source, multiple listener architecture
- State Manager - implements state management
- Message Manager - mediates query and command requests across
component boundaries. Easily set up for remote messaging also.
I am interested to know if other XAML/XUL developers have considered a
more holistic approach to the whole idea of declarative programming, or
has the focus been just on the presentation layer? I think the time is
ripe to demonstrate the benefits of separating declarative and
imperative programming and to further develop these concepts into sound
engineering practices. Who else is doing this sort of stuff?
Marc
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
xul-announce mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xul-announce
|