Index
A
- addComment() method / Adding the inverse side to the Post entity class
- addJoinedEntityFromClassMetadata() method / The NativeQuery class
- addRootEntityFromClassMetadata() method / The NativeQuery class
- app
- folder structure / Creating a project structure
- bootstrapping / Bootstrapping the app
- association types, Doctrine
- One-To-One / Getting started with the Doctrine associations
- Many-To-One / Getting started with the Doctrine associations
- Many-To-Many / Getting started with the Doctrine associations
B
- Behat
- URL / Installing Data fixtures
- bidirectional association
- about / Getting started with the Doctrine associations
C
- @Column annotation
- about / Diving into the @Column annotation, Understanding Doctrine Mapping Types
- CASCADE operations / Updating the Post entity class (owning side)
- Class Table Inheritance
- about / Using Class Table Inheritance
- using / Using Class Table Inheritance
- command line tools, Doctrine
- configuring / Configuring Doctrine command-line tools
- Comment entity class
- properties / Creating the Comment entity class (owning side)
- creating / Creating the Comment entity class (owning side)
- comments
- about / Understanding the @ManyToOne and @OneToMany annotations with the comment system
- fixtures, adding for / Adding fixtures for the comments
- listing / Listing and creating comments
- creating / Listing and creating comments
- counting / Counting comments
- comment system
- Comment entity class, creating / Creating the Comment entity class (owning side)
- inverse side, adding to Post entity class / Adding the inverse side to the Post entity class
- database schema, updating / Updating the database schema
- fixtures, adding for comments / Adding fixtures for the comments
- comments, listing / Listing and creating comments
- comments, creating / Listing and creating comments
- index, updating / Updating the index
- Composer
- about / Creating a project structure
- installing / Installing Composer
- composer.json file / Installing Doctrine
- createNativeQuery() method / The NativeQuery class
- createQueryBuilder() method / Getting started with Query Builder
- CSRF
- URL / Creating a simple UI
- curl
- URL / Prerequisites
- curl command
- about / Prerequisites
- custom entity repositories
- about / Creating custom entity repositories
- creating / Creating custom entity repositories
D
- @DiscriminatorColumn annotation
- about / Using Single Table Inheritance
- @DiscriminatorMap annotation
- about / Using Single Table Inheritance
- database schema
- creating / Creating the database schema
- Data Fixtures
- about / Installing Data fixtures
- installing / Installing Data fixtures
- Data Mapper
- about / Understanding the concepts behind Doctrine
- DBAL
- about / Understanding DQL, Doctrine DBAL
- DELETE CASCADE operations / Updating the Post entity class (owning side)
- Dependency Injection pattern
- URL / Using Doctrine's Entity Manager
- detach() method / Understanding the concepts behind Doctrine
- discriminator column
- about / Using Single Table Inheritance
- DocBlocks
- about / Creating the Entity class
- Doctrine
- prerequisites / Prerequisites
- URL, for documentation / Prerequisites, Diving into the @Column annotation
- installing / Installing Doctrine
- Entity Manager, using / Using Doctrine's Entity Manager
- mapping types / Understanding Doctrine Mapping Types
- association types / Getting started with the Doctrine associations
- Doctrine annotations
- mapping with / Mapping with Doctrine annotations
- @Entity annotation / Knowing about the @Entity annotation
- @Table annotation / Understanding the @Table, @Index, and @UniqueConstraint annotations
- @Index annotation / Understanding the @Table, @Index, and @UniqueConstraint annotations
- @UniqueConstraint annotation / Understanding the @Table, @Index, and @UniqueConstraint annotations
- @Column annotation / Diving into the @Column annotation
- @Id annotation / Knowing about the @Id and @GeneratedValue annotations
- @GeneratedValue annotation / Knowing about the @Id and @GeneratedValue annotations
- Doctrine ORM
- URL, for documentation / Getting started with events
- domain-specific language / Understanding DQL
- domain-specific languages
- URL / Understanding DQL
- DQL
- about / Understanding DQL
- DQL query
- running / Understanding DQL
E
- @Entity annotation
- about / Knowing about the @Entity annotation
- Entity Manager
- about / Understanding the concepts behind Doctrine
- using / Using Doctrine's Entity Manager
- EntityManager class / Getting started with the Doctrine associations
- entity repositories
- about / Using the entity repositories
- using / Using the entity repositories
- entity repository
- about / Understanding the concepts behind Doctrine
- event listeners
- about / Knowing about event listeners and event subscribers
- events
- about / Getting started with events
- lifecycle callbacks / Lifecycle callbacks
- event subscribers
- about / Knowing about event listeners and event subscribers
- creating / Knowing about event listeners and event subscribers
F
- find() method / Understanding the concepts behind Doctrine, Using the entity repositories
- findWithCommentCount() method / Counting comments
- findWithComments() method / Getting started with Query Builder
- fixtures
- about / Installing Data fixtures
- adding, for comments / Adding fixtures for the comments
- flush() method / Understanding the concepts behind Doctrine, Installing Data fixtures
G
- @GeneratedValue annotation / Knowing about the @Id and @GeneratedValue annotations
- getOneOrNullResult() method / Getting started with Query Builder
- getters
- generating / Generating getters and setters
H
- Hibernate
- about / Understanding DQL
- URL / Understanding DQL
- HQL
- about / Understanding DQL
I
- @Id annotation
- about / Knowing about the @Id and @GeneratedValue annotations
- @Index annotation
- about / Understanding the @Table, @Index, and @UniqueConstraint annotations
- @InheritanceType annotation
- about / Using Single Table Inheritance
- inheritance
- implementing / Implementing inheritance
- inheritance implementation
- Mapped Superclasses, using / Using Mapped Superclasses
- Class Table Inheritance, using / Using Mapped Superclasses, Using Class Table Inheritance
- Single Table Inheritance, using / Using Single Table Inheritance
- installation, Composer / Installing Composer
- installation, Data Fixtures / Installing Data fixtures
- installation, Doctrine / Installing Doctrine
- install command / Installing Doctrine
- inverse side
- adding, to Post entity class / Adding the inverse side to the Post entity class
J
- @JoinColumn annotation
- about / Getting started with the Doctrine associations
- @JoinTable annotation / Getting started with the Doctrine associations
L
- lifecycle callbacks
- about / Lifecycle callbacks
- lifecycle events, Doctrine ORM
- preRemove / Getting started with events
- postRemove / Getting started with events
- prePersist / Getting started with events
- postPersist / Getting started with events
- preUpdate / Getting started with events
- postUpdate / Getting started with events
- postLoad / Getting started with events
- LoadPostData class / Installing Data fixtures
M
- @ManyToMany annotation, with tags / Understanding the @ManyToMany annotation with tags
- @ManyToOne annotation, with comment system / Understanding the @ManyToOne and @OneToMany annotations with the comment system
- Many-To-Many association / Getting started with the Doctrine associations
- Many-To-One association / Getting started with the Doctrine associations
- Mapped Superclasses
- about / Using Mapped Superclasses
- using / Using Mapped Superclasses
- mapping types, Doctrine / Understanding Doctrine Mapping Types
N
- native queries
- writing / Writing native queries
- NativeQuery class / The NativeQuery class
- DBAL / Doctrine DBAL
- NativeQuery class
- about / The NativeQuery class
O
- @OneToMany annotation, with comment system / Understanding the @ManyToOne and @OneToMany annotations with the comment system
- Object Document Mappers (ODM)
- about / Prerequisites
- Object Relational Mapper (ORM) / Updating the Post entity class (owning side)
- One-To-One association / Getting started with the Doctrine associations
P
- Packagist
- about / Installing Doctrine
- persist() method / Understanding the concepts behind Doctrine
- PHP CLI
- URL / Prerequisites
- phpDocumentator
- about / Creating the Entity class
- PHP Specification Request
- URL / Installing Doctrine
- Post entity class
- creating / Creating the Entity class
- inverse side, adding to / Adding the inverse side to the Post entity class
- updating / Updating the Post entity class (owning side)
- postLoad event / Getting started with events
- postPersist event / Getting started with events
- postRemove event / Getting started with events
- posts
- listing / Listing posts
- creating / Creating and editing posts
- editing / Creating and editing posts
- deleting / Deleting posts
- tags, managing of / Managing the tags of a post
- postUpdate event / Getting started with events
- prePersist event / Getting started with events, Lifecycle callbacks
- preRemove event / Getting started with events
- preUpdate event / Getting started with events
Q
- QueryBuilder
- about / Getting started with Query Builder
- starting / Getting started with Query Builder
R
- remove() method / Understanding the concepts behind Doctrine
- removeComment() method / Adding the inverse side to the Post entity class
- REST
- URL / Creating a simple UI
S
- separation of concerns
- URL / Creating a simple UI
- setters
- generating / Generating getters and setters
- Single Table Inheritance
- about / Using Single Table Inheritance
- using / Using Single Table Inheritance
- SQLite
- URL / Prerequisites
- Symfony
- about / Filtering by tag
- Symfony Validator Component
- URL / Diving into the @Column annotation
T
- @Table annotation
- about / Understanding the @Table, @Index, and @UniqueConstraint annotations
- Tag entity class
- properties / Creating the Tag entity class (inverse side)
- creating, steps / Creating the Tag entity class (inverse side)
- tag filtering
- about / Filtering by tag
- tag fixtures
- creating / Creating tag fixtures
- tags
- about / Understanding the @ManyToMany annotation with tags
- Tag entity class, creating / Creating the Tag entity class (inverse side)
- Post entity class, updating / Updating the Post entity class (owning side)
- schema, updating / Updating the schema again
- tag fixtures, creating / Creating tag fixtures
- managing, of posts / Managing the tags of a post
- used, for filtering posts / Filtering by tag
U
- @UniqueConstraint annotation / Understanding the @Table, @Index, and @UniqueConstraint annotations
- unidirectional association
- about / Getting started with the Doctrine associations
- Unit of Work design pattern
- about / Understanding the concepts behind Doctrine
- user interface
- creating / Creating a simple UI
- page creation, for listing posts / Listing posts
- page creation, for creating posts / Creating and editing posts
- page creation, for editing posts / Creating and editing posts
- page creation, for deleting posts / Deleting posts