I’ve been thinking of writing a Grails based CMS that will be loosely based on Drupal. The main aim will be to have a very clean MVC separation and to add features using Grails plugins. To that end I have been thinking about an object model for the site which I have drawn below:
A Template is a layout of regions. Each theme will have a number of templates (which may be only one) A region can have an existence apart from a template so a region on a particular template is called a Template region. Each template region has a context and can have 0 or more blocks to display content. The blocks use the context to decide what to display. A page is an instance of a template with a number of region instances. Each region instance can have a mode such as view or edit.
I haven’t yet decided which parts of this object model will not be represented in the database but rather in template files as tag parameters.
Tags: cms, grails, object model, uml
GeoURL
Subscribe
#1 by Brett on January 31st, 2010
| Quote
I’m curious what you use to crate this UML diagram? it is very nice.
Thanks!
#2 by yellek on February 1st, 2010
| Quote
Brett, Have a look at http://yuml.me/
#3 by sudhir on April 6th, 2011
| Quote
I have almost similar thoughts are you, to create a grails based CMS which is based on drupal. Like Blocks, Regions, Page (Node), and custom Paths.
Let me know if you are interested in developing this project, I will be ready to contribute.
#4 by yellek on April 7th, 2011
| Quote
To tell you the truth having a new baby has sort of put any coding projects on indefinite hiatus. I’d be happy to review any design documents that you wanted to throw my way (I’m a software architect IRL) but I don’t think I could contribute any code.