https://mattmiss.greenriverdev.com/SDEV328/public_library_TeamEZ/
https://github.com/BigGeF/public_library_TeamEZ/
- Matt Miss
- Hao Fan
- Brandon Viorato
Database in contained within the DataLayer class while all logic is within the Controller class. All HTML pages are in the Views.
All routes are defined in the index.php and routed with Fat-Free within the controller.php. HTML pages in the Views all use Fat-Free templating.
Database is instantiated inside the DataLayer and never used outside the DataLayer class. All statements and queries use PDO with prepared statements.
Library items can be searched and added to a users borrow list. Items are added to the Database and can be removed by returning an item.
5) Has a history of commits from both team members to a Git repository. Commits are clearly commented.
-
Hao - 30 commits
-
Matt - 27 commits
-
Brandon - 9 commits
User class used for all users. Item class is the parent class for all library items. Book class and Magazine class both inherit from the item class. The Audiobook class inherits from the Book class. Each class contains only the properties and methods needed for that class.
All PHP files are commented with PEAR standards
Login, Signup, and Contact forms all have server-side validation. Errors are shown in each form.
Code used throughout the site, such as the header file, are included in each file in order to keep the files clean and easy to edit in a single place.
Many late nights have been put into this project from all members.
User Login (with some borrowed items)
- Username: [email protected]
- Password: password1234
Admin Login
- Username: admin@[email protected]
- Password: password1234
- Report unfortunately does not reflect Hao Fan's 27 contributions correctly