From: Lane S. <la...@op...> - 2004-05-28 16:57:23
|
Greetings, WebMacro Wiki is a pluggable architecture. You create a page action handler which renders a class of pages. Not every url request defaults to the standard page renderer. For example, there is an admin class handler for url requests which begin with "Admin". I am thinking of writing a base class and calling it Record. Then, with a lot of utility call-backs in this class, a subclass could be, "Survey", "ProblemReport", "Policy", etc. Each subclass would have its own VLH storage partition. The pages would be addressable as http://www.webmacro.org/EmployeeSuggestions with varying parameters for entering a suggestion, editing one, or listing one or many. With WebMacro Version 2.0, building the form would be accomplished as a templet along with some other goodies in the file, EmployeeSuggestions.wmt. All nice and neat and tidy. This would make our WM Wiki extensible to structured records. And, if I am not mistaken, we could leverage our built-in renderers to render structured fields: a structured record could have a wiki text field, an img reference, and an http reference. eric: what do you think about adding structured records following this design pattern? Would it be hard to have a field type, "WebMacroWikiText" in a record or whatever the class it should be to contain text which was parsed and rendered? regards, -- Lane Sharman Enterprise and Personal Email Content Filtering and Hosting http://www.opendoors.com 858-755-2868 |