Articles

How to lose control (and permissions) in five steps

DDD with Symfony

Web development teams often set out to build rich business applications, yet fall back on a (familiar) data-driven approach: business logic ends up buried in the UI and database scripts, permissions are managed globally, and Php code looks like it’s still 2015. Initially this may seem like the easiest and quickest way to get things up and running – but when business rules are diffused through a large amount of UI and persistence code, they become hard to see, to reason about, and to evolve.

Ending the debate on value objects vs. entities: “Order lines” don’t exist

DDD with Symfony
Why you need to stop using "OrderLineItems"

Working with ddd aggregates and Doctrine: Don’t despair over partial collections

DDD with Symfony
DDD with Doctrine can be hard. Here we discuss two potential solutions for dealing with the fact that Doctrine simply won't give you aggregates with partial association collections as needed e.g. to populate a schedule aggregate in a calendar app

Invited to an on-site job interview? — Three questions to ask before jumping on the plane

How To Human
How to avoid expenses, lost opportunities, and disappointment

Customising name­spaces in Symfony apps

DDD with Symfony
A quick guide for when you want to rename the "App\" namespace root

Recurring events and their hidden business rules

Schedules & Calendars
How to handle event recurrences and data overrides with domain-driven design

How to talk to your developer: Name that fruit

How To Human
A little dictionary of roles and titles in the world of web development

In defence of the humble date input

Schedules & Calendars
The native date input has recently been called a "bad part" of html. This article takes a closer look at its accessibility and alternatives.

Let it snow with Three.js

The Bad Geometrist

With Christmas season at the door and absolutely freezing temperatures outside, clients and developers unite wanting only one thing: snow on their website. If you think that is quite a bit overstated: When three.js asked for feature requests for r160, one respondent replied: “snowflake shader”. So let’s do something fun today and review webgl snow out there. I will also give you my own recipe at the end.

Nou v3 released

blood, sweat, and tears

On November 17th we released a major version upgrade to the Nou website with tons of new features:

Animating individual letters in three.js

The Bad Geometrist

I’m currently working on a little text animation in three.js and wanted one of the letters to rotate around its y-axis. Seems straight-forward enough: I would expect a transform origin at the shape centre as in CSS, and that’s indeed how most three standard geometries work. But not custom models or, in my case, ExtrudeGeometries. The next video shows what really happens: