
In this video we gonna talk about the overview of this course and what you will be able to do after finishing it.
In this video we gonna install Apache XAMPP in order to run our project locally. Using XAMPP, will allow us to work with PHP, MySQL and other required features we need.
In this video we set up the root directory of our project. We do this because XAMPP will not recognize by default our project's folder from the htdocs folder. This will also prevent from having troubles when we will use the include and require PHP functions to get files.
In this video we create the folders for our project.
In this video we gonna download the external resources we need for our project: Font Awesome, Bootstrap, GEOPlugin, PHPMailer and jQuery.
In this video we gonna add the external resources to our project.
In this video we gonna create the database and the members table where our users will be stored.
Here we create the logs table. This table will store the information when a user will log in.
Now is time to create the constants file, here we store the static values that we gonna use across the project.
In this video we make the options file, where the dynamic values will be stored.
Now is time to create the debug file, here we enable or disable the display of PHP errors.
Now we create the functions file that will have the function to crypt the password and the function to output errors. We gonna also put together all files into one.
In this video we implement GEOPlugin in our project to get information about user's location.
In this video we finish the script that gets the user's location.
In this video we setup the PHPMailer.
In this video we start creating our Database class.
In this video we finish the Database class.
Int this video we start creating the Member class.
In this video we finish the Member class with the exception of the database check that we gonna do later in the course.
In this video we start creating the Router class.
In this video we work at the Router class.
In this video we work at the Router class.
In this video we work at the Router class.
In this video we finish the Router class.
In this video we create the Controller class.
In this video we finish the Controller class.
In this video we start creating the Model class.
In this video we work at the Model class and create the delete method.
In this video we work at the Model class and create the update method.
In this video we work at the Model class and create the get method.
In this video we work at the Model class and create the add method.
In this video we create the UserModel class and the validate session method.
In this video we create the .htaccess file that will handle the requests for us and redirect them to index.php file.
In this video we create the script that will load automatically our classes.
In this video we create the main controllers (IndexController and NotFoundController) with their views and their routes.
In this video we create the header template.
In this video we create the footer template.
In this video we gonna create the sidebar template.
In this video we finish the user interface structure.
In this video we create the RegisterController and we start creating the view that will contain the form.
In this video we work at the register form by adding the fields.
In this video we continue working at the register form.
In this video we finish the register form.
In this video we start creating the AJAX function for register.
Learn to implement an ajax registration flow, display messages, show loading state, disable inputs, and handle success or error responses from the server.
Build a register controller in a php mvc ajax course, create a register model, and implement a post-based register action that returns a json status and message.
Debug the register controller to load the correct model and enable ajax interactions. Test the ajax flow with updated javascript setup and verify json responses.
learn to build the register controller in a PHP MVC AJAX course, validating referer and form fields, returning JSON responses, and enforcing all fields mandatory before database insertion.
Discover how the register controller validates first name, last name, and email in a PHP MVC AJAX course, including length and letter rules, and email availability checks.
Implement a PHP mvc ajax registration flow by sending an activation email with a link, via the register controller, enabling login after delivery.
Learn to implement the register and activation flow in a PHP MVC AJAX app: configure settings, send activation emails, create activate account, and add a login controller and routes.
Create and implement an ajax-based login function, handling form data, showing loading states, decoding JSON responses, managing success redirects, and robust error and field reset logic.
Create the loginAction method to validate login requests from your URL, handle email and password, manage remember me, and authenticate the user via the model and database.
Learn to implement a secure login in a PHP MVC AJAX app by building the UserModel login method, validating credentials, managing sessions or cookies, and logging user activity.
Implement the forgotAction flow by validating requests and verifying the email, then generate a temporary password, update the user record, and send a reset email.
WATCH THE FIRST 6 VIDEOS FOR FREE WHERE YOU WILL LEARN HOW TO STRUCTURE THE PROJECT!
DOWNLOAD ANYTIME FOR FREE THE SOURCE CODE OF THE PROJECT TO HAVE COMPLETE CONTROL OVER THE KNOWLEDGE AND TO AVOID MISTAKES!
EVERYTHING EXPLAINED CLEAR! NO NEED TO GUESS!
The course will teach you mainly how to create:
A simple website using PHP MVC (Model View Controller) architecture
Login system
Register system with email activation
Forgot password system using email recovery
Change password system
For our login and register system we will use:
PHP (Model View Controller architecture)
PDO
phpMyAdmin
AJAX
JavaScript
HTML
CSS
Boostrap
Font Awesome
Apache XAMPP
Creating a project like this is an excellent way to learn the foundation of a MVC framework which will help you when you'll work with Laravel or other frameworks.
This project it's also highly recommended to be used for students when learning in colleges/university and present it as a project. If you choose to do so, we recommend to do some slightly changes to design or code in order to be unique. Because for sure you don't want your teachers to say that they already saw this project on another student.
Be unique and challenge yourself!