Persistence in PHP with the Doctrine ORM. (2013)
- Record Type:
- Book
- Title:
- Persistence in PHP with the Doctrine ORM. (2013)
- Main Title:
- Persistence in PHP with the Doctrine ORM.
- Other Names:
- Dunglas, Kévin
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Getting Started with Doctrine 2; Prerequisites; Understanding the concepts behind Doctrine; Creating a project structure; Installing Composer; Installing Doctrine; Bootstrapping the app; Using Doctrine's Entity Manager; Configuring Doctrine command-line tools; Summary; Chapter 2:Entities and Mapping Information; Creating the Entity class; Generating getters and setters; Mapping with Doctrine annotations; Knowing about the @Entity annotation. Understanding the @Table, @Index, and @UniqueConstraint annotationsDiving into the @Column annotation; Knowing about the @Id and @GeneratedValue annotations; Using other annotations; Understanding Doctrine Mapping Types; Creating the database schema; Installing Data fixtures; Creating a simple UI; Listing posts; Creating and editing posts; Deleting posts; Summary; Chapter 3:Associations; Getting started with the Doctrine associations; Understanding the @ManyToOne and @OneToMany annotations with the comment system; Creating the Comment entity class (owning side). Adding the inverse side to the Post entity classUpdating the database schema; Adding fixtures for the comments; Listing and creating comments; Updating the index; Understanding the @ManyToMany annotation with tags; Creating the Tag entity class (inverse side); Updating the Post entity class (owning side); Updating the schema again; Creating tag fixtures;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Getting Started with Doctrine 2; Prerequisites; Understanding the concepts behind Doctrine; Creating a project structure; Installing Composer; Installing Doctrine; Bootstrapping the app; Using Doctrine's Entity Manager; Configuring Doctrine command-line tools; Summary; Chapter 2:Entities and Mapping Information; Creating the Entity class; Generating getters and setters; Mapping with Doctrine annotations; Knowing about the @Entity annotation. Understanding the @Table, @Index, and @UniqueConstraint annotationsDiving into the @Column annotation; Knowing about the @Id and @GeneratedValue annotations; Using other annotations; Understanding Doctrine Mapping Types; Creating the database schema; Installing Data fixtures; Creating a simple UI; Listing posts; Creating and editing posts; Deleting posts; Summary; Chapter 3:Associations; Getting started with the Doctrine associations; Understanding the @ManyToOne and @OneToMany annotations with the comment system; Creating the Comment entity class (owning side). Adding the inverse side to the Post entity classUpdating the database schema; Adding fixtures for the comments; Listing and creating comments; Updating the index; Understanding the @ManyToMany annotation with tags; Creating the Tag entity class (inverse side); Updating the Post entity class (owning side); Updating the schema again; Creating tag fixtures; Managing the tags of a post; Summary; Chapter 4:Building Queries; Understanding DQL; Using the entity repositories; Creating custom entity repositories; Getting started with Query Builder; Filtering by tag; Counting comments; Summary. Chapter 5:Going FurtherImplementing inheritance; Using Mapped Superclasses; Using Single Table Inheritance; Using Class Table Inheritance; Getting started with events; Lifecycle callbacks; Knowing about event listeners and event subscribers; Writing native queries; The NativeQuery class; Doctrine DBAL; Summary; Index. … (more)
- Publisher Details:
- Place of publication not identified : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource
- Subjects:
- 005.2762
COMPUTERS -- Programming Languages -- PHP
PHP (Computer program language)
Application software -- Development
Internet programming
Application software -- Development
PHP (Computer program language)
COMPUTERS -- Web -- General
COMPUTERS -- Programming Languages -- General
Electronic books - Languages:
- English
- ISBNs:
- 1306212715
9781306212717
9781782164111
1782164111
9781782164104
1782164103 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86670
- Ingest File:
- 01_109.xml