Published On Oct 16, 2020
Let's make a router and continue our Active Record Pattern Php to make our ORM in PHP. Object-relational mapper (ORM) makes objects from database, and stores our objects in database. It's job is to make us objects based on the data from database, so that we can work with database values in Object Oriented manner.
We will also discuss problems that ORM (should) solve, how it works, and how to use it in real life.
Interested in learning real-life PHP design patterns?
➡️ https://www.applicableprogramming.com/
Join our Facebook group to follow the news and join discussion
➡️ / applicableprogrammers
or discord group if that is more your thing
➡️ / discord
If you are interested in programming courses related to web, please visit https://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.
➤ LINKS
➡️ Source on github: https://github.com/applicable-program...
(use tags to navigate between lessons)
➡️ Laravel Eloquent ORM: https://laravel.com/docs/8.x/eloquent...
➡️ Doctrine data mapper: https://www.doctrine-project.org/
➡️ Doctrine used in Symfony: https://symfony.com/doc/3.4/doctrine....
Other tutorials: www.ApplicableProgramming.com
Timestamps:
Intro (00:00)
Setup and traditional solution (04:56)
ActiveRecord - introduction and theory (17:47)
ActiveRecord in practice (24:04)
ActiveRecord in practice (34:00)