// root index.php /* auto loads all classes and instantiates the app */ setRoutes(); ?> // ./models/Test.php /* Main app page where routes are declared and loads the views */ setRoutes(); ?> // ./models/Route.php /* Creates route setting method and verifies route location Invoking the $function causes the route to be intantiated */ __invoke(); } } } ?> // ./models/View.php /* Creates the view and calls on it's controller (if any) */ // ./models/Data.php /* Currently just returns data that was entered on the front end This will be rewritten to better handle AJAX calls */ // ./controllers/index.php /* Handles the logic and will interface eventually to the db */