Do It Yourself – Website Tutorials
Let’s make one PHP Abstract class, and organize our code in modules in order to prepare for the CMS Administration. Abstract classes in PHP are similar to regular classes, except that they cannot be instantiated directly, and they can have some abstract properties and methods that have to be implemented by child classes.
If you are interested in programming courses related to web, please visit www.ApplicableProgramming.com to view courses where we show the problem, then we try to solve it the hard way, and then we show how we can benefit from proven solutions.
Need a hosting platform for your projects and portfolio? I’ve been using bluehost for over fifteen years for my personal and professional projects, and never had an issue or reason to use something else.
➡️ Find out more here https://www.bluehost.com/track/dakipro/
➤ LINKS
➡️ Source on github: https://github.com/applicable-programming/darwin-cms/tree/Lesson-8.Abstract_class
(use tags to navigate between lessons)
➡️ Private “Applicable Programmers” facebook group https://www.facebook.com/groups/applicableprogrammers
➡️ Laravel Eloquent ORM: https://github.com/laravel/framework/blob/7d76a86b6d66b3d0416463c80b759c4631148d76/src/Illuminate/Database/Eloquent/Model.php
➡️ Other tutorials: www.ApplicableProgramming.com
DISCLAIMER: Some of the links might be affiliated, which means that if you click on one of the product links, I’ll receive a commission. This helps support the channel and allows me to continue to make videos like this. I will never support or push a product I don’t believe in. Thank you for the support!
Timestamps:
Modules 00:00
Problem 06:59
Abstract classes explained 09:13
Implementation 12:47
source