WebVize's WebLog

An independent C# Developer in the Netherlands

More Explained on my CMS view

As stated before a website is nothing more than a structured collection of content and interaction functions.

A page is nothing more than a collection of visible items ( I call them Modules) all pushed in a template so that the design of the site stays the same throughout the site itself
The Module is based on a design and has 'readable' content to it assigned.
The content of a module can be described by its elements. Like title,header,content and so on..

Ok. Enough talk I'll show some screens..


The definition of content can be desribed here


I want th generate the definitions to a DLL so I have at least one template I can use to generate the dataobject. The data of the objects will be stored in the database as serialized objects. Important elements of the objects will be stored as value in the table to be able to find the required data fast..


Running and compiling this template generates me a DLL i can resuse in either template or in additial written components.


Setting the design of the module.. You notice I bind it to a dataobject and make it easy for the user to create the datafields in the design..


We can even write script code so that we can run funtions in runtime on the site..


Then the page has a design. You see I have an element ~Content~ this will be a placeholder where modules are placed. See the next one


AS defined I had a element called ~Content~ .. Now this is extracted as a placeholder.


Dataobjects is one but ofcourse we need to fill the object with data..this is a CMS that is reflected from the object itself. Notice that the Is Active check wasn't defined. But in the generation template it is included as a required field.


We also can manage the data from the site structure ..later on we will create an option to have a preview on each seperate object.

Finally we need to deploy and generete the site.. I will place all content pre rendered in the Modules an place them as  a ASCX on the webserver. The Page will then include the ascx files and optiol code defined in the modules will be executed.

As you might notice I make use of winform user controls :-)

If you have any comments, ideas or anything to say please let me now.

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)