[Seaside-dev] XML Markups and Canvases

Torsten Bergmann astares at gmx.de
Fri Nov 7 12:57:50 UTC 2008


Hi,

just a few thouhts and a questions: there are various XML markup languages out 
there and some of the get more and more incorporated into Browsers. 
Sometimes they are embedded within HTML itself. There may also be proprietary
XML formats to feed a client, ...

Take MathML [1] for example. In a simple implementation one can implement the 
methods to access the tags like normal HTML tags on the HTMLRenderCanvas.
But with more and more specific markup languages the interface of this class gets bloated and 
there may be more and more naming conflicts. Traits may help here - but they are
not portable.

Another (better) approach would be to provide a separate render canvas class as the 
SVG project [2] currently does where one is able to implement the tag methods. 
Another idea could be to have a combined render canvas where you select the 
right canvas before you "draw".

1. What is the best way to deal with many markups in Seaside and is there any 
   (standardized) support/pattern to support more XML like languages or a canvas mix? 

2. Some of these XML languages provide an DTD/XSD, is there already some tool
    support to get an initial implementation from such a metadescription.

Any thoughts?
    
Thx
Torsten

[1] http://en.wikipedia.org/wiki/MathML
[2] http://www.squeaksource.com/SeasideDynamicSVG.html
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the seaside-dev mailing list