What is MUM?
Nothing to do with your mother or mine. MUM is:
- a web application that handles users with groups and application regions.
- a demonstration of what kind of applications you can do with Tiny Marbles.
- an educational tool. MUM's code reflects our ideals about how a Marbles-based application looks like.
- a reusable module that we can build into our future projects.
Downloading MUM
We released MUM as a standalone application (with a Jetty server) as well as a deployable .war file. You can download it from sourceforge.
Learning MUM
You might want to tweak the hibernate.properties file shipped in the distribution to make it point to a real database.
To help you learn about MUM we have written a Tutorial for you. It can be found here
TOP
MUM Architecture
Where's the business logic?
On the Tiny Marbles FAQ, we answer the question of where the business logic should go, but it's not so convincing. MUM is proof that the putting all your logic into commands – in our case, XWork Actions – is a very robust way of building very flexible applications.
The MVC architecture
MUM is built using the MVC architecture:
- The Model is stored as Marbles objects
- The Controller is implemented using Webwork. There are XWork actions and some interceptors to handle the application flow.
- The View is rendered using Freemarker templates. We added some real nice macros that replace the Webwork tags very efficiently.
TOP
|