- Persistence in PHP with the Doctrine ORM
- Kévin Dunglas
- 204字
- 2021-07-21 18:04:22
What this book covers
Chapter 1, Getting Started with Doctrine 2, explains how to install Common, DBAL, and ORM libraries through Composer, get our first entity manager, and configure command-line tools after presenting the project we built throughout the book (the architecture of Doctrine and the configuration of the development environment).
Chapter 2, Entities and Mapping Information, introduces the concept of Doctrine entities. We will create a first entity, map it to the database with annotations, generate the database schema, create data fixtures, and, finally, lay the foundation of the user interface of the blog.
Chapter 3, Associations, explains how to handle associations between the PHP objects and the ORM. We will create new entities, detail one-to-one, one-to-many, and many-to-many associations, generate the underlying database schema, create data fixtures and use associations in the user interface.
Chapter 4, Building Queries, creates entity repositories and helps understand how to use the query builder for generating DQL queries and retrieving entities. We will also take a look at aggregate functions.
Chapter 5, Going Further, will take a look at the advanced features of Doctrine. We will see different ways in which Doctrine can manage object inheritance, play with entity lifecycle events, and create native SQL queries.
- 從零開始寫Linux內核:一書學透核心原理與實現
- Puppet實戰
- Ansible權威指南
- Linux網絡內核分析與開發
- 嵌入式Linux應用開發菜鳥進階
- 嵌入式系統及其應用(第三版)
- OpenStack系統架構設計實戰
- Learn CUDA Programming
- 從實踐中學習Windows滲透測試
- Azure Resource Manager Templates Quick Start Guide
- 操作系統之哲學原理第2版
- Responsive Web Design with AngularJS
- Getting Started with Citrix XenApp 6.5
- 深入理解Android:卷III
- OpenWrt智能路由系統開發