In this chapter, I will present to you several concepts DBLIB is built
View is the most important concept. It is very similar to the SQL view.
For reading, it is a result of a SELECT operation. But views can be
also modified. In the documentation, the word view is also used in a broader
sense, meaning "an instance of the DBLView class". That is the class,
that encapsulates the view (in the sense of a SELECT operation result)
and provides methods to display and modify it.
Query could be also named DataSource. It is a class that allows reading
and writing data. Currently, there are implemented queries that
interact with the MySQL and Postgres database.
Classes which implement (some kind of) field are responsible for:
- formatting value(s) from database to HTML
- providing ways to change these values (entering new values)
- providing ways to filter by the field
- checking entered values (required/not required fields)