Archive for the ‘eloquent’ Category

Quick Tip: The Convenient Magic of Eloquent Observers

Posted on: No Comments
If you've used Eloquent on medium to large projects before, you may have encountered a situation where you want to take action when something happens to your models. Eloquent provides a convenient way to do so. The Observer Pattern The observer patte...

Extending OctoberCMS – Building a Soft-Delete Plugin

Posted on: No Comments
Developers usually stick with a new CMS for its simplicity and extensibility. OctoberCMS presents itself as a back to basics CMS, and provides an enjoyable experience for both developers and users. In this article, I'm going to demonstrate some aspects...

Modeling an Aggregate with Eloquent

Posted on: No Comments
The Aggregate pattern is an important part of Domain Driven Design. It prevents inconsistencies and is responsible for enforcing business rules within a collection of objects. For these reasons alone, it is clear to see why it is a key component of a d...