Overview |
AskiaCore is organized in a way that allows users to manipulate survey related entities while being able to read or store them in a database.
The entities depicted in the image are the mainly used ones but more are available (Scenarios, Languages, etc.)
The actions done on the Persistent object are valid across multiple requests
The Context is used to determine who is doing the action and in what environment
RecordEntity is an interface implemented by most objects allowing them to be saved in the database in a generic way
Not an interface
The class is static
Allows access to multiple database formats
Represents what is supposed to be across multiple requests
Is more or less equivalent to a web session
Contains the user environment data (id, session, language, etc.)
Allows to know who did what, typically useful for database meta info and history
Generic interface representing a database record
Implemented by all entities that can stored in the database (question, response, etc.)