> I'm doing searches on the net right
> now and just found Jess...if any of you have other Java based OSS
> solutions for this, I would appreciate hearing about them.
I originally implemented a configurable Swing based framework for
this:
http://www.dfd.dlr.de/archive/dims/#Operating_Tool
configured via:
ftp://ftp.dfd.dlr.de/put/reck/XML_Configuration.html
but it has the drawback within a servlet/template framework of the
missing controller aspect of the model2 apporach of swing. This would
require either making a *big* library of controllers for using
within the turbine context (moves away of the screen/java approach).
Here I want to avoid distributing the controller and configuration over:
* site configuration file(s)
* java classes
* controller templates.
Now I'm going a way described already earlyer in this list:
http://www.mail-archive.com/[email protected]/msg06384.html
It's used for a configurable remote Operator/Administrator interface
with HTML/Applet output. Velocity seems to be a good front end. Some turbine features
are also very welcome (ACLs). Databases
are currently
not a issue.
Where I'm using a real HMVC pattern:
* Controller templates
- that use embedded/included - reusable and hierarchical configuration
- that decode and perform actions
- that access the model and prepare it for the views
(all via context tools and V-directives)
- that include other views (screens or macros?) with defined interfaces
* View templates which may include other (H)MVCs templates.
The services to be operated on are simple and only provide file and
script interfaces (thus requiring a servlet approach). But the pattern
could just as well work with CORBA, XML_RPC and other XML producing
interfaces.
One outstanding issue is that currently it is not very elegant to
define hierarchical static configuration structures in Vel.
The workaround would be to embed XML fragments into the Vel templates:
#set $targets = $Xml.fromString('<targets>
<target id="SDS" title="ServiceDirectory">
<script id="monitor" value="$ENV.SDS_ROOT/bin/SDS_read_value" />
...
</target>')
Though it is not yet possible to place multi-line string arguments
wihtin V:.(
And use JDOM to access the configuration parameters. In this way
One can combine the contoller and configuration in V-templates!
and organize these hierarchically via includes. This results in
a real HMVC pattern.
Please write me if I should publish more code framgenst to visualize
the approach.
:) Christoph
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]