From: Steve W. <sw...@pa...> - 2001-03-05 17:36:41
|
On Fri, 2 Mar 2001, Thomas Kalka wrote: > Had anybody already thought about coding transform.php completely > in object oriented style ? The new one Arno wrote, or are you using 1.2? > I`m thinking about reimplementing it in this manor: > > a) First parse the WikiPage into a Structure of Objects > (this part is totaly independent of html) > > b) these objects have the ability to transform into different > outputs (for example html, plain-text, TeX, ...) > They get this ability mostly by inheritance from simple > TransformationPrototypeClasses What would the page objects be? For example, WikiSentence, WikiParagraph, WikiLink, etc? ~swain --- http://wcsb.org/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |