How to create an Active Record style PHP SDK Part 16

A couple of weeks ago we looked at setting up the foundation for the persistence aspect of this Active Record style PHP SDK. The Active Record pattern states that each model object should have public methods for creating, updating, saving and deleting directly from the data store. Last week we looked at providing that public […]

Continue reading...

Creating a User Registration Domain Service

Nearly all consumer facing web applications will require registration functionality in one form or another. The registration process is often the first contact that the user will have with the internal flow of an application. It’s therefore very important that you make a good impression or the user might never give your application a second […]

Continue reading...

Design Inspiration #159

Design Inspiration from Educreations, The Grid, Leodis Lager, Lookfilter and Bench! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Educreations https://www.educreations.com The Grid https://thegrid.io Leodis Lager http://www.leodislager.com Lookfilter https://www.lookfilter.com Bench https://bench.co

Continue reading...

How to create an Active Record style PHP SDK Part 15

Last week we looked at building out the functionality to serialise model objects into JSON that can be sent to the CapsuleCRM API. We are now at the stage where we can call the toJson() method on a model object and have that object serialise itself into JSON that satisfies the requirements of the API. […]

Continue reading...

Creating and testing Doctrine Repositories

A couple of weeks ago we looked at the benefits of using Repositories in web applications. We also laid the foundation for the User Repository by writing the initial interface. There are many benefits to using Repositories in web applications. For example, coding to an interface, hiding the details of the storage provider and making […]

Continue reading...

Design Inspiration #158

Design Inspiration from Promishare, Final, Planatir, Sweden Unlimited and Lone Flag! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Promishare http://www.promishare.com Final https://getfinal.com Palantir https://www.palantir.com Sweden Unlimited http://www.swedenunlimited.com Lone Flag http://loneflag.co

Continue reading...

How to create an Active Record style PHP SDK Part 14

Last week we started looking at adding the functionality to persist entities to the API. Part of the beauty of the Active Record pattern is how easy it is to persist records to the data store. This is because each model object should have everything it needs to read, write, update and delete. However, in […]

Continue reading...

Creating a Mailer Infrastructure Service

A typical Domain Driven Design application will be comprised of three main areas. These three areas are the Domain, the Infrastructure and the Application. Each service layer acts as a boundary to the set of operations that are available inside that layer of abstraction. Each layer has a strict set of responsibilities and should not […]

Continue reading...

Design Inspiration #157

Design Inspiration from Opbeat, Trip Sniffer, Blu Homes, Parkresidentie Wivina and Tracksmith! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Opbeat https://opbeat.com Trip Sniffer http://www.tripsniffer.com.br Blu Homes http://bluhomes.com Parkresidentie Wivina http://wivina.be Tracksmith https://www.tracksmith.com

Continue reading...

How to create an Active Record style PHP SDK Part 13

Over the last couple of weeks we’ve looked at adding the ability to query an API using the Active Record Pattern. The Active Record Pattern dictates that the model object should have the ability to query the data store. We implemented this functionality by providing a find() and an all() for retrieving single entities or […]

Continue reading...

Supported by