* * There is no need for use some framework. * This example shows analytics, OOP, PHP, programming and English skills. * * For this example index is shortened (functions, css, php, html). In real situation it will be in separated files. * * For website example look at http://www.tartaletka.cz/ (my girlfriend's website created by me). */ require_once 'lib/Writer/IWriter.php'; require_once 'lib/Writer/XML.php'; function __autoload($class) { require_once 'lib/' . $class . '.php'; } $world = new World(new XML()); $life = $world->simulate(); ?> <style type="text/css"> table { border-collapse: collapse; } table td { width: 10px; height: 10px; text-align: center; border: 1px solid #eeeeee; } </style>