“PWAs are a natural choice for building offline-ready, installable, fast web apps”
Progressive Web Apps are speedy, reliable, and enhance the mobile web. We spoke with developer Maxim Salnikov about the next best thing for scrolling through the web.
JAXenter: Can you give us a brief introduction to the central idea of Progressive Web Apps?
Maxim Salnikov: The idea is simple: using the possibilities of the modern browsers, some patterns, best practices and a bit of coding, we create better (in a wide sense) web applications both for mobile and desktop experiences.
JAXenter: What is a typical usecase for PWAs?
Maxim Salnikov: PWA is a natural choice if you wish to build offline-ready, installable, fast web application. Also, it gives the possibility to send push-notifications. Among lots of usecases, I’d emphasize social media clients, news apps, webshops, etc.
JAXenter: How does the offline functionality of PWAs work?
Maxim Salnikov: It uses special APIs available in the modern browsers: Service Worker API, Cache API and some others. I covered this in details during the workshop.
JAXenter: Let’s take a look at how Angular helps with PWAs: What makes the Angular Service Worker an easy way to build PWAs?
Maxim Salnikov: The main focus of Angular Service Worker is to have Angular PWA created “out of the box”, using literally on command line switch. For the basic needs, you don’t need to write a code at all – the main features are configuration-based. For more advanced usecases you write the code in Angular-native way: using NgModules, classes, observables.
JAXenter: What other tools do you use to work on PWAs? Any recommendations?
Maxim Salnikov: The first choice is Workbox library by Google. It’s powerful, flexible, framework-agnostic, developer-friendly set of tools helping to create PWAs.
Thank you very much Maxim Salnikov for answering our questions about Progressive Web Apps!