Your experience on this site will be improved by allowing cookies
MVC
=>How to use a PHP MVC framework that's easier than Laravel
=>Simple Create, Read, Update, Delete (CRUD) for database records
=>User registration and login, with account activation by email
=>Role-based access control
=>Uploading and processing files
=>Support directly from the instructor
=>Short, specific lectures
=>All source code included
Requirements:
> You need to know PHP, including the basics of classes and objects, and how to work with a database
> Ideally have a web server with PHP and Composer installed, but a brief overview of installing these will be covered
> Be happy to install software and run basic commands on the command line
Description:
CodeIgniter 4 is a modern, fast, lightweight, PHP MVC framework that allows you to build secure applications quickly and easily. It's simple to install and use, and works well on shared hosting. CodeIgniter provides a rich set of libraries for common tasks, which lets you focus on your project by minimizing the amount of code you need to write.
Learn how to develop PHP applications with CodeIgniter in this Comprehensive Course.
> How to quickly install and configure the framework
> Learn how to separate presentation code from application code
> How to do CRUD (create, read, update, delete) operations
> Signup: User account registration with the official Shield package
> Authentication: login with remember me
> User administration
> Role-based access control
> Account activation by email
> File uploads and image processing
> Deployment: installing the application on shared hosting
The essential skills required to develop applications quickly using CodeIgniter.
Developing PHP web applications is faster if you use a framework. There are many available frameworks, but some require a lot of configuration to get started, and need a powerful server to run. CodeIgniter is a lightweight but powerful framework, that's easy to install, and works well on shared hosting. On this course, we'll start from scratch, starting with installing the framework, through developing a complete web application, to ultimately installing it on a live server.
Content and Overview
This course is designed for the PHP developer who wants to learn the CodeIgniter framework in depth. I designed the course to be easily understood by PHP developers who have no previous experience of a framework, and who want to develop full, feature-rich applications quickly and easily. Learning the techniques on this course will enable you to write web applications using CodeIgniter faster than you would be able to do in plain PHP.
> Suitable for all PHP developers, you'll start by learning the basics of the CodeIgniter framework.
> You'll learn how the framework is organised, and how to work efficiently with it.
> We'll build a full web application from scratch, with each concept explained in detail at every stage.
> Throughout the course, we'll build code that you can reuse in all your projects.
> All the source code developed in the lectures is available to download.
> All the time we'll adhere to industry standards and best practices.
When you complete the course you'll be able to use CodeIgniter to create fast, flexible web applications, with all the features a modern web application requires.
Complete with all the code shown in the lectures, you'll be able to work alongside the instructor and will receive a verifiable certificate of completion upon finishing the course.
Also, at all times throughout the course you have access to the instructor in the Q&A section to ask for help with any topic related to the course.
Enrol now and become a master of the most popular lightweight PHP MVC framework!
Who this course is for:
> PHP developers who want to learn a lightweight but powerful framework to develop applications faster
> PHP developers who want to use a framework that's simpler than Laravel
Install a Web Server with PHP, Database Server and phpMyAdmin
Create an Empty Database in the Local Database Server
Install Composer
Install the CodeIgniter Framework
Configure the Framework to Development Mode
Configure the Web Server to Access the Framework using a Virtual Host
Configure the Framework's Base URL Setting
A Word about Versions
Upgrade Guide
Common Installation & Configuration Issues and their Solutions
MVC Basics: How a Framework is Different to Plain PHP
View Basics: Create and Display the Homepage
Add Another Controller and View to Display a List of Articles
Addendum: Changes to the Routing File from Version 4.4.0
Routing: How CodeIgniter Decides Which Controller and Method to Run
Reduce Code Repetition by Using Multiple Views
Include One View in Another
Pass Data to a View from a Controller
View Layouts: Create a Base Layout for Common View Code
Change the Home Index View to Extend the Default Layout
Change the Articles Index View to Extend the Default Layout
Display Dynamic Data in a View
Configure the Framework to Connect to the Database
Check if the Database Connection Credentials are Correct
Database Migrations: Add a Class to Create a Database Table from PHP
Create the Database Table by Running the Migration
Models: Connect to the Database and Select Data Automatically
Debugging Tools: the Debug Bar and the dd Function
Add a Method and Route to Show an Individual Record
Retrieve the Data for an Individual Record and Display it in a View
Add Robust Links Between Pages Using the site_url Helper Function
Display a Page for Adding a New Record
Add a Form with Input Elements
Add a Classless Stylesheet to Get Styling Quickly
Process the Submitted Form and Get its Data
Use the Model to Insert a New Record
Validate the Form Data with Validation Rules in the Model
Redirect Back to the Form and Display the Validation Error Messages
Show Old Data in the Form When it's Redisplayed
Change the Default Validation Messages
Redirect to the Show Page with a Flash Message if Validation Passes
Prevent XSS Attacks by Escaping Untrusted Data
Add a Form to Edit an Existing Record
Process the Submitted Form and Update the Record
Extract Shared Form Code out into a Shared View
Entity Classes: Create a Class to Represent a Single Database Row
Use an Entity Object in the Views
Change the Create Method to Use the Article Entity Class
Detect if Any Attributes Have Changed When Updating Using the Entity Class
Extract Common Controller Code out to the Constructor
Show a 404 Not Found Page if the Record isn't Found
Add a Confirmation Page for Deleting a Record
Process the Confirmation and Delete the Record
Autorouting: Match URL Segments to Controllers, Actions and Parameters
Use Named Routes to Make the Code Less Fragile
Spoof the HTTP DELETE Method When Deleting a Record
RESTful Routing: Start Converting the Routes
Convert the Route to Delete a Resource to be RESTful
Generate Most of the RESTful Routes Automatically
Install CodeIgniter Shield
Register a New User and Log In and Out
Remember the Login Between Browser Sessions
Configure the Framework with an SMTP Server to Send Emails
Send a Test Email to Check the Configuration is Correct
Use a Magic Login Link if Password Forgotten
Enable Account Activation by email
Customising Shield Views: Remove the Username Field from the Register Page
Customise the Registration Form Server-Side Validation Rules
Add an Input for the User's First Name to the Registration Form
Add a Column for First Name to the Users Table
Create a User Provider Class to Save the First Name to the Database
Display the First Name on the Homepage When Logged In
Display a Form for the User to Reset Their Own Password
Add a Method to Process and Validate the New Password
Update the User in the Database with the New Password
Show the Set Password Page after Using a Magic Login Link
Add a Controller in a Module for User Administration
Add a Routes Config File to the Admin Module
Use the User Model to List all the User Accounts
Paginate the List of User Records
Order the List of Records and Add an Index to the Database Table
Show the Details of an Individual User Record
Use Different Methods to Specify the Admin Module Routes
Link the Index to the Show Page and Humanize the Created At Field
Add a Helper to Display Boolean Values in Views
Add an Option to Ban Users to Prevent Login
Require the User to Login to Access a Specific Method
Create a Filter to Require Login for All Controller Methods
Specify Filters in the Routes Configuration File
Use the Shield Session Filter to Protect the User Admin Routes
Protect Against Cross-Site Request Forgery Attacks with the CSRF Filter
Add Consistent Navigation Links to the Layout
Define the Groups for Authorisation Roles
Use a Seeder to Create an Admin User
Restrict Access to User Administration to Admin Users Only
Add a Form to Edit User Group Membership
Assign the Selected Groups to the User
Prevent the Current Admin User from Removing Their Own Access
Link Article Records to Users in the Database
Save the ID of the Current User when Inserting a New Article
Display the Article Creator in the Index Using a Join Clause
Add Timestamp Columns to the Article Table
Update the Timestamp Columns Automatically and Paginate the Article Index
Only Display Edit and Delete Links to the Article Creator 01:54
Assign Permissions to Groups
3 Reviews
1 month ago
I'm Nikitha, and I recently took the CodeIgniter for Beginners: Build a Complete Web Application course. The course was fantastic! It broke down complex concepts into simple steps, making CodeIgniter easy to learn. The practical project was a great way to apply everything in real time, and I now feel confident in building web apps from scratch. Perfect for beginners!
1 month ago
My name is Vickey, and I completed the CodeIgniter for Beginners: Build a Complete Web Application course. It was a clear and practical introduction to CodeIgniter, helping me build a web application from scratch with ease
2 months ago
My name is Bharathi, and I recently completed the CodeIgniter for Beginners: Build a Complete Web Application course, and it was an excellent experience! The course was well-structured, providing a step-by-step approach that made it easy to grasp the fundamentals of CodeIgniter. The hands-on projects were particularly valuable, allowing me to apply what I learned by building a complete web application from scratch. The instructor was knowledgeable and supportive, always ready to clarify any doubts. I highly recommend this course to anyone looking to get started with CodeIgniter and web development!
Niranjan Sivathapandian