The models are used to work with data (usually from a database) and to gather, validate and save the data. They're generally stored in phork/sites/[sitetype]/models/, and included with AppLoader::includeModel().

Each model contains an iterator object that stores a set of CoreRecord objects (or extensions thereof). They can also contain zero or more CoreModelHelper objects to assist with things like validation and loading related data (also known as relations).

Phork comes with 3 pre-built core model classes.