php Archive

Building a Programming Language

You will never truly understand building software until you understand how your software is executed. By implementing a subset of PHP in JavaScript, we will explore the various pieces required to create your own programming language, and

Domain-Driven Design in PHP

This discsussion explors what Domain-Driven Design (DDD) is and how it can help PHP developers to write better code. DDD is an approach that places attention at the heart of the application, focusing on the complexity that

The 7 Deadly Sins of Dependency Injection

There exist quite a few misconceptions when it comes to the Dependency Injection (DI) pattern. While the principal pattern is easy to understand, it can be difficult to succeed with DI. This session shares some real world

Unbreakable Domain Models

Data Mappers (like Doctrine2) help us a lot to persist data. Yet many projects are still struggling with tough questions: Where to put business logic? How to protect our code from abuse? Where to put queries, and

BDD for PHP with PhpStorm and PhpSpec

This video explains the Behavior-Driven Development (BDD) workflow in PhpStorm IDE and show you how to drive the design of your code with PhpSpec. With a focus on refactoring, source and file navigation, live templates and autocompletions