If you can build a website, you can build a desktop app. It takes care of the hard parts so you can focus on the core of your application. The application will run on Linux, Windows, Mac and the code can be reused for Progressive Web Applications and even mobile applications.
In this post, we show a use case of the development of a desktop hybrid application using cutting-edge technologies. The ultimate goal is to build an application which should help psychotherapists to electronically record (text and speech-to-text) protocols of healing sessions with patients in a way of improving the therapy effectiveness: Simple Protocol Recorder. The therapist who needs this protocol recorder tool is a well-known private specialist operating in the German market.
In this additional blog, we would like to share with you what we have learned, the general knowledge and some useful good practices when working with hybrid mobile application development.
Hybrid desktop app development as hybrid mobile app development is based on Web development. So you need to get a basic knowledge of standards such as HTML, JS, CSS. You will also need to use some powerful tools as Electron  , the Js runtime environment called Node.js and optionally, some good client-side-frameworks.
Node.js is the suitable environment which provides you with the richest JS library in the world: npm .
It will be used to install quite every package and JS tools you that you will need while developing, through the famous command: npm install –<options> <package>
With Electron, implementing a desktop application for your company or idea is easy. Initially developed for GitHub’s Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docke : Visual studio Code, Skype Desktop, Desktop wrapper for WhatsApp Web, etc…
Client side framework
To ensure reliability, maintainability and efficiency of your apps, the using of appropriate frameworks is very recommended. They will provide a good architectural pattern for your app.
There are some frameworks that you can use such as Angular.js , React.js, Vue.js, and so on.
UI/Ux frameworks and libraries
You may also want to beautify your UI, using rich styling library as Bootstrap , or powerful UI/UX frameworks as Ionic.io or Onsen UI.
Some recommended Tools
- Editors: Visual Studio Code
- IDE: Visual Studio
- Debugger and emulator: Monaca Debugger
- Many other stuffs
Selected Tools for our Use case
For example, for the first version Client App, we choose the following technologies:
- Editor/IDE : Visual Studio Code
- Packaging (Building) and Deploying (Assistant wizard generation): Electron and electron-packager