Greetings !
A very basic demonstration of the platform is now available on
the motech-campaigndemo branch. It allows someone to sign up for
messages (with no content for now) every two minutes. There is also
functionality to stop the messages.
Unfortunately, our implementation required us to make changes to
the core platform that we not anticipated and may not represent the
"best practices" approach for platform applications. The file
http://code.google.com/p/motech/source/browse/campaigndemonstration/platformchangesandimplementation.txt?name=motech-campaigndemo
summarizes these changes, but one of the key platform modifications
that we did was to add jsp pages and change the dispatcher for motech-
platform-server. It works and it was relatively easy, but it seems a
rather unattractive way to build an implementation.
Any suggestions on how this could be done in a better way.
I do recall that the OSGi based implementation that 2Paths
worked on had a way to add to the dispatcher-servlet and thereby link
new pages into the core platform. Is this the direction we should
head ?
There is also some basic documentation for the demo in the code
and on the following pages :
http://motechdocumentation.wikispaces.com/Demo-Dependencies
http://motechdocumentation.wikispaces.com/CouchDB-Persistence
To complete the documentation, we will expand the Demo-Dependencies
diagram to show some of the dependencies between demo packages and the
platform packages. In addition, we are building a diagram to explain
the event processing.
We welcome suggestions on how to improve this. We are hoping to build
an example that first time implementers can start from.
Bruce