Click or drag to resize
Askia

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.

Main Usage
AskiaCore's Overview
Askia Core Entities

Notes

  • 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

Persistent
  • Not an interface

  • The class is static

  • Allows access to multiple database formats

  • Represents what is supposed to be across multiple requests

Context
  • 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

RecordEntity
  • Generic interface representing a database record

  • Implemented by all entities that can stored in the database (question, response, etc.)

See Also