One of the hardest things for me to find online, was how other people developed. Is everything done in the application? Do they have a .qvs library? What is the local vs server set up like? I could go on and on. What I’ve learned over the years has been a mix of knowledge from my more experienced coworkers, posts I’ve read online, and things I’ve listened to at Qonnections. Also, another important factor is source control. This was the biggest factor in the decisions I’ve made so far.
First I’d like to mention, I do not use QlikView’s TFS integration. I personally do not like utilizing the -prj folders for version control. I believe the XML schema is too much of a hassle to merge if an application is being worked on by two developers. I use a combination of Git and TFS. Granted it could all be done within TFS, however I ended up incorporating Git so I could utilize public storage, learn the rising technology, and most importantly it is integrated with my IDE, VS Code.
IDE?! You don’t use the script editor within the .qvw? Nope. I don’t. I recently moved away from it entirely once I found that VS Code has Qlik syntax. before this I used Notepad++ in addition the the script editor, but VS Code has many more features that led me to using it exclusively, well 90% anyways.
What I have are shell applications. They ingest a .qvs file which I write and maintain in VS Code and execute it. I’m going to link the applications I use at the bottom, as well as the links to the software.
Within VS Code you can install extensions. Here are the ones I have currently installed. *Many thanks to Xavier Hahn who got the Qlik Extension set up.
Here is a quick example of what it looks like within VS Code. Note, I have a .gitignore file that hides the .qvw files, along with logs and other things that I don’t want to see.
The general gist is the app looks for a .qvs file with the same base name as itself in the LoadScripts folder within its directory.
Here is link to the shell apps I use. I use a similar concept for the front end as well but I have template applications for my clients that I can’t share.
I will create a separate article on how I utilize source control and another describing my folder structure that I will eventually link here.