Structuring the script
The techniques for adding structure to the script is something that comes naturally to experienced developers. This is because they have often learned it the hard way, through other people's work, and spent additional time understanding that the script can be made easier with a couple of simple additions. Again, this is something that won't be covered in user guides, but it is a very important skill for new developers to have under their belt.
Getting ready
In this example, we will generate the required data automatically in the script.
How to do it…
- Create a new Qlik Sense application and name it
Structuring Scripts
. - Create a new section in the
Data load editor
calledChange Log
. - Add the following code:
/* This application demonstrates the importance of adding structure to the back end script of your applications Change Log: [10/06/2015] Philip Hand: Initial build */
Â
- Create another section called
Calendar
and add the following script:
/*======================...