Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Develop a perfect ORM like Laravel Eloquent
Rating: 4.4 out of 5(13 ratings)
105 students

Develop a perfect ORM like Laravel Eloquent

Develop a powerful object relational mapping system like Laravel Eloquent in PHP
Last updated 8/2020
English
English [Auto],

What you'll learn

  • You will learn how to simulate Mysql tables and relations in PHP
  • You will learn how to create optimized queries and eager load relations
  • You will learn how to do all types of database operations with classes and methods
  • You will learn how to create a powerful ORM from scratch

Course content

9 sections48 lectures6h 24m total length
  • Introduction5:34

    Develop a perfect orm with object oriented methods to map models to database tables, perform CRUD operations, and load relational data efficiently using a base model class.

  • Download & install tools3:05

    Identify and install tools, including Apache, MySQL, and the Zamp package, for Windows, Linux, or Mac OS; set up a code editor (Visual Studio Code) and workspace, and verify localhost.

  • Configure server and restrict user access5:20

    Configure Apache mod_rewrite to prevent direct access to resources, enable rewrite engine, and redirect unauthorized requests to the base workspace while selectively allowing images and scripts.

  • Code index file and autoload classes7:13

    Build a PHP autoloading system by defining a root path, creating a core namespace, and loading core\user on demand to resolve class not found errors and use the All method.

Requirements

  • Basic PHP
  • Basic Mysql
  • Basic object oriented skills

Description

If you ever wanted to develop a powerful Object relational mapping system (ORM) and enhance your object oriented skills, then this course helps a lot. Having basic knowledge of object oriented programming, the course is designed for programmers who are tired of writing short and long SQL queries in PHP applications and want to learn how to query database in a structured and optimized way with object oriented classes and methods. This is specially beneficial for beginner Laravel developers who struggle working with Eloquent  ORM. Learning how to create a powerful ORM, it will be fairly easy for developers to work with Eloquent or any other ORM. In this course you will learn how to build and execute most complicated  queries with classes and methods in PHP without writing long boring SQL queries. We will implement a library of classes that will help us from creating and executing any type of query to optimizing queries and loading complex data and relations. All in details. Course will be updated to introduce more complicated query methods and also execution of a list of complicated queries will be instructed.

Who this course is for:

  • PHP developers who want to learn how to use mysql in an efficient and optimized way in their apps
  • Laravel developers who want to master Eloquent
  • Programmers who want to enhance object oriented skills