Overview for php

PHP Domain Driven Design Retrospective

Having just completed a major project using DDD in PHP for work I wanted to talk about why using DDD is awesome and some of the things I learned going through the process of building a really big DDD project.

Written by Glenn Eggleton on Tuesday October 24, 2017
Permalink - Chapter: php

Menu Building - Expanding Flat Data into a Tree

I had the opportunity this past weekend to help out a developer with a rather unique problem. He needed to ingest a flat datastructure but build a menu navigation system. He wasn't in control of the data structure and it was structured poorly. Below is an example of a recursion function that will take out-of-order "Nodes" and build a nested Array Tree.

Written by Glenn Eggleton on Monday October 23, 2017
Permalink - Chapter: php

PHP Composer PSR-4 Tutorial

In this post I will be walking you through how to setup a project using composer and PSR-4 autoloading

Written by Glenn Eggleton on Monday October 2, 2017
Permalink - Chapter: php

PHP Design Patterns 2: Events

This is the second post in a series aimed at applying design patterns in PHP Web Applications. You can go here to read the first post on Command Bus/Commands. In this post we will be talking about using a Event Dispatcher and Events to message seperate components of our web application.

Written by Glenn Eggleton on Tuesday August 22, 2017
Permalink - Chapter: php

PHP Design Patterns 1: Command / Command Bus

This is the first of a few different blog posts related to Design Patterns in PHP. In this post we will explore how to use the Command Bus pattern as well as why you might want to use the pattern. I will briefly touch on a few different implementations and the pro's and con's.

Written by Glenn Eggleton on Monday August 21, 2017
Permalink - Chapter: php