This workshop is an introduction into the Object Relational Mapper (ORM) Doctrine2. We will dive into the features of Doctrine in a hands-on workshop, building on a step-by-step tutorial to learn about the features of Doctrine and how they work internally. Starting from simple field mapping, topics like associations, object design and performance considerations will be discussed. At the end of the workshop you will have an overview of the functionality of the Doctrine library and an outlook on the possibilities Doctrine offers.
Topics covered in this course block include:
Benefits/Drawbacks
Overview of Doctrine2 Concepts
Field Mappings and Types
Change-Tracking and UnitOfWork Internals
Associations (1:m, m:1, 1:1, m:n)
Inheritance
Finding Objects
Doctrine Query Language
Native SQL Queries
Best-Practices
Length: 1 day
Prerequisites:
Detailed knowledge of object-oriented programming, including classes, objects, methods, and scopes.
Knowledge of PHP preferred but not required
Related course Blocks: