Making a site builder in Domino
The issue is quite simple: I need a very easy to use, generic web content management system for my sites. Until now, I always made every site from scratch, with hard coded HTML and CSS and the images stored in the shared resources of the application. So, consider me completely insane, but I am going to build a web content management system in Domino. And I'm going to try to do this in only two days.
The objective
The application may contain one or more sites, each with a completely different look and feel. The CSS files are Notes documents with attachments. The pages are rendered based on templates and re-usable components. The sites have to be valid XHTML, search engine friendly and easy to maintain. For each site, you can define these page types (templates):
- Homepage
- Section page
- Article page
- Utility page (used for edit, search results etc.)
Ready? Steady? Cook!
In fact, I've already started today. The application I'm using is d-works SiteBuilder, and you can follow my progress online.
What has been done so far:
- All CS files are Notes documents. The the CSS file to use is selected in the Site document.
- Pages are rendered with page templates, according to the page type: home, section, article and utility. The templates are Notes documents and can be selected in the Site document for each page type.
- You can insert special components, e.g. header and footer across the templates. These are also selected in the Site document.
- Page templates and components are a combination of HTML and special tags. The system fills in the tags with the appropriate content. This is similar to ASP or JSP pages. The format of the tags is: [%tagname%].
And to avoid questions in that direction: once I've got a working solution, I will post a trial application (design-hidden, maybe some restriction) to download. Maybe my company wants to market this, so I can't give it away.
Comments
To add a comment, log in or register as new user. It's free and safe.