← Back to team overview

dhis2-devs team mailing list archive

Modular architectures

 

>From the OXD project: A proposal to use a plugin framework based on OSGi
http://en.wikipedia.org/wiki/OSGi

For longer term consideration.

Knut

---------- Forwarded message ----------
From: Simon Kelly <simon@xxxxxxxxxxxxx>
Date: Thu, Feb 4, 2010 at 8:14 AM
Subject: [openXdata-dev] Proposal for modular architecture
To: openxdata-dev@xxxxxxxxxxxxxxxx


Hello all

Mark and I have been back and forth over the last two weeks looking at
various options for introducing a modular architecture into OpenXData. What
we have settled on is to use the Atlassian plugin
framework<http://confluence.atlassian.com/display/PLUGINFRAMEWORK/Plugin+Framework+Developer+Documentation>(which
is OSGI based). The diagram below illustrates the high level
architecture.

[image:
?ui=2&view=att&th=12697c58c96864a0&attid=0.1&disp=attd&realattid=ii_12697c58c96864a0&zw]

At this point we are ready to start implementing it but before we do I would
very much like to get some more requirements for the community. Currently we
only have two usee cases for a modular architecture:

   1. Allow modules to contribute their own interface i.e. the entire UI is
   in a module (Although this may be possible I'm not sure that it is the best
   approach to achieving this).
   2. Allow modules to extend ther service layer (add additional export
   services, reporting services etc.)

One major hurdle that we have come up against is whether or not it is
possible to extend out interface (given that it is written in pre-compiled
javascript)

So, I have two questions that need answering:

   1. How we want to enable modules to add functionality?
   2. What parts of current project should become modules (if any)?

Please, we need your feedback.
Thanks
Simon

--
Simon Kelly
Technical Manager
Cell-Life
Mobile: +27 (0) 72 231 0096
Tel: +27 (0) 21 469 1111
http://www.cell-life.org

-- 
You received this message because you are subscribed to the Google Groups
"openXdata Developers" group.
To post to this group, send email to openxdata-dev@xxxxxxxxxxxxxxxx.
To unsubscribe from this group, send email to
openxdata-dev+unsubscribe@xxxxxxxxxxxxxxxx<openxdata-dev%2Bunsubscribe@xxxxxxxxxxxxxxxx>
.
For more options, visit this group at
http://groups.google.com/group/openxdata-dev?hl=en.



-- 
Cheers,
Knut Staring

PNG image


Follow ups