The requirements for the project are as follows:
Separates all database/business logic using the MVC pattern.
Routes all URLs and leverages a templating language using the Fat-Free framework.
Has a clearly defined database layer using PDO and prepared statements.
Data can be viewed, added, updated, and deleted.
Has a history of commits from both team members to a Git repository.
Uses OOP, and defines multiple classes, including at least one inheritance relationship.
Contains full Docblocks for all PHP files.
Has full validation on the client side through JavaScript and server side through PHP.
Incorporates jQuery and Ajax.
BONUS: Utilizes an API
-
We kept all database and business logic separate from each other and views but implementing an MVC patten. This is apparent from the models, views and controller folders.
-
We made heavy use of templating in our views, and every page routed to itself or another.
-
PDO used for all database interactions.
-
Data can be added and updated.
-
Both team members contributed to the project and worked side by side
-
Use of both a Question class for the object, and an interface meets our OOP requirements.
-
All php files, and JS files that were created by ourselves have full documentation
-
PHP and JS both validate user input to ensure full protection
-
jQuery and Ajax are used heavily for the main game
BONUS: The game itself utilizes an API for each question.