Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

ArchitectureOverview

knewter edited this page Sep 13, 2010 · 4 revisions

ansuz will follow a RESTful design pattern.

A site admin will create a hierarchical collection of Pages. These Pages will have various modules added to them. By default, a new Page will have a ContentSection module and nothing else.

Use Cases

Basic content-managed page

This is the default page added, and consists of a Page that contains one Module: a ContentSection

Basic photo album with some content above and below

This could be accomplished with a Page that contained three modules, in this order: ContentSection, PhotoAlbum, ContentSection

Contact Form page

This could be accomplished with a Page that contained two modules, in this order: ContentSection, CustomForm. The CustomForm module would add its own administrative interface to Page#edit for managing the CustomForm. From here, one can build up all of the fields involved in the CustomForm, view the data contained within the form, etc.