Components for information systems
Application
Application
The application is the whole content of a browser window or tab. It is also a container for agendas.
The application can run both in a web browser and on its own. We call this a PWA – a progressive web application.
The application behaves more like a desktop application than a website. There is a menu at the top. At the bottom there is a status bar with the latest message for the user on the left and an indicator of the connection/network reading status on the right. At the bottom, or on the right, you can have a panel of running agendas to switch between. The rest of the space is free for agendas.
The layout is designed to make the best possible use of screen space, so if you have a 4K resolution, the area of your monitor will be put to good use. Otherwise, it is optimized for Full HD screens. The picture shows the width reduced to 748 pixels, just to show what the application looks like when it is this narrow.
It represents the new, modern web with a thin server/thick client architecture. Some operations have moved from the server to the client, and the result is a much better user experience. The application not only feels faster, but is also more ergonomic – for example, pagers have been removed, so you no longer have to click through pages; you display more table rows simply by turning the mouse wheel.
The application uses parallel processing, added to browsers around 2019. So while the user has clicked a control and a request to the server is running, they can keep working with the application as usual. The user experience is then even better than the measured time to get a response would suggest.
The application can run both in a web browser and on its own. We call this a PWA – a progressive web application.
The application behaves more like a desktop application than a website. There is a menu at the top. At the bottom there is a status bar with the latest message for the user on the left and an indicator of the connection/network reading status on the right. At the bottom, or on the right, you can have a panel of running agendas to switch between. The rest of the space is free for agendas.
The layout is designed to make the best possible use of screen space, so if you have a 4K resolution, the area of your monitor will be put to good use. Otherwise, it is optimized for Full HD screens. The picture shows the width reduced to 748 pixels, just to show what the application looks like when it is this narrow.
It represents the new, modern web with a thin server/thick client architecture. Some operations have moved from the server to the client, and the result is a much better user experience. The application not only feels faster, but is also more ergonomic – for example, pagers have been removed, so you no longer have to click through pages; you display more table rows simply by turning the mouse wheel.
The application uses parallel processing, added to browsers around 2019. So while the user has clicked a control and a request to the server is running, they can keep working with the application as usual. The user experience is then even better than the measured time to get a response would suggest.
Agenda
Agenda
An agenda is one window of the application. It may or may not be a container for tables that you access
through tabs. The agenda window can be enlarged, reduced, moved around the screen, maximized and minimized.
You start an agenda with a key or simply by choosing it from the menu.
You start an agenda with a key or simply by choosing it from the menu.
Table
Table
A table is a container for columns. Columns can be either native, that is actually stored in the database, or
synthetic, meaning they are synthesized from native ones on the client. Alternatively, they can be calculated on the server side
or stored in temporary database tables.
The table header contains filters. They are deliberately just input fields, because you can see what is being filtered and they take up little space on the screen. When you hover over one, you see it at full size. In a filter field, you can enter not only a sample of what to search for, but a whole expression. So you can search not only for "sova", as in [fig. 3] above, when looking for a gentleman named Sova, or for "2" when looking for record number 2 [fig. 2], but also for expressions such as ">=1000 a <=1008" [fig. 4] if you are only interested in a certain range of numeric values.
Of course, you can't know the syntax right away. That's why you can right-click a filter to see a dialog where you can "click together" this more complex expression [fig. 5]. The picture above shows, for example, choosing one of the lookup values. If the lookup table is larger, a search field can be used instead of the checkboxes, as you can see in [fig. 6].
Every record in the table has a generically created history [fig. 7]. The whole table has a history too, available through the "flashback" tab. The only visual difference from the "live" table is a strip of buttons that let you jump between the times when a change happened. If you are interested in the state of the table at a specific time, simply enter the date and time in the input field in the middle of that strip.
You can freely add, remove and move the columns in the table and change their width.
The table header contains filters. They are deliberately just input fields, because you can see what is being filtered and they take up little space on the screen. When you hover over one, you see it at full size. In a filter field, you can enter not only a sample of what to search for, but a whole expression. So you can search not only for "sova", as in [fig. 3] above, when looking for a gentleman named Sova, or for "2" when looking for record number 2 [fig. 2], but also for expressions such as ">=1000 a <=1008" [fig. 4] if you are only interested in a certain range of numeric values.
Of course, you can't know the syntax right away. That's why you can right-click a filter to see a dialog where you can "click together" this more complex expression [fig. 5]. The picture above shows, for example, choosing one of the lookup values. If the lookup table is larger, a search field can be used instead of the checkboxes, as you can see in [fig. 6].
Every record in the table has a generically created history [fig. 7]. The whole table has a history too, available through the "flashback" tab. The only visual difference from the "live" table is a strip of buttons that let you jump between the times when a change happened. If you are interested in the state of the table at a specific time, simply enter the date and time in the input field in the middle of that strip.
You can freely add, remove and move the columns in the table and change their width.
Column
Column
Every column has a type that defines how the data is stored in the database, how we view it, which
control it has in the form, which parser (parsing = processing text) is used for filtering and, finally,
which dialog is used for entering a filter when we don't want to use the parser (typing directly into the input field).
Types can also be nullable, which means they can tell us that the information has not been entered. That may sound a little clumsy, but imagine we want to know a person's age (an integer), or we want to show clearly that the person didn't give it to us (they entered NULL).
Types can also be nullable, which means they can tell us that the information has not been entered. That may sound a little clumsy, but imagine we want to know a person's age (an integer), or we want to show clearly that the person didn't give it to us (they entered NULL).
- int - integer. Range from -2 147 483 648 to 2 147 483 647. Can be nullable. [fig. 1]
- natural - natural number. Range from 0 to 4 294 967 295. Can be nullable.
- long - large integer. Range from -263 to 263-1. Can be nullable.
- natural long - large natural number. Range from 0 to 264-1. Can be nullable.
- string - text. Can be nullable. [fig. 2]
- float - real number. Can be nullable.
- double - real number with extended precision. Can be nullable.
- bool - binary yes/no value. Can be nullable. [fig. 3]
- enum - a value from a lookup table. Can be nullable. [fig. 4]
- big enum - a value from a lookup table. Entry uses autocomplete instead of choosing from a list. Can be nullable. [fig. 5]
- address - address. Stored in the database as text, but handled as a structure on the frontend, with items such as street, city, house number, etc. Can be nullable.
- name - name. Stored in the database as 4 fields: first name (text), surname (text), title before (lookup) and title after (lookup). Several people can match the filter if they have the same name. Can be nullable. It is a synthetic column. [fig. 6]
- name enum - name. Stored in the database as a lookup value pointing to a table with first name, surname, title before and title after. Refers to one specific person. Can be nullable.
- date - date. Can be nullable.
- time - time. Can be nullable.
- datetime - a point in time. Can be nullable.
- datetimeus - a point in time with microsecond resolution. Can be nullable.
- authortag - author tag. Contains the date and time with microsecond resolution and the author's id. It is in every table, which makes history and flashback possible. Can be nullable. It is a synthetic column.
- enum map - a list of lookup values where order matters. This set can't be nullable, but it can be empty.
- integer vector - a set of integers. Order matters in the database; on the client it is so far used more as a set. This set can't be nullable, but it can be empty.
Form
Form
Every table comes with a form that represents one row of the table [fig. 1]. This classic form is included in the price and is not charged.
A form array is a "live" table. Each row is in fact a small form. So it can look different, for example like a checklist [fig. 4][fig. 5], a list of categories [fig. 3], or a "text" editor, where [fig. 2] shows a time snapshot of a working day. Unlike a text editor, it makes users divide the day into sections and enter their duration.
A form array is a "live" table. Each row is in fact a small form. So it can look different, for example like a checklist [fig. 4][fig. 5], a list of categories [fig. 3], or a "text" editor, where [fig. 2] shows a time snapshot of a working day. Unlike a text editor, it makes users divide the day into sections and enter their duration.