Loading...

PHPNW13 Track 2 Talk 5: Ross Tuck - Models and Service Layers; Hemoglobin and Hobgoblins

10,298 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Feb 26, 2014

Models, sure. That's all part of MVC. Those are the objects that hold your business logic. Except...do they really? In PHP, the norm is to have an anemic domain model. Even if you want to move away from that (whatever it is), how do you do it?

In this talk, we'll look at different schools of thought for managing your code's truly important parts and the impact on related areas like testing or form libraries. From plain models to service layers, DDD to CQRS, we'll try to apply them to an average application using PHP libraries and see where they stand up or fall down.

There's no magic elixar for designing good models but sometimes all you need is a little iron in your diet.

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...