Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Object Oriented PHP and MVC
  • Table Of Contents Toc
Object Oriented PHP and MVC

Object Oriented PHP and MVC

By : Brad Traversy
close
close
Object Oriented PHP and MVC

Object Oriented PHP and MVC

By: Brad Traversy

Overview of this book

In this course, we will go step-by-step to build a complete custom MVC (Model View Controller) framework called TraversyMVC using object-oriented PHP. We will build something like CodeIgniter, but much lighter. This framework is completely open source, and you are free to change the name, add elements, and use it as your own in your own projects. This framework will include: - • A core library class to load controllers and methods from the URL (also using .htaccess). • A base controller class to load models and views. • A custom database library using PDO for all models to interact with the database using prepared statements. We will not only create the framework but will build an application on top of it called SharePosts which will comprise something akin to a social network to share posts. This application will include: - • Full user authentication • Access control for posts • Server-side form validation • Bootstrap 4 UI • Posts CRUD • Helper functions (flash messaging and redirects) We will also deploy the application to the Internet. This is not a beginner PHP course. To learn the basics, please check out the PHP Front-To-Back series by Traversy Media. All the code and supporting files for this course are available at - https://github.com/PacktPublishing/Object-Oriented-PHP-and-MVC
Table of Contents (7 chapters)
close
close
You're currently viewing a free sample. Access the full title and Packt library for free now with a free trial.
Chapter: 3
The Framework [Part 1] - The Core
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
Icon Icon
ShowHide Transcripts Icon
Visually different images
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Object Oriented PHP and MVC
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon