On the cutting-edge technologies

Genius Lab is completing a full restructuring of the whole Genius Platform by integrating cutting-edge technologies such as Electron, Angular 6 and Progressive Web Apps through the Service Workers.

The main idea is to boost up all our components using the cutting-edge technologies in order to be flexible, effective and rapid to cut the time to market and make our customers satisfied.

Electron (a framework for creating native applications with web technologies like JavaScript, HTML, and CSS) is already used by 3 of our Genius Apps:

  1. A new app, probably called Genius Desktop (spoiler), which will revolutionize the access to your tasks. The application can be used from everywhere. Even if you are not in the office you can continue to work;
  2. GW1 App is completely built with Electron/Linux, and together with the latest web technologies, through Chromium engine, it provides a web interface to an embedded device;
  3. A Tester App, useful to test the whole Genius Platform; Its usage is suggested to enterprise companies.

Everybody knows Angular 6, a complete platform that makes it easy to build applications with the web. Angular combines declarative templates, dependency injection, end to end tooling, and integrated best practices to solve development challenges. It is fully integrated with Electron, but we are using it also for the new Genius Web application (spoiler n2).

We are fully embracing the idea of building our apps to cover the complete Progressive Web Apps. The PWA are user experiences that have the reach of the web, and are:

Reliable – Load instantly and never show the downasaur, even in uncertain network conditions. Fast – Respond quickly to user interactions with silky smooth animations and no janky scrolling. Engaging – Feel like a natural app on the device, with an immersive user experience. This new level of quality allows Progressive Web Apps to earn a place on the user’s home screen.

One of the main parts of PWA is the new concept called Service worker. It’s a script that your browser runs in the background, separate from a web page, opening the door to features that don’t need a web page or user interaction. Today, they already include features like push notifications and background sync. In the future, service workers might support other things like periodic sync or geofencing. The core feature discussed in this tutorial is the ability to intercept and handle network requests, including programmatically managing a cache of responses. The reason this is such an exciting API is that it allows you to support offline experiences, giving developers complete control over the experience.

More news will follow to deepen these topics. Stay tuned.

Author: Simone Federice