IdleCuriosity Creatures

Creatures

Macros in Creatures

V
Speedy
Spike
Archie
Spider
Milly
Millicent
Milly Tiptoeing
Millicent Tiptoeing
Worm
Wilbur
Hopper
Lady
Casey
Loopy
Mecha Inchworm
Snake
Snakes Together
Lizzy
Sally
Crabby
Taxi Crab
Serpent
Dina
Stan
Piggy
Grarfan Walking
Grarfan Flying
Rollo Rolled Up
Rollo Unrolled
Roderick
Roddy
Simon
Kate
Katie

Macros in Creatures

Macros in Creatures demonstrates how my creatures are constructed from macros designed by me(and a few by other people). Macros in Creatures is based on a mySQL database I am maintaining and comes in four flavours(though due to server considerations some may not work).
  • HTML - HTML data from the database is extracted by PHP output to XML format then transformed using XSLT to HTML. This is done offline so that it doesn't require any special client or server technology to make it work. The drawback is that any changes to the database aren't immediately available.
  • Server XML - The data is extracted from the database offline by PHP and output as XML this is then transformed to HTML on a browsers request. This method retains all the update faults of the HTML method but also requires a PHP enabled server with XSLT to work. Though if I wasn't storing the HTML seperately anyway I might save a little bit of space by doing it dynamically.
  • Cilent XML - The data is extracted by PHP as before but instead of using a PHP server to perform the transformation we allow the user's browser to do the work. This method retains the update problem but doesn't require the use of a public PHP server with XSLT. The main problem with this method however is that XML and XSLT transformations are not very widely supported my browsers and it seems that those that do support it don't support it very well.
  • Database - The data is extracted directly from the database by PHP and served to the browser as HTML. Updates to the database will take effect immediately and there's no tedious mucking around in hyperspace, oops, I mean no tedious mucking around with XML and XSLT. However this method requires a public server with both PHP and mySQL available.
e-mail:andrew@idlecuriosity.org