OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Game of Life: an XSLT implementation

[ Lists Home | Date Index | Thread Index ]

Hi Roger,

I posted the updated "game of life" on my web site. It is now possible to
see the evolution of the game dynamically. You can check it at:
http://xml.netfolder.com/life-game

What could be useful now is to add parameters in the stylesheet to create
different configurations. Just declare the parameters at the beginning of
the stylesheet (global scope) and I'll manage to provide the front end to
set the params in the stylesheet. Doing so, we will kill several birds at
the same time:
a) Show a dynamic system created with stylesheets. Up to now, most of the
demos are static documents or do not allow several transformation through
time.
b) Client side transformation techniques. Most of the actual illustrated
transformation techniques are server side not client side. Unfortunately the
mainframe ghost came back to life with the web in its present incarnation
:-) 
c) Prototype instance based programming. Yes JavaScript is OO and the
index.html document proves it. 
d) A team work. I am tired of reading the political bullshit that too
frequently inhabit XML dev. Once in a while its good to see concrete stuff
and best practice in action :-) (Again, thanks Roger for your initiative,
and thanks to Len in advance for his intro - a bit of peer pressure Len :-)
and thanks in advance to anyone who wants to contribute, we will all learn
in the process.

You can download the files from:
http://xml.netfolder.com/life-game/package.zip

To len:
Len, if you can write an intro, your prose is better than mine (send it to
me via email and I will update the page and package)

To all:
It would be interesting if somebody else tries to port the index.html page
to Mozilla.

PS: for those of you curious about the code, please notice that I use
"prototype instance based programming" techniques with javascript which is
quite unusual with javascript. In javascript an object is not derived from a
class, it is a prototype. You can add new function or properties to objects.
For instance, you'll notice that I added new functions to a <div> element,
hence expanding its property set at run time. If you are interested with
such techniques, email me, I am organizing a webcast seminar.

Cheers
Didier PH Martin
http://didier-martin.com







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS