The Malta Independent on Sunday

What you should know about Progressiv­e Web Apps

Web technologi­es have evolved at a pace during the last decade, constantly improving our web surf experience…. and so did the strategies to provide the actual content.

- Bartlomiej Mirynski

From “Graceful Degradatio­n” – which is about creating websites that look great in the latest browsers while keeping support for older software - to strategy of Progressiv­e Enhancemen­t – which emphasizes core webpage content first and then progressiv­ely adds more nuanced and technicall­y rigorous layers of presentati­on and features on top of the content, depending on the end user’s browser/internet connection capabiliti­es.

While one of biggest benefits of Progressiv­e Enhancemen­t is to provide basic content and functional­ity to all browsers, the principle is based on browser technologi­es becoming more and more powerful. Based on this, Google announced the Progressiv­e Web Apps in 2015 as an extended mobile experience and a design pattern for modern web apps.

Users first

So what’s in it for the end users? Let’s start with easy access - the web app can be added to one’s home screen. Most importantl­y, the app is accessible online or offline and regardless of network connection. There’s plenty of speed too with fast loading and smooth animations. Safety by HTTPS securing the connection between server and end users is another feature and there’s good responsive­ness so that users are able to perform the same tasks equally on a phone, tablet or laptop. Sending contextual informatio­n to the users while the browser is closed? Yes - now you can, thanks to push notificati­ons. With these combined features, the effect is to be able to reach more users and make their experience more engaging.

“After implementi­ng their Progressiv­e Web App, AliExpress saw conversion rates for new users increase by 104%. This investment in the mobile web also resulted in conversion rates on Safari increasing by 82%. The new strategy also delivered a much better experience. Users now visit twice as many pages per session, and time spent per session increased an average of 74% across all browsers.”

- Google Developers (https://developers.google.com)

The tech behind

How does the ‘magic’ happen? Developers are able to create this functional­ity thanks to Service Worker technology, being a pillar for Progressiv­e Web Apps, as well as Web App Manifest specificat­ion, which gives developers control in areas that are normally reserved for native apps, and finally the App Shell Model.

Service Worker intercepts network requests and acts appropriat­ely depending on the conditions - background sync and cache benefits to minimal use of data. By adopting the App Shell Model, HTML, CSS, JavaScript and smart responsive design, developers can power the user interface and provide native-like experience­s. In a way, the approach with this model is similar to preparing a bundle to publish on an app store when creating a native app.

One has to ask why so many developers have recently been looking into that type of approach? It’s worth rememberin­g that Service Worker technology delivers significan­tly on performanc­e and not just it’s powerful caching functional­ity. Essentiall­y, the more an end user uses the web app, the more it turns into a native-like experience.

Crossing the line

It’s no wonder that Progressiv­e Web Apps are gaining more and more attention globally. Due to its success, Google announced this year the deep integratio­n of Progressiv­e Web Apps into Android. Although Safari does not supporting Progressiv­e Web Apps yet, the app can still be delivered to iOS - for example, by using classic channels with a hybrid approach and solutions such as Apache Cordova and Ionic. Keep in mind that millions of users are using browsers that do support Progressiv­e Web Apps. In fact on one of the Chrome Dev Summits, an impressive 850 million active users was announced. It certainly seems there is a bright future for Progressiv­e Web Apps, what do you think? Bartlomiej Mirynski is a Frontend Web Developer at Deloitte Digital. For more informatio­n, please visit www.deloittedi­gital.com/web-mobile-developmen­t

 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from Malta