eBooks-it.org Logo
eBooks-IT.org Inner Image

Persistence in PHP with Doctrine ORM

Persistence in PHP with Doctrine ORM Image

Book Details:

Publisher:Packt Publishing
Series: Packt
Author:Kevin Dunglas
Edition:1
ISBN-10:1782164103
ISBN-13:9781782164104
Pages:114
Published:Dec 18 2013
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:1.34 MB

Book Description:

Build a model layer of your PHP applications successfully, using Doctrine ORM Overview Develop a fully functional Doctrine-backed web application Demonstrate aspects of Doctrine using code samples Generate a database schema from your PHP classes In Detail Doctrine 2 has become the most popular modern persistence system for PHP. It can either be used as a standalone system or can be distributed with Symfony 2, and it also integrates very well with popular frameworks. It allows you to easily retrieve PHP object graphs, provides a powerful object-oriented query language called DQL, a database schema generator tool, and supports database migration. It is efficient, abstracts popular DBMS, and supports PHP 5.3 features. Doctrine is a must-have for modern PHP applications. Persistence in PHP with the Doctrine ORM is a practical, hands-on guide that describes the full creation process of a web application powered by Doctrine. Core features of the ORM are explained in depth and illustrated by useful, explicit, and reusable code samples. Persistence in PHP with the Doctrine ORM explains everything you need to know to get started with Doctrine in a clear and detailed manner. From installing the ORM through Composer to mastering advanced features such as native queries, this book is a full overview of the power of Doctrine. You will also learn a bunch of mapping annotations, create associations, and generate database schemas from PHP classes. You will also see how to write data fixtures, create custom entity repositories, and issue advanced DQL queries. Finally it will teach you to play with inheritance, write native queries, and use built-in lifecycle events. If you want to use a powerful persistence system for your PHP application, Persistence in PHP with the Doctrine ORM is the book you. What you will learn from this book Install Doctrine through the Composer dependency manager Configure Doctrine Command Line Tools Learn to manage relations between entities with different association types Create data fixtures, a custom entity repository, and native SQL queries Master the query builder to generate DQL queries Get started with inheritance and lifecycle events Approach 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. Who this book is written for 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.

Download Link:

Related Books:

PHP Persistence

Concepts, Techniques and Practical Solutions with Doctrine
PHP Persistence Image
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 youll learn about powerful persistence techniques, such as object-relational mapping (ORM) in PHP.What You'll LearnDefine entities and references between entitiesMan...

PHP Arrays

Single, Multi-dimensional, Associative and Object Arrays in PHP 7
PHP Arrays Image
Gain an in-depth understanding of PHP 7 arrays. After a quick overview of PHP 7, each chapter concentrates on single, multi-dimensional, associative, and object arrays. PHP Arrays is a first of its kind book using PHP 7 that demonstrates inserting, appending, updating, and deleting array data. This book also covers validation methods to insure that the data provided by a user is good before the data is entered into an array. Youll see how PHP 7 try/catch modules are used to capture exceptions and errors that may be caused by invalid data.The code examples demonstrate common real-world scenarios. Moreover, examples of every PHP 7 array function (over 75) are demonstrated. The appendix provides a two-dimensional array case study on the logical design o...

Plug-In PHP

100 Power Solutions
Plug-In PHP Image
Practical solutions to real-world problemsThis practical guide gives you 100 ready-to-run PHP functions for solving most of the main problems you encounter when building a dynamic website with PHP. Every plug-in in the book offers a complete and working solution for a result you can achieve right away, using ready-made code you simply drop into your own program. And there's little or no learning curve, because each one is self-contained and thoroughly documented.Packed with tips and suggestionsPlug-in PHP is packed with programming tips and suggestions for further adapting the functions to your own needs, and even breaks down all the variables, arrays and functions used by each into at-a-glance tables, accompanied by a screen grab of every function i...



2007 - 2021 © eBooks-IT.org