-
Notifications
You must be signed in to change notification settings - Fork 0
Conceptually Organized Glossary
In this chapter you can find an entire list of terms and their meaning. All these terms are used within the whole WIKI and comments in the source code as well.
The order of the terms conforms their relevance. That means, that terms that are often used and infuse the entire project are listed first.
PHP Persistence API
Plain-old-PHP-object (see also POJO). While talking of POPOs the PHP stdClass is meant.
Class member variables are called "properties". You may also see them referred to using other terms such as "attributes" or "fields", but for the purposes of this project the term "property" is used.
For more information take a look at here: http://www.php.net/manual/en/language.oop5.properties.php
An entity is the representative class of a database table.
An entity can have relations to other entities alike a database table can have relations to other tables via foreign keys. To make an entity - or in other words: to enable a connection of a class to a database table - it must extend the PPA\core\Entity class.
For a general definition look at wikipedia.
Every DocComment beginning with @.
- For a technical specification of
PPA'sannotations look here. - For a list with all
PPAcompatible annotations, please see the list of all Annotations and their Parameters.
Every key-value pair within the parentheses after an annotation.
Eager Loading is opposite of Lazy Loading. This expression refers to the way of dealing with relations.
We are talking of Eager Loading if you're going to load an entity from database including its relations. So they are loaded instantly ('eagerly').
Example:
Let's imagine a Person who has many Contacts, what would be a one-to-many-relation. If you are now going to select one Person you will have retrieve also the Contacts of that Person.
Lazy Loading is the opposite of Eager Loading. This expression refers to the way of dealing with relations.
We are talking of Lazy Loading if you're going to load an entity from database excluding its relations. Only when they are needed, they are loaded afterwards ('lazily').
Considering the example above, it would mean to load the Person, but without its Contacts. In most cases the relations are replaced by mock objects. But if somewhen one of the mock objects is touched the real relations are loaded.