We’ve covered all of the layers so far in use when using FFLIB. Here’s a quick overview of the different layers again.
- Selector – all of your queries go into this layer.
- Domain – the layer which contains reusable pieces of code for working with sObjects and is the entry point for handling trigger events.
- Service – business logic orchestration layer which can be called from anywhere in your application.
- Unit of work – a pattern for managing transactions on the platform.
In this blog post I’m going to cover how to “stitch” all of those layers together to produce a rock solid code base and have an application structure which is properly set up.
Continue reading “FFLIB – Application structure”