|
Webgenz Overview
Learn More About Webgenz |
||||
|
A Simple Example Webgenz is a document management system that allows you to create and maintain web site documents (HTML, ASP, JSP, PHP, XML, XSL, etc.) using a collection of reusable templates and content macros. Let's say you're designing a web site and you'd like every page of the site to have the same basic layout and design. First, you create a template that defines this layout and design. You can hand-code this template or use your favorite WYSIWYG tool. Next, you add special content macro tags to the template to designate the areas of the template that will display custom content when the template is used for a specific web page. Below is a very basic example of a template file and a file that contains content macros. The template file is on the left. In this file, the content macro tags [@TITLE] and [@CONTENT] are used to identify areas of the template that display custom content whenever the template is used. Each individual page that uses this template will define values for these content macros. On the right is an example of a file that contains content macros. This file defines the content macros [@TITLE] and [@CONTENT] that are used in the template.
When Webgenz generates a document using the template file and content macro file above it replaces the special content macro tags in the template with the values defined for those macros in the content file. The result is the following:
Advanced Features Some of these advanced features include: By far, the most unique and powerful feature of Webgenz is support for inheritance and subclassing of content macros. Inheritance and subclassing are object-oriented concepts that are designed to facilitate reuse. Webgenz uses these concepts to make it easy to share content throughout a web site. Webgenz allows you to define multiple content files for each web site document. In addition, you can define global content files that are used by the entire web site or a certain area of the site. This is an extremely powerful feature that makes Webgenz a robust site management tool.
Try It! |
|
|
Copyright(c) 1997-2002. Dave Krupinski. All rights reserved. Page Updated: 3/2/2002 12:48:07 PM |