Write PHP Like a Pro: Build a PHP MVC Framework From Scratch
Write PHP Like a Pro: Build a PHP MVC Framework From Scratch, available at $109.99, has an average rating of 4.74, with 190 lectures, 4 quizzes, based on 3050 reviews, and has 12768 subscribers.
You will learn about Efficiently organise your PHP code into models, views and controllers Separate application code (PHP) from presentation code (HTML) Learn concepts like dependency injection, templating and middleware Best practices for handling errors and exceptions in PHP How frameworks like Laravel or CodeIgniter work Have pretty URLs instead of PHP filenames Object-oriented (OO) techniques such as inheritance, interfaces, abstract classes and more This course is ideal for individuals who are This PHP MVC course is meant for those who already know PHP but want to know how they can improve their code by using a framework. This course is not for you if you don't already know PHP. or The gap between learning PHP and using a framework can be large – if you've just learnt PHP and you're wondering what the next step might be, this course is for you. It is particularly useful for This PHP MVC course is meant for those who already know PHP but want to know how they can improve their code by using a framework. This course is not for you if you don't already know PHP. or The gap between learning PHP and using a framework can be large – if you've just learnt PHP and you're wondering what the next step might be, this course is for you.
Enroll now: Write PHP Like a Pro: Build a PHP MVC Framework From Scratch
Summary
Title: Write PHP Like a Pro: Build a PHP MVC Framework From Scratch
Price: $109.99
Average Rating: 4.74
Number of Lectures: 190
Number of Quizzes: 4
Number of Published Lectures: 190
Number of Published Quizzes: 2
Number of Curriculum Items: 194
Number of Published Curriculum Objects: 192
Original Price: $94.99
Quality Status: approved
Status: Live
What You Will Learn
- Efficiently organise your PHP code into models, views and controllers
- Separate application code (PHP) from presentation code (HTML)
- Learn concepts like dependency injection, templating and middleware
- Best practices for handling errors and exceptions in PHP
- How frameworks like Laravel or CodeIgniter work
- Have pretty URLs instead of PHP filenames
- Object-oriented (OO) techniques such as inheritance, interfaces, abstract classes and more
Who Should Attend
- This PHP MVC course is meant for those who already know PHP but want to know how they can improve their code by using a framework. This course is not for you if you don't already know PHP.
- The gap between learning PHP and using a framework can be large – if you've just learnt PHP and you're wondering what the next step might be, this course is for you.
Target Audiences
- This PHP MVC course is meant for those who already know PHP but want to know how they can improve their code by using a framework. This course is not for you if you don't already know PHP.
- The gap between learning PHP and using a framework can be large – if you've just learnt PHP and you're wondering what the next step might be, this course is for you.
Most modern PHP development uses a frameworklike Laravel or CodeIgniter. However, the jump from using basic PHP to using a framework can be difficult. This course bridges that gap.
Frameworks can make your PHP projects faster, easier to write and maintain, and more secure.
Learn to structure your PHP Code like a professional by building a PHP MVC framework from scratch.
-
Learn how to efficiently organise your code
-
Separate application code (PHP) from presentation code (HTML)
-
Have pretty URLs instead of PHP filenames
-
Develop advanced routing using regular expressions
-
Learn concepts like dependency injection, templating and middleware
-
Use object-oriented (OO) techniques such as inheritance, interfaces, abstract classes and more
-
Develop a full CRUD application using the MVC pattern
The essential skills required to understand and use a PHP MVC framework.
Developing PHP applications is faster and more secure if you use a framework. Learning how to use an MVC framework puts a very powerful tool at your fingertips. By developing your own from scratch, you’ll gain an understanding of just how each component works.
Frameworks like Laravel, Symfony and CodeIgniter all use the MVC pattern, so understanding how an MVC framework is put together will give you a strong background to more easily learn frameworks such as these.
Content and Overview
This course is designed for developers who know PHP but don’t know how to use a framework. I designed the course for developers 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 the framework you build, but also learn frameworks like Laravel much more easily.
-
Suitable for all PHP developers, you’ll start by learning the basics of a PHP MVC framework.
-
You’ll learn how to organise your code into models, views and controllers, and how to work efficiently with them.
-
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 your framework 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 PHP MVC frameworks!
Course Curriculum
Chapter 1: Introduction and Project Setup
Lecture 1: Introduction and Welcome: How to Get the Most out of the Course
Lecture 2: Install the Recommended Software
Lecture 3: Develop in the Web Server's Root Folder
Lecture 4: Configure the Web Server to Access the Code using a Virtual Host
Lecture 5: Addendum: Accessing the MySQL Console on the Command Line
Lecture 6: Create a Database in the Local Database Server
Chapter 2: MVC Basics: Models, Views and Controllers
Lecture 1: Retrieve Data from the Database using Plain PHP
Lecture 2: Format the Data Using HTML
Lecture 3: The MVC Pattern: How it Can Help You to Write Better Web Applications
Lecture 4: Adapt Plain PHP Code to Fit the MVC Pattern: Create a Model Class
Lecture 5: Adapt Plain PHP Code to Fit the MVC Pattern: Create a View
Lecture 6: Adapt Plain PHP Code to Fit the MVC Pattern: Create a Controller Class
Lecture 7: Organise Controllers and Models into Folders
Lecture 8: Organise Views into their Own Folder
Chapter 3: Controllers, Actions and the Front Controller
Lecture 1: Add Another Page: How NOT to Do it in an MVC Framework
Lecture 2: The Front Controller: Handle All Requests with One Script
Lecture 3: Add Another Controller and Select it in the Front Controller
Lecture 4: Remove Repetition by Dynamically Creating Objects and Running Methods
Chapter 4: Pretty URLs
Lecture 1: How to have "Pretty" URLs
Lecture 2: Enable URL Rewriting and .htaccess Files
Lecture 3: Add an .htaccess File to Rewrite all URLs to index.php
Lecture 4: Get the Value of the URL Path in the Front Controller
Lecture 5: Remove the Query String and Get the Controller and Action from the URL Path
Chapter 5: An Introduction to Routing
Lecture 1: Routes, Routing and the Router: Add a Router Class
Lecture 2: Add the Routing Table and Some Routes
Lecture 3: Match the Route Path to the Routes in the Routing Table
Lecture 4: Use the Controller and Action from the Matched Route
Lecture 5: Show a Message if no Route Matches
Chapter 6: Class Organisation: Autoloading and Namespaces
Lecture 1: Class Autoloading: Load Classes Automatically Without Having to Require Them
Lecture 2: Add an Autoload Function and Require the Router Class Automatically
Lecture 3: Try to Load the Controller Class Using the Autoloader
Lecture 4: Namespaces: What They Are and How to Use Them
Lecture 5: Organise Classes in Namespaces and Corresponding Folders
Lecture 6: Change the Autoloader to Include the Namespace
Lecture 7: Load the Controller in its Namespace
Lecture 8: The Root Namespace and Relativity: Load the Model in its Namespace
Lecture 9: Import a Class Into the Current Namespace With a Use Statement
Chapter 7: Advanced Routing using Regular Expressions
Lecture 1: Introduction to Advanced Routing: More Flexible Routes Using Patterns
Lecture 2: How to do Complex String Comparisons: An Introduction to Regular Expressions
Lecture 3: Match the URL Path to a Regular Expression
Lecture 4: Using Special Characters in Regular Expressions: Matching the Start and End
Lecture 5: Matching Patterns: Character Sets in Regular Expressions
Lecture 6: Repetition in Regular Expressions
Lecture 7: Match the URL Path to a Pattern Instead of a Fixed String
Lecture 8: Get Segments from the Matched String using Capture Groups
Lecture 9: Use Named Capture Groups to Name the Captured Segments
Lecture 10: Pass the Captured Controller and Action to the Front Controller
Chapter 8: Route Variables: Get Data from the URL Path
Lecture 1: How to Have More Flexible Routing with Route Variables
Lecture 2: Add a Route with Variables and Make Parameters Optional when Adding a Route
Lecture 3: Process the Route Path One Segment at a Time
Lecture 4: Convert the Segment with a Variable into a Named Capture Group
Lecture 5: Complete the Route-Matching Regular Expression
Lecture 6: Use the Generated Regular Expression to Match the URL Path
Lecture 7: Enable Literal Segments in the Route Paths
Lecture 8: Add a Route with Another Variable
Lecture 9: Wildcards and Negated Character Classes in Regular Expressions
Lecture 10: Match Any Value in the URL Segment for a Route Variable
Lecture 11: Route Variable Patterns and Shorthand Character Classes in Regular Expressions
Lecture 12: Enable Optional Custom Regular Expressions for Route Variables
Lecture 13: Match the URL Path in a Case-insensitive Manner
Lecture 14: Match Unicode Characters in the URL Path
Lecture 15: Add General Routes After More Specific Ones
Chapter 9: Dispatching: Following the Directions from the Router
Lecture 1: Dispatching: Create a Dispatcher Class and Use it From the Front Controller
Lecture 2: Create a Dispatcher Method to Handle the Request
Lecture 3: Pass Route Variables to the Action Method as Arguments
Lecture 4: Use Reflection to Get the Action Method Argument Names
Lecture 5: Match the Action Method Argument Names to Parameter Values
Lecture 6: Pass the Argument Values to the Action Method
Lecture 7: Allow Multiple-word Controller Classes and Action Method Names
Lecture 8: Convert the Controller Parameter to StudlyCaps
Lecture 9: Convert the Action Parameter to camelCase
Lecture 10: Add a Namespaced Controllers Option
Chapter 10: Views: Present the Data
Lecture 1: An Introduction to Views: Create a Viewer Class
Lecture 2: Add a Render Method and Use it from the Controller
Lecture 3: Pass Optional Data to the View when Rendering it
Lecture 4: Use Output Buffering to Load the Contents of the Template
Lecture 5: Organise View Templates in Subfolders
Lecture 6: Add Shared View Templates for Common Code
Lecture 7: Add a Title Variable to the Shared Header Template
Chapter 11: Dependency Injection (DI) and Autowiring
Lecture 1: An Introduction to Dependency Injection: Inject the Viewer into the Controller
Lecture 2: Inject a Model Object into the Controller
Lecture 3: Use Reflection to Get the Controller Constructor Arguments
Lecture 4: Autowiring: Create the Controller Dependencies from the Type Declarations
Lecture 5: Extract the Database Connection Code out into a Separate Class
Lecture 6: Add a Database Object as a Dependency to the Model
Lecture 7: Create All Dependencies in the Object Graph Using Recursion
Chapter 12: Managing Dependencies with a Service Container
Instructors
-
Dave Hollingworth
IT Trainer
Rating Distribution
- 1 stars: 15 votes
- 2 stars: 37 votes
- 3 stars: 189 votes
- 4 stars: 836 votes
- 5 stars: 1973 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Language Learning Courses to Learn in November 2024
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024