Add a router to handle fragment identifier
Set up a listener of the router in the scene to update it
Start Backbone.history (eventlistener of the router) when all the project is loaded
Include router.js to all the test file
<?php
require_once(realpath(dirname(__FILE__) . "/../resources/config.php"));
require_once(LIBRARY_PATH . "/templateFunctions.php");
require_once(LIBRARY_PATH . "/dbFunctions.php");
$variables = array(
'renkans' => listProjects()
);
$css = ['static/lib/foundation/css/foundation-icons.css'];
renderLayoutWithContentFile("home.php", $variables, $css);