Replaced the vendor specific autoloaders with Composers generated autoloader for all PHP dependencies.
Renamed home.php to cms.php
Updated the PHP bootstrap to:
- include a custom view renderer.
- Added a config for the actual template location.
Updated custom view renderer to actually do something, now runs a two step render, first the page contents, then the a container template to wrap the content.
Added a .htaccess file with mod-rewrite rules.
Added the aura/sql library as a dependency for the project.
Added style and image files from the Skeleton CSS framework project, along with my own custom styles in app.css.
Updated the port for vagrant hosts.
Moved container.php to ./admin/container.php for the admin styles.
Updated the headers to include additions from the Skeleton CSS project.
Created an initial template for the admin home page, it's a list of articles, that's it.
Created an initial article create form.
Created a table schema called article, for storing article data.
Added App\Model\Article to handle interactions with the article table.
Created an routes file for the /admin/* section of the site.
Renamed create.php to form.php
Updated the form to take some parameters and be usable as both a create and update form.
Updated inputs for the article create endpoint.
Removed the $article checks on the radio button values.
Added a route for updating an article.