Chapter 4. Setting Up Student Portal
In the previous chapter, we went over a few advanced concepts such as the new features that are part of PHP 5.4 and 5.5, using unit testing to test individual units of an application, and different methods of connecting to the MariaDB database server in order to retrieve data. In this chapter, we will use all the concepts that we have learned in the earlier chapters to build an application. Until now, we have used PHP CLI to execute most of the scripts that we have worked with. In this chapter, we will use PHP to build an interactive student portal. Using this student portal, we can perform the following tasks:
- Setting up the nuts and bolts of our application
- Setting up MVC
- Adding a student
- Listing all students
- Adding a course
- Listing all courses
- Registering a student to a course
- Viewing all registrations
We will use HTML, PHP, and MariaDB to accomplish these tasks.