4 options
Persistence in PHP with Doctrine ORM / Kévin Dunglas.
- Format:
- Book
- Author/Creator:
- Dunglas, Kv́in.
- Series:
- Community experience distilled
- Language:
- English
- Subjects (All):
- PHP (Computer program language).
- Application software--Development.
- Application software.
- Physical Description:
- 1 online resource (114 p.)
- Edition:
- 1st edition
- Other Title:
- Persistence in PHP with Doctrine Object Relational Mapper
- Place of Publication:
- Birmingham : Packt Publishing, 2013.
- Language Note:
- English
- System Details:
- text file
- Biography/History:
- Dunglas Kevin: Kevin Dunglas is the co-founder and CEO of La Cooperative des Tilleuls, a French IT company specializing in e-commerce, owned and managed by its workers themselves. He is also a software architect who works for a lot of companies, including Ubisoft and SensioLabs (creator of Symfony), as an external contractor. He contributes to open source software (especially Symfony, JavaScript, and Ubuntu ecosystems) and has been writing a technical blog for more than 10 years.
- Summary:
- Persistence in PHP with the Doctrine ORM is a concise, fast, and focused guide to build a blog engine with advanced features such as native queries and lifecycle callbacks.This book is primarily intended for PHP developers and architects who want to increase their skills in the field of Persistence and ORM to map the data they are working on to objects they are using in programming. Basic knowledge of databases and PDO and working knowledge of PHP namespaces is a prerequisite.
- 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; 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
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed January 15, 2013).
- ISBN:
- 9781782164111
- 1782164111
- OCLC:
- 866838668
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.