Implementing Domain Events

Recently we’ve been taking a deeper dive into the world of Domain Driven Design to discover how we can understand the requirements of an application and model it in code. A big problem with application development is often that the two opposing sides of business and development fail to communicate effectively and so the end […]

Continue reading...

Design Inspiration #155

Design Inspiration from Hailo, Hassle, Openfolio, Lift and Blue Dolphin Charters! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Hailo https://www.hailoapp.com Hassle https://hassle.com Openfolio https://openfolio.com Lift https://www.lift.do Blue Dolphin Charters http://bluedolphinkauai.com

Continue reading...

How to create an Active Record style PHP SDK Part 11

Last week we began looking at encapsulating the logic around normalising API JSON responses and turning them into model objects. Whenever we make a request to the API, we will receive a raw JSON response. This JSON response will need to be “normalised” and converted into instances of the model objects that we will create […]

Continue reading...

Defining the building blocks of Domain Driven Design

An important part of the beauty of Domain Driven Design is the fact that we have a language to describe certain concepts and components within our application. Terms like Aggregate Root, Value Object and Entity have concrete meanings that describe how our applications are formed. Whilst these terms form part of the structure of Domain […]

Continue reading...

Design Inspiration #154

Design Inspiration from Ringly, Tile, Rdio, Hommard and Underbelly! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Ringly https://ringly.com Tile https://www.thetileapp.com Rdio http://www.rdio.com Hommard http://hommard.com Underbelly http://underbelly.is

Continue reading...

How to create an Active Record style PHP SDK Part 10

Making requests and receiving responses from a third-party API is pretty easy. By default most APIs follow the conventions of REST and use a common format of either JSON or XML to send and receive data. However once we have accepted a response from the API, we need a way of parsing the payload into […]

Continue reading...

What are the benefits of using Repositories?

So far in this series of blog posts we’ve looked at building and working with Repositories a couple of times. A Repository is basically a layer that sits between your project’s domain and the database. Whilst I think The Repository Pattern is becoming pretty well known, it seems to me that there is still confusion […]

Continue reading...

Design Inspiration #153

Design Inspiration from Leader Bag Co, Acorns, Makehook, Lexi Miller and Brooklyn United! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Leader Bag Co http://www.leaderbagco.com Acorns https://www.acorns.com Makehook http://www.makehook.co Lexi Miller http://leximiller.com Brooklyn United http://www.brooklynunited.com

Continue reading...

How to create an Active Record style PHP SDK Part 9

An API is an interface to an external system. By using an API we can interact with a third-party system regardless of how the internals of the third-party operate. In order to transfer data from one system to another through an API we need a common format. Typically data is transferred between systems as either […]

Continue reading...

The User Entity and The Ubiquitous Language

Over the last couple of weeks we’ve looked at using the power of Object Oriented Programming to encapsulate the business rules of our application. By defining Value Objects such as Email, Username and Password we can ensure that the objects we are working within our application follow the explicit rules of the business. Next we […]

Continue reading...

Supported by