About the Business layer

Edit on GitHub

Zed’s Business layer is responsible for the entire business logic.

Most classes exist in this layer and this is the primary area for development.

The Business layer is used by the Communication layer and by other bundles. Here you know how to save data objects, but you do not care about data persistence.

Business layer internal structure

CONCEPT SHORT DESCRIPTION
Facade The facade acts like a public API for the module.
Factory The factory creates and returns all internal classes.
Business models These classes contain the logic of the module.
Exceptions Exceptions thrown by this module.

Interaction with other layers

The Business layer is in the middle, between the communication and persistence layers. It is used by controllers and plugins from the Communication layer and uses the entities and the query container from the Persistence layer.

Interaction with the business layer