Chapter 3. Data Structures, Storage, and Callbacks
In this chapter, we will explore how and where the user information will be stored, retrieved, and triggered for updating related data components. We will cover some cool features of HTML5 that will allow us to write the entire application on the client side. This will let us focus more on the user interface and the DHTMLX components, and alleviate maintaining a database and server-side code.
We will add a storage
object to the storage.js
file and add a callbacks
object to the app.js
file directly below our config
object.
Note
DHTMLX has certain data structures for different components. For the grid and chart components, there will be separate calls to retrieve and structure the data.