days
-1
-1
hours
0
-5
minutes
-4
-5
seconds
-3
-2
search
The 411 about PWAs

“PWAs are a natural choice for building offline-ready, installable, fast web apps”

Ann-Cathrin Klose
PWAs

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.

SEE ALSO: A practical explanation of progressive web apps

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!

 

Maxim Salnikov is an Oslo-based Google Dev Expert in Web Technologies and Angular. He organizes the ngVikings and Mobile Era Conferences and leads several of Norway’s biggest meetups for web front-end and mobile development. He is leading a session “Automatic Progressive Web Apps using Angular Service Worker” and workshop “Progressive Web Apps using the Angular Service Worker” at the International JavaScript Conference 2018.

Author
Ann-Cathrin Klose

Ann-Cathrin Klose

All Posts by Ann-Cathrin Klose

Ann-Cathrin Klose is an editor and has been working for S&S Media since 2015. Before joining the team she studied General Linguistics at Johannes Gutenberg University Mainz.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of