PHP Persistence

Concepts, Techniques and Practical Solutions with Doctrine

Paperback Engels 2016 9781484225585
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

Take the pain out of dealing with relational databases in an object-oriented programming world. With this short book, you can save time and money by simply coding less while accomplishing more with the Doctrine persistence framework, a leading persistence solution for PHP programmers and web developers. PHP Persistence teaches you about PHP persistence and how to use it effectively for your database-driven applications.

Bestselling author Michael Romer leverages his own vast experience to show you what you need to know about Doctrine 2 and how to use it in your own projects. Along the way you’ll learn about powerful persistence techniques, such as object-relational mapping (ORM) in PHP.

What You'll Learn
Define entities and references between entitiesManage entities Master the Doctrine Query Language Use appropriate command-line tools for PHP persistenceProgram for caching 

Who This Book Is For
Experienced PHP programmers and web developers with some exposure to PHP.

Specificaties

ISBN13:9781484225585
Taal:Engels
Bindwijze:paperback
Uitgever:Apress

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

<div>1 About this book</div><div>1.1 Software version</div><div>1.2 Database system</div><div>1.3 Code downloads</div><div>1.4 Conventions used in this book</div><div>1.5 An important notice for Amazon customers</div><div>2 Introduction</div><div>2.1 Object oriented programming (OOP) &amp; the Domain Model</div><div>2.2 Demo application<div>3 A self-made ORM</div><div>3.1 Loading an Entity</div><div>3.2 Saving an entity</div><div>3.3 Associations</div><div>3.4 Next steps</div><div>4 Hello, Doctrine 2!</div><div>4.1 Installation</div><div>4.2 A first Entity</div><div>4.3 A first Association</div><div>4.4 Core concepts at a glance</div><div>5 Defining entities</div><div>5.1 Mapping formats</div><div>5.2 Mapping objects to tables</div><div>5.3 Mapping scalar member variables to fields</div><div>5.4 Inheritance</div><div>6 References between Entities</div><div>6.1 One to one relationship, unidirectional</div><div>6.2 One to one relationship, bidirectional</div><div>6.3 One to many relationship, bidirectional</div><div>6.4 Many to many relationship, unidirectional</div><div>6.5 Many to many relationship, bidirectional</div><div>6.6 One to many relationship, unidirectional</div><div>6.7 Many to one relationship, unidirectional</div><div>6.8 One to one relationship, self-referencing</div><div>6.9 One to many relationship, self-referencing</div><div>6.10 Many to many relationship, self-referencing</div><div>7 Managing Entities</div><div>7.1 Creating a new Entity</div><div>7.2 Loading an existing Entity</div><div>7.3 Changing an existing Entity</div><div>7.4 Removing an Entity</div><div>7.5 Sorting an association</div><div>7.6 Removing an association</div><div>7.7 Life Cycle events</div><div>7.8 Cascading operations</div><div>7.9 Transactions</div><div>8 Doctrine Query Language</div><div>8.1 Introduction</div><div>8.2 Retrieving results</div><div>8.3 Constructing basic queries</div><div>8.4 Constructing join queries</div><div>9 Command line tools</div><div>9.1 Setting up the command line tools</div><div>9.2 DBAL commands</div><div>9.3 ORM commands</div><div>10 Caching</div><div>10.1 Introduction to ORM cache types</div><div>10.2 Caching backends</div><div>11 Advanced Topics</div><div>11.1 Zend Framework 2 integration</div><div>11.2 Native SQL statements</div><div>11.3 Doctrine 2 Extensions</div></div>

Managementboek Top 100

Rubrieken

    Personen

      Trefwoorden

        PHP Persistence