Skip to content

Commit 17898ff

Browse files
committed
Extended docs on Entity objects
1 parent e9640ab commit 17898ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

structure.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Data objects called 'Entities' are used to pass data around internal application
2121

2222
Example: ```\Entity\SubscriberEntity```
2323

24+
Entites are the default data format used by internal classes. It's important to use these instead of basic data types, in order to maintain consistent and predictable interfaces between classes.
25+
26+
Properties are defined in the Entity Class, which is used as a reference for client coders investigating what data is accessible.
27+
28+
The only exception to this is Model classes, which accept and return basic data types to controller classes, which in turn convert it into Entities before further processing.
29+
2430
### Managers: manipulating data
2531

2632
Manager objects perform high-level manipulation of data, including passing data between Model and Entity objects. Manager classes perform the role of Controllers from MVC architecture. This is important for maintaining a consistent interface to data between application components via data objects, and providing flexibility, separately, for database queries in Model classes.

0 commit comments

Comments
 (0)