PHP Data Persistence with Doctrine 2 ORM
Год: 2013 (возможны дальнейшие обновления книги)
Автор: Michael Romer
Жанр: Учебное пособие
Издательство: Leanpub
Язык: Английский
Формат: PDF, EPUB, MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 109
Описание:
Doctrine 2 takes the pain out of dealing with relational databases in an object oriented programming world - and this book shows you how it works and how you can save time and money by simply coding less while accomplishing more with Doctrine 2.
Michael Romer is the author of "Web Development with Zend Framework 2", the best-selling Zend Framework 2 book on Leanpub and Amazon. He has years and years of experience in the Internet Industry and used to work for global players like eBay. He knows what you need to know about Doctrine 2 - and it''s in this book!
Доп. информация: Заявленное автором количество страниц законченной книги будет составлять около 200.
About this book
Software version
Database system
Code downloads
Conventions used in this book
An important notice for Amazon customers
Introduction
Object oriented programming (OOP) & the Domain Model
Demo application
A self-made ORM
Loading an Entity
Saving an entity
Associations
Next steps
Hello, Doctrine 2!
Installation
A first Entity
A first Association
Core concepts at a glance
Defining entities
Mapping formats
Mapping objects to tables
Mapping scalar member variables to fields
Inheritance
References between Entities
One to one relationship, unidirectional
One to one relationship, bidirectional
One to many relationship, bidirectional
Many to many relationship, unidirectional
Many to many relationship, bidirectional
One to many relationship, unidirectional
Many to one relationship, unidirectional
One to one relationship, self-referencing
One to many relationship, self-referencing
Many to many relationship, self-referencing
Managing Entities
Creating a new Entity
Loading an existing Entity
Changing an existing Entity
Removing an Entity
Sorting an association
Removing an association
Life Cycle events
Cascading operations
Transactions
Doctrine Query Language
Introduction
Retrieving results
Constructing basic queries
Constructing join queries
Command line tools
Setting up the command line tools
DBAL commands
ORM commands
Caching
Introduction to ORM cache types
Caching backends
Advanced Topics
Zend Framework 2 integration
Native SQL statements
Doctrine 2 Extensions