Persistence in PHP with the Doctrine ORM

Persistence in PHP with the Doctrine ORM

Author: Kévin Dunglas

Publisher: Packt Publishing Ltd

Published: 2013-12-18

Total Pages: 170

ISBN-13: 1782164111

DOWNLOAD EBOOK

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.


PHP Persistence

PHP Persistence

Author: Michael Romer

Publisher: Apress

Published: 2016-12-19

Total Pages: 118

ISBN-13: 1484225597

DOWNLOAD EBOOK

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 entities Manage entities Master the Doctrine Query Language Use appropriate command-line tools for PHP persistence Program for caching Who This Book Is For Experienced PHP programmers and web developers with some exposure to PHP.


Domain-Driven Design in PHP

Domain-Driven Design in PHP

Author: Carlos Buenosvinos

Publisher: Packt Publishing Ltd

Published: 2017-06-14

Total Pages: 387

ISBN-13: 1787288463

DOWNLOAD EBOOK

Real examples written in PHP showcasing DDD Architectural Styles, Tactical Design, and Bounded Context Integration About This Book Focuses on practical code rather than theory Full of real-world examples that you can apply to your own projects Shows how to build PHP apps using DDD principles Who This Book Is For This book is for PHP developers who want to apply a DDD mindset to their code. You should have a good understanding of PHP and some knowledge of DDD. This book doesn't dwell on the theory, but instead gives you the code that you need. What You Will Learn Correctly design all design elements of Domain-Driven Design with PHP Learn all tactical patterns to achieve a fully worked-out Domain-Driven Design Apply hexagonal architecture within your application Integrate bounded contexts in your applications Use REST and Messaging approaches In Detail Domain-Driven Design (DDD) has arrived in the PHP community, but for all the talk, there is very little real code. Without being in a training session and with no PHP real examples, learning DDD can be challenging. This book changes all that. It details how to implement tactical DDD patterns and gives full examples of topics such as integrating Bounded Contexts with REST, and DDD messaging strategies. In this book, the authors show you, with tons of details and examples, how to properly design Entities, Value Objects, Services, Domain Events, Aggregates, Factories, Repositories, Services, and Application Services with PHP. They show how to apply Hexagonal Architecture within your application whether you use an open source framework or your own. Style and approach This highly practical book shows developers how to apply domain-driven design principles to PHP. It is full of solid code examples to work through.


Learning Phalcon PHP

Learning Phalcon PHP

Author: Calin Rada

Publisher: Packt Publishing Ltd

Published: 2015-08-26

Total Pages: 328

ISBN-13: 1783555106

DOWNLOAD EBOOK

Learn Phalcon interactively and build high performance web applications About This Book Learn how to install and configure Phalcon PHP on your server Develop a fully functional multi-module application with Phalcon PHP A step-by-step guide with in-depth coverage of Phalcon and best practices Who This Book Is For If you are a web developer and want to build effective web applications with Phalcon PHP, then this book is ideal for you. The book does not assume detailed knowledge of PHP frameworks. What You Will Learn Compile and install Phalcon from source code Set up an MVC project and learn how to use the Dependency Injection (DI), configuration, and routing Get to grips with Phalcon's ORM, ODM, validation and caching, and generate models using Phalcon Developer Tools Create a command-line application from scratch Write a fully functional REST module with Phalcon PHP Use Volt as template engine to create your first views Understand how session works and learn how to implement an authentication system In Detail Phalcon is a full-stack PHP framework implemented as a C extension. Building applications with Phalcon will offer you lower resource consumption and high performance whether your application runs on a Linux machine or a Windows one. Phalcon is loosely coupled, allowing you to use its objects as glue components based on the needs of your application. Phalcon PHP's mission is to give you an advanced tool to develop faster websites and applications. This book covers the most common and useful parts of PhalconPHP, which will guide you to make the right decisions while developing a Phalcon-driven application. You will begin the journey by installing and setting up Phalcon for your environment followed by the development of each module. You will be introduced to Phalcon's ORM and ODM. Furthermore, you will also be able to create the first models and database architecture for your project. You will then cover command-line applications, API module, volt syntax, and hierarchical views. Installing and working with Node and Bower for assets management will also be covered. Finally, you will gain insights into creating the backoffice and frontend module along with best practices and resources for development with Phalcon PHP. By the end of this book, you will be able to confidently develop any kind of application using the Phalcon PHP framework in a short time. Style and approach This step-by-step guide will walk you through the fundamentals of Phalcon PHP. It will then help you to create a simple but fully functional news website and gain advanced knowledge of how Phalcon PHP works.


MongoDB and PHP

MongoDB and PHP

Author: Steve Francia

Publisher: "O'Reilly Media, Inc."

Published: 2012-01-23

Total Pages: 77

ISBN-13: 1449324843

DOWNLOAD EBOOK

What would happen if you optimized a data store for the operations application developers actually use? You’d arrive at MongoDB, the reliable document-oriented database. With this concise guide, you’ll learn how to build elegant database applications with MongoDB and PHP. Written by the Chief Solutions Architect at 10gen—the company that develops and supports this open source database—this book takes you through MongoDB basics such as queries, read-write operations, and administration, and then dives into MapReduce, sharding, and other advanced topics. Get out of the relational database rut, and take advantage of a high-performing system optimized for operations and scale. Learn step-by-step the tools you need to build PHP applications with MongoDB Perform Create, Read, Update, and Delete (CRUD) operations, and learn how to perform queries to retrieve data Administer your database, and access and manipulate data with the MongoDB Shell Use functions to work with sets, arrays, and multiple documents to perform synchronous, asynchronous, and atomic operations Discover PHP’s community tools and libraries, and why they’re valuable Work with regular expressions, aggregation, MapReduce, replication, and sharding


Symfony 5

Symfony 5

Author: Fabien Potencier

Publisher: Symfony SAS

Published: 2019-11-08

Total Pages: 308

ISBN-13: 9782918390374

DOWNLOAD EBOOK


Introducing Delphi ORM

Introducing Delphi ORM

Author: John Kouraklis

Publisher: Apress

Published: 2019-08-02

Total Pages: 267

ISBN-13: 1484250133

DOWNLOAD EBOOK

Discover the fundamental concepts of object-relational mapping (ORM) design, Aurelius’ basic features, and the practical applications of those features. In a series of tasks, you will be exposed to techniques and best practices that make the use of Aurelius easy and efficient. Furthermore, you’ll refine your analytical skills to sharpen your understanding of Delphi (Pascal), helping you write better code along the way. Introducing Delphi ORM explains that while database design is difficult, database programming (i.e., manipulating, extracting, filtering, and manipulating data) is even more difficult. ORM frameworks provide a simpler way for you to access and manage data in databases. You’ll see how they offer different levels of abstraction and tools to code data access in a database-agnostic way by introducing a layer between the application and the data access language (SQL, LINQ, and so on). By the end of the book, you will be confident in using a wide range of Aurelius features to allow you to get started with databases in a very short space of time. What You Will LearnGain the fundamentals of ORM frameworks and Aurelius for DelphiAchieve basic tasks, such as connecting to the database and adding, deleting, and updating records, using Aurelius Employ advanced database queries Use the TAureliusDataSet component Integrate with mobile platforms such as Android and iOSWork with the data modeler application Who This Book Is For Software developers starting with Aurelius or those who have some exposure to the framework.


Persistence in PHP with the Doctrine ORM

Persistence in PHP with the Doctrine ORM

Author: Kevin Dunglas

Publisher: Packt Pub Limited

Published: 2013-12

Total Pages: 114

ISBN-13: 9781782164104

DOWNLOAD EBOOK

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.


Mastering Symfony

Mastering Symfony

Author: Sohail Salehi

Publisher: Packt Publishing Ltd

Published: 2016-04-26

Total Pages: 290

ISBN-13: 1784394262

DOWNLOAD EBOOK

Orchestrate the designing, development, testing, and deployment of web applications with Symfony About This Book Create a robust and reliable Symfony development pipeline using Amazon's cloud platform Cut development and maintenance costs by defining crystal clear features and possible scenarios for each feature before implementation Follow detailed examples provided in each chapter to create a task management application Who This Book Is For If you are a PHP developer with some experience in Symfony and are looking to master the framework and use it to its full potential, then this book is for you. Though experience with PHP, object-oriented techniques, and Symfony basics is assumed, this book will give you a crash course on the basics and then proceed to more advanced topics. What You Will Learn Install and configure Symfony and required third-party bundles to develop a task management application Set up a continuous integration server to orchestrate automatic builds every time you add a new feature to your project Reduce maintenance costs dramatically using Behaviour Driven Development (BDD) Create a slick user interface using the Bootstrap framework Design robust business logic using Doctrine Build a comprehensive dashboard and secure your project using the Sonata project Improve performance using Redis, Memcache, and Varnish Create customized Symfony commands and add them to your console In Detail In this book, you will learn some lesser known aspects of development with Symfony, and you will see how to use Symfony as a framework to create reliable and effective applications. You might have developed some impressive PHP libraries in other projects, but what is the point when your library is tied to one particular project? With Symfony, you can turn your code into a service and reuse it in other projects. This book starts with Symfony concepts such as bundles, routing, twig, doctrine, and more, taking you through the request/response life cycle. You will then proceed to set up development, test, and deployment environments in AWS. Then you will create reliable projects using Behat and Mink, and design business logic, cover authentication, and authorization steps in a security checking process. You will be walked through concepts such as DependencyInjection, service containers, and services, and go through steps to create customized commands for Symfony's console. Finally, the book covers performance optimization and the use of Varnish and Memcached in our project, and you are treated with the creation of database agnostic bundles and best practices. Style and approach A step-by-step guide to mastering Symfony while developing a task management application. Each chapter comes with detailed examples.


A Year with Symfony

A Year with Symfony

Author: Matthias Noback

Publisher:

Published: 2013-09-04

Total Pages: 230

ISBN-13: 9789082120110

DOWNLOAD EBOOK

I've written A Year With Symfony for you, a developer who will work with Symfony2 for more than a month (and probably more than a year). You may have started reading your way through the official documentation ("The Book"), the cookbook, some blogs, or an online tutorial. You know now how to create a Symfony2 application, with routing, controllers, entities or documents, Twig templates and maybe some unit tests. But after these basic steps, some concerns will raise about... The reusability of your code - How should you structure your code to make it reusable in a future project? Or even in the same project, but with a different view or in a console command? The quality of the internal API you have knowingly or unknowingly created - What can you do to ensure that your team members will understand your code, and will use it in the way it was meant to be used? How can you make your code flexible enough to be used in situations resembling the one you wrote it for? The level of security of your application - Symfony2 and Doctrine seem to automatically make you invulnerable for well-known attacks on your web application, like XSS, CSRF and SQL injection attacks. But can you completely rely on the framework? And what steps should you take to fix some of the remaining issues? The inner workings of Symfony2 - When you take one step further from creating just controllers and views, you will soon need to know more about the HttpKernel which is the heart of a Symfony2 application. How does it know what controller should be used, and which template? And how can you override any decision that's made while handling a request?