• 首页
  • 现言
  • 古言
  • 短篇
  • 青春
  • 仙侠

Persistence in PHP with the Doctrine ORM

Kévin Dunglas

更新时间:2021-07-21 18:04:30

最新章节:Index
完结共51章
倒序

coverpage

Persistence in PHP with Doctrine ORM

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files eBooks discount offers and more

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

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

Understanding Doctrine Mapping Types

Creating the database schema

Installing Data fixtures

Creating a simple UI

Summary

Chapter 3. Associations

Getting started with the Doctrine associations

Understanding the @ManyToOne and @OneToMany annotations with the comment system

Understanding the @ManyToMany annotation with tags

Summary

Chapter 4. Building Queries

Understanding DQL

Using the entity repositories

Getting started with Query Builder

Filtering by tag

Counting comments

Summary

Chapter 5. Going Further

Implementing inheritance

Getting started with events

Writing native queries

Summary

Index

更新时间:2021-07-21 18:04:30