
Set a daily learning goal, take immediate action, and stay motivated to finish the PHP MVC CodeIgniter beginners course, applying the skills to advance your career.
Download the student and exercise files, including assets and the Ignitor version, to follow the course setup with completed lecture files and ongoing updates.
Learn what CodeIgniter is, a PHP framework with pre-defined functions, and how MVC—models, views, and controllers—separates database logic from presentation to streamline development.
Install CodeIgniter by downloading the 3.x version from codeigniter.com and unzipping it into a local server folder, then access via localhost as you begin exploring models, views, and controllers.
Explore the CodeIgniter file structure by examining the application's controllers, models, and views, and learn how the welcome controller loads a view with load->view.
Learn how CodeIgniter loads controllers and their methods to render views, understand index methods, and build a custom controller with a corresponding view in a PHP MVC workflow.
Create a custom home controller in the controllers folder, extend CodeIgniter's CI_Controller, and load a view to display content; the controller will communicate with a model in the next lesson.
Create a database and a users table in phpMyAdmin, then build a user_model to communicate with the database in CodeIgniter.
Create a users controller to communicate with the user model, load the model, and implement a show method that fetches users in the CodeIgniter MVC framework.
Learn how to auto-load a model in CodeIgniter and connect to the database, switching from manual model loading to automatic loading, configure database settings, and perform a basic get query.
Explore processing a model result in a controller with a for each loop, transitioning to using views. See how database rows become object properties and are echoed before view integration.
Explains transferring data from a controller to a view in a CodeIgniter mvc project by loading the user model, passing an array, and displaying results with a loop.
Learn how to work with a database using create, read, update and delete operations in PHP MVC with CodeIgniter, without needing to write a long list of queries.
Learn to use CodeIgniter helper functions to perform crud operations: create, read, update, and delete, and practice querying the users table with fields and row counts.
Learn how to fetch records in CodeIgniter by using where clauses with a user id, pass results from the controller to the model and view, and handle arrays of objects.
Master CodeIgniter query building by using the where method with an associative array to combine multiple conditions like user id and user name, enabling precise results via the model-view-controller flow.
Create an insert function in the users controller to add new user data via the model, passing an associative array with a username and password to the CodeIgniter insert method.
Learn to update data in a PHP MVC CodeIgniter project by adding an update method to the users controller and model, passing an ID and new data.
Implement a delete feature in a CodeIgniter MVC project by adding a controller method that passes a user ID to the model to delete the corresponding record.
Launch a hands-on project to learn ignitor within the PHP MVC framework, extending with ongoing lectures and adding features as ideas emerge, including building a login app.
Download and organize assets for an Ignitor MVC project by fetching bootstrap, creating an assets folder with css, js, fonts, and icons, and preparing to link them.
Create a main layout under application/views/layouts to standardize pages with a single template. Link assets and bootstrap from the assets folder using base_url, then test by loading localhost.
Set up the main file structure for a CodeIgniter PHP MVC project and load the home view into a bootstrap layout by passing a data array with the main content.
Load a login form into the sidebar in CodeIgniter by creating a login view under views/users and dynamically loading it into the main page, with login state controlling access.
This lecture demonstrates starting a login form in CodeIgniter using form_open, passing action and attributes, and loading the form helper to activate the form in the view.
Create a username input in CodeIgniter using form helpers, wrapped in a Bootstrap form-group with a label, using a data array to set name and placeholder enter user name.
Create a password input with the same class and a label, using a unique name and placeholder, then add a submit input with its own class, name, and a value.
Learn how to process a login form in CodeIgniter using the input post method to retrieve the username and test form data, with practical notes on controller and view setup.
Master form validations in a PHP MVC CodeIgniter project, continuing hands-on learning as you apply validation techniques to the project.
Learn to implement form validation in CodeIgniter by loading the form validation class, setting rules for username and password with trim, required, and minimum length checks.
Learn to implement form validation in a CodeIgniter PHP MVC app by setting rules, trimming input, and using sessions to preserve values and show validation errors on login.
Apply form validation part 3 in a CodeIgniter PHP MVC app by using sessions and flash data to display errors, perform redirects, and guide login flow.
Explore form validation with a confirm password field using a matches rule, customize error messages, and prepare to implement a user model in a CodeIgniter PHP MVC project.
Implement the else condition for validations in a CodeIgniter PHP MVC app, checking user existence, handling redirects, and wiring a login function in the user model returning the user ID.
Create a login_user method in the user model that queries the database with username and password using where clauses, returning the user id on success or false on failure.
Learn how to fetch a user in CodeIgniter, build a user data array, store it in session (id, username, login), and redirect, with an else path for login failures.
Set up a session flash data notification named logging success to show 'you are now logged in' in the home view, styled as a bootstrap success alert.
Display login and logout forms conditionally in a CodeIgniter mvc app, using sessions and flash data, showing logout when logged in and hiding login when not logged in.
Create a logout form in the PHP MVC CodeIgniter tutorial, using form_open to post to the users/logout method, and display the current user from session data with a logout button.
Create the logout method that destroys the user session and redirects to the home page, enabling a smooth log-out flow and preparing an admin view after login.
Learn how to load an admin homepage view after login in a PHP MVC CodeIgniter project, wiring controllers and views and organizing front and back views.
Congratulations on reaching the end of the course; you may see more lectures as I update my courses, and please leave a review and rating to keep my motivation alive.
Create an arendse application that saves projects and their tasks in a to-do style organizer; learn CodeIgniter while building multiple projects and marking tasks complete.
Enable clean, pretty urls in a CodeIgniter project by modifying index.php and configuring rewrite rules with a security .htaccess file. Learn to map controllers and methods for seamless navigation.
Add first name, last name, email, and registration date to the users table, and implement a user registration page in the CodeIgniter MVC project.
Create a register view in the CodeIgniter project, replacing the login view, and implement a registration form with first name, last name, email, username, and password.
Implement a register method in the users controller to load the register view and prepare data. Challenge yourself to add validations for all fields and echo errors.
Define and test registration form validations in a PHP MVC CodeIgniter tutorial, enforcing required fields, min length, and password confirmation, then redirect on success.
Build a top navigation bar in CodeIgniter by integrating Bootstrap components, enabling JavaScript and jQuery, and wiring home and register links to the proper routes and controllers.
Test the registration form validation and display errors with a helper. Wire up a create user method by configuring the controller and model in CodeIgniter.
Create the user model to insert registration data into the users table using an array of first name, last name, username, email, and password from input post.
Test user creation via the CodeIgniter mvc flow using the user model and redirects. Verify the outcome in the database and consider login and admin area access.
Create a user and show a success message on the home page with flash data in a CodeIgniter php mvc flow, then hash passwords using password_hash with a configurable cost.
Update the login flow by removing the where clause, fetch the password hash from the database, and verify it with password_verify against the user input.
Begin creating the project speech and do a bit of coding. Embrace mistakes as learning opportunities and seek help through the Facebook group or email.
Create a projects home page by setting up a projects view and controller, loading a view to list projects and their tasks, with login protection planned for the next lecture.
Create the projects table with id as primary key auto increment, and columns project name and project body (varchar 255). Insert sample data like BHB and JavaScript to display later.
Enforce access control on the projects page by checking the user session for login status, redirecting not logged-in users to home, and using flash data to display not allowed messages.
Learn to create a projects model, implement get_projects in the controller, fetch data from the projects table, and pass it to the view to render the projects page.
Bootstrap the PHP MVC project by loading the project model, querying the projects table, and passing a project array to the view for each loop of project name and body.
Create a projects display view and a display function in the controller, load the project data, and link to projects/display for viewing each project.
Create a project display view with bootstrap-styled links for create task, edit project, and delete project, using list-group items and right-aligned anchors to organize actions.
Build the projects page using Bootstrap classes and tabs, align actions to the right, and implement a logout link with a conditional logo display based on login status.
Learn to display a specific project by ID in a PHP MVC app by wiring the controller to the model and the view, and querying the database.
Learn to display a specific project's details in a CodeIgniter PHP MVC app by passing the project id via GET and retrieving data in the display view from the model.
Enhance the project view by adding a creation timestamp column, displaying project name and created date, and enabling per-project task creation, editing, and deletion, with Bootstrap options later.
Display the project description in the project view, then add a styled button that links to the project controller's create method to initiate the CRUD flow.
Implement the create method in the project controller to validate inputs, load project create view, and prepare data such as project name, description, and user id from session for insertion.
Implement the create method for the project controller, validate input, create a project via the model, set a notification, and redirect to the projects page.
Develop a create_project model method to insert data into the project table, and build a create project view form (project name and body) to submit via the projects controller.
Configure the create project view and controller in a CodeIgniter PHP MVC setup to add projects, then create a sample bootstrap project with a name and description.
Learn to implement the project edit method in a PHP MVC CodeIgniter app by creating an edit view, wiring the form, validating input, and updating project data.
Implement the edit project method in the project model to update project data by id, return success, and prepare the edit form with current values.
Create a get projects info method in the project model to fetch data by project ID from the database and pass it to the controller to fill the edit form.
Edit projects in the PHP MVC CodeIgniter framework by updating the project form, passing the project id, and debugging to ensure the update saves correctly.
Implement delete functionality for projects in CodeIgniter tutorial by adding a delete button, a controller method, and a model call to remove a project by id, with a flash message.
Set up a custom delete link and on-page notifications in a CodeIgniter project, wiring the delete action to a project id and displaying bootstrap-styled alerts.
Learn to display user-specific projects on the homepage by checking the session, retrieving the user id, and querying all projects via the project model for the view.
Add a user-scoped query in the project model to display only the logged-in user's projects, then render them in the home view and adjust navigation links.
Fixes login redirect to the home page, resolves missing project data in the home view with a conditional display, and enhances the page with a Bootstrap jumbo welcome message.
Build a task feature by creating a controller and a corresponding task model, and relate tasks to the project within the PHP MVC CodeIgniter tutorial.
Create a tasks table in the database with id, name, body, and created timestamp, then build a tasks controller and a Task model to manage project tasks.
Learn to implement a tasks display method in the task controller, connect the task model, and create a display view to show tasks by project.
Display an individual task in a PHP MVC CodeIgniter app by fetching by id in the model and rendering the task name and created date in the display view.
Add a project_id column to tasks, link create task actions to a specific project, and implement a task controller create method mirroring the project controller, including a create task view.
Demonstrates creating a task for a specific project by updating the task controller, designing the tasks view, and wiring links from the project display to insert tasks into the table.
Use the CI URI class to read the project ID from the URL and create a task with a due date, updating the view and model accordingly.
Enhance the project management app by adding task links to the tasks table, enabling edit and delete actions, and building corresponding edit and delete views with correct task id handling.
Copy the create method to build an edit task method in the controller, update the view to an edit form, and fetch the task and project data for prefilled fields.
Learn to implement methods in the task model to fetch and update task data, including retrieving project IDs and project names from the projects table.
Fetch and display related project data in the edit task view, correct a faulty column reference, and populate form fields to prepare for updating the task.
Display the date in the tasks view, echo the value, and verify the column data while debugging a non-object error in the CodeIgniter project.
Fix a PHP CodeIgniter MVC project by implementing a redirect to the project's homepage after an update, and add a success notification for task updates.
Resolve a bug in the edit method by passing the task id and updating the task instead of creating a new record, and align redirects and notifications.
Create a project and tasks, fix the edit task view error by correcting the project_id, and plan to display tasks per project using a join of projects and tests.
Master joining tables in CodeIgniter's PHP MVC framework to display information from two tables in a dynamic table with one piece of code.
Join the test and judges tables with Code Ignitor's db select to display combined task data, and add a status column marking zero as not completed and one as completed.
Learn how to join tables in a PHP CodeIgniter project by building conditional queries based on status and returning results or false.
Display joined tasks and projects in a CodeIgniter MVC app by looping results to show task names, project names, and IDs with links, and handle no tasks pending.
delete tasks in the project and learn to redirect tasks after the election, while staying motivated and seeking help if you get stuck.
Learn how to delete tasks in a PHP MVC project, including adding a delete method in the task model and controller and updating links to the specific project display.
Redirect back to the specific project after deleting a task by passing the project id through the task display view and controllers.
Delete a project and automatically remove its related tasks by updating the project controller and model. Verify removal by deleting the project and its task from the database.
UPDATED as of March 2016
BIGGEST CodeIgniter Course in UDEMY!
Hands on Real Life Project inside!
Do you want to really master PHP dynamic applications and website development?
Then this course will speed up the process by allowing you to learn how to use the most popular PHP framework in the planet, "CodeIgniter".
Coding in PHP or any other language can be time consuming, especially for common tasks. Using a framework is the best way to apply common tasks, like:
If you want to be a head of the competition and get paid more, then using a FRAMEWORK is the way to do.
High paying jobs require knowledge of frameworks, since speed and accuracy are crucial for the development team and company.
Having knowledge of using frameworks will allow you to find a hight paying job, or find a job easier than not having the skill at all.
My Personal Experience
My first job interview required a codeigniter knowledge and because I did not have the skill, I did not get the job even though I knew how to code in PHP.
That jobs started at 75K per year in the US and that could've propelled big time in my career, it wasn't until after I acquired this skill that jobs were pouring in from everywhere.
I created this course with the intention to provide you with the knowledge you need to use codeigniter to develop applications fast and efficiently. I also create this course to help you provide a great skill that will propel you in your web development career.
Why Codeigniter?
Because is the most popular PHP framework and is on demand for jobs and freelance projects.