table of contents
It is 2020, and the phrase “you’ve got the whole world in your hands’ ‘is more relevant than ever before. Most businesses today rely on the power of the internet to ensure that customers around the globe can find and use their products. As mobiles outnumber computers ten to one, most companies now have dedicated apps for the two dominant mobile platforms.
However, this can incur significant development, testing and maintenance costs. Costs for developing mobile apps for each platform and a website are quite high, causing companies to shell out thrice as much (compared to a website) for this task.
Native apps come with the additional workload of App Store SEO, which ensures that your app stays in the top lists, allowing users to find your app quickly. Enter Progressive Web Apps.
Imagine a near-native app-like experience without the hassle of having to visit the app store to install them. Progressive Web Apps provide an experience that is built and delivered directly through the web. For developers, these apps eliminate the headache (and associated costs) of maintaining three different codebases.
What are Progressive Web Apps?
Progressive Web Apps are not a new framework or an entirely new technology – they are applications that follow a set of best practices to ensure that they function like a mobile or a desktop application. The intent of Progressive Web Apps is to provide a user experience that is so similar to native mobile apps that users are unable to tell the difference.
These apps are often deployed using an Add to Home Screen button, which allows users to install the app in the background. This app will now reside in the app drawer, allowing you to have the same experience as the website, but now on your mobile phone. Progressive Web Apps also have an offline mode that lets you browse content available in the app even when you are not connected to the internet. Cool, isn’t it?
What makes a web app a Progressive Web App?
Although there are not too many differences between a web app and a progressive web app, there are some properties a Progressive Web App must exhibit. These include:
Offline content
A PWA must be able to start offline and display meaningful information. In short, it should act like a native Android or iOS app when opened.
Designed for touch
The interface of the app must be designed for touch interfaces which should include gesture interactions. There should be no delays in the response of touch.
Metadata for the app
The app must provide metadata to the browser about the way it should look and feel and provide an icon on the home screen.
Push Notifications
If needed, the app must be able to receive notifications when not running.
Responsiveness
The app must fill the screen like a native mobile app. They should also work for desktop devices the way they do for mobile devices.
Installable
The ability to install an app is a progressive feature. The app must also work as a normal website on platforms that do not support service workers completely, like Safari.
Openness
The app must provide a way to share the current URL and should not be locked to a browser or an app store.
Why do we need Progressive Web Apps? What are its advantages?
A good case study for Progressive Web Apps would be Twitter’s progressive web app called Twitter Lite.
Why did Twitter need a web app? With hundreds of millions of users, Twitter needed a fast and reliable way to engage them securely on mobiles. With the overheads of native apps becoming prohibitive, Twitter went the Progressive Web App way by creating Twitter Lite and the results were mind-boggling.
With a 70%+ increase in tweets, bounce rate reduction of up to 20%, load time enhancement of 30% and a reduction in data consumption by up to 70% Twitter Lite has proven the prowess of Web Apps to the world. This alone has been the reason Twitter Lite is the default mobile web experience for all Twitter users. Twitter Lite has been a shining example and the poster boy for all Progressive Web App developers around the world.
Progressive apps have many advantages. Some of these include:
Speed and reliability
Progressive web apps use local caches to store and display static assets. This means that in areas with good connectivity you have no problems accessing any web content but in areas with slow internet speeds like 2g, you are left with a website or a native app that does not load.
In progressive Web Apps, the static data is cached ensuring that the app starts up as fast as it did with good connectivity as the data is served from the device itself. This ensures that the app is reliably fast. It fires up the moment you tap it, reducing user frustration because of load times.
Access everywhere
As PWAs are based on HTML5, they can load on any operating system or device if it has a browser. This makes them accessible on almost any platform that can support HTML5 and a browser.
Installable
Most users might skip installing an app if they must visit the app store or an alternative location. Progressive Web Apps can run in a browser but have the additional capability of being installed. These apps look like any other app, launch like native apps and have similar customized splash screens and icons.
This helps them have a unified user experience which is the same as native apps without requiring an app store download. The installation occurs in the background, without the user having to move away from the website.
Engaging
As Progressive Web Apps can send push notifications to users just like native apps, they keep the user engaged and notified within the app.
Cross-Platform
Utilizing the power of responsive design techniques, PWAs work on both mobile and desktop platforms, ensuring that you can share the codebase between them. This allows the developer to reduce overheads associated with developing and testing native apps.
Easy to update
With a single codebase, these apps are extremely easy to update. Users can get the most updated version of the app directly from the source instead of going through the app store and developers can focus on a single codebase which results in fewer bugs and glitches in the app.
SEO
These apps can be promoted using SEO, which makes it easy to find them. If your brand SEO is on point, the app will be there for users to find and use without having to hunt for it in the app store.
Further Reading On Volumetree:
- Swift 5 The Real Game-Changer In The App Development World
- Steps To Follow To Start A New Business
- Food Delivery App Makes You A Billionaire
- Growing Trend In Education Industry
9 Steps to Building a Progressive Web App
Building a Progressive Web App is a straightforward process, but the development process must not be taken lightly. With an experienced development partner like Volumetree, the development process is extremely streamlined, and your app will be ready to go from the first instance itself.
If, however, you wish to develop the app yourself, ensure that you have an experienced development and testing team.
Before you begin, please go through the checklist of items that have been published by Google for Progressive Apps. This will ensure that you have all the essentials in place. Once all that is covered, you can start developing your app.
Here is an overview of the steps you need to undertake to build a basic Progressive Web App. Please note that we have deliberately kept this simple so you can understand how to go about building a Progressive Web App.
In our sample app, we will get the latest trending gif files from the website gfycat.com and display them in our app. These images should also be visible when the user does not have internet connectivity. This satisfies the offline experience requirement of a Progressive Web App.
1. Create your HTML page
This is a prerequisite for your app. A skeleton HTML file for the sake of an example can just have a simplistic H1 tag that prints a line.
A very simplistic page that displays The coolest stuff around today:
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<title>Get your cool stuff here!</title>
<link rel=”stylesheet” href=”/styles.css”>
</head>
<body>
<header>
<h1 class=”center”>The coolest GIF files around!
<main>
<div class=”container”></div>
</main>
<script src=”application.js”></script>
</body>
</html>
2. Creating the function to fetch cool stuff
Once the HTML has been created, we would need to fetch the data we need to display. This can be accomplished using a fetch function. This function will gather the data to display in your HTML page.
async function fetchCurrentGifs() {
const gifget = await fetch(`https://api.gfycat.com/v1/reactions/populated?tagName=trending?api_key=${apiKey}&limit=10`);
const json = await gifget.json();
main.innerHTML = json.data.map(createStuff).join(‘\n’);
}
3. Creating a manifest file
A manifest file is a JSON file that provides meta-information about your app. This app includes information like the icon that will be seen when installed, the color of the app, the name, the short name, etc.
An easy way to make a manifest is to generate the manifest file using a tool We used the Web App Manifest Generator by firebase app to generate our manifest.
{
“name”: “Coolest GIF files around”,
“short_name”: “TopGifs”,
“icons”: [{
“src”: “images/icons/icon-small.png”,
“sizes”: “128×128”,
“type”: “image/png”
}],
“theme_color”: “#2196f3”,
“background_color”: “#2196f3”,
“display”: “browser”,
“scope”: “/”,
“start_url”: “/index.html”
}
Making your app progressive involves adding the path of the manifest file to your skeleton HTML file. This is accomplished using the
<link> element in the <head> of a HTML file.
<link rel=”manifest” href=”/manifest.json”>
4. Adding Icons
The icon is used to display an icon for the app when the user installs the app in their application drawer. A PNG or a JPG will work fine. The tool for manifest generation listed above will help you in generating icons for various formats.
5. Creating a Service Worker
A service worker is an event-driven system that is invoked when an event is triggered during a request. These act as proxies between the network and the application. A service worker can be simply defined as a few lines of JavaScript code that continually run in the background.
Responses of the events like fetch or install can be handled using the fetch event listener in the Service Worker. A service worker must be registered, installed, and activated in a web application for it to start handling fetch and other events. Service workers cache information for our app in the background by intercepting network requests, which is then used to load and display data for offline viewing.
A service worker will aid in caching data and fetching resources. If data exists in the cache, the service worker will send data from the cache. Else, data will be fetched from the URL and served. You can easily think of what functionality you wish to provide when your app is offline and cache requests accordingly. As an example, you may want to cache the images section of your app so that they are available without an internet connection too.
6. Registering the Service Worker
The service worker needs to be registered using the navigator library of the browser. Ensure that you serve the service worker from the root directory and not from /scripts/. This sets the scope for the service worker. With this method, the service worker will control requests from all pages in this domain.
if (‘serviceWorker’ in navigator) {
window.addEventListener(‘load’, function() {
navigator.serviceWorker.register(‘/serviceWorker.js’);
});
}
To check if a service worker has been successfully registered, open your app in the browser, open the console. Now click on Network > Application > Service Workers. If the service worker has loaded, you will see it in this tab.
If the service worker has successfully loaded, you will be able to see stuff even when you’re offline. To test, refresh the page and let it load. Now turn off your internet connection and reload the page. Your data will still be served as the service worker has cached it.
7. Installing the app
Loading your app twice will give the user the option to Add to Home Screen. Once added, the user will be able to launch the app using the app icon selected earlier from the home screen of their device itself.
According to Chrome, to trigger an install prompt an app must have:
· A service worker and HTTPS
· A web app manifest file with basic configuration and with display: standalone
· Have had a minimum of two distinct visits
8. Push Notifications
Push Notifications are an excellent way to engage with and stay in touch with your users. As push notifications do not require the app to be in the foreground, they are a wonderful way to remind users that they have not used your app in a while.
9. Unsupported Browsers
For browsers that do not support Progressive Web Apps like Safari, the alternative is to create an immersive, responsive web experience. However, when Apple decides to add support for PWAs, your app will be ready to rock on that platform too!
As you’ve read until now, creating a very simple, basic Progressive Web App is not that difficult, but does require an experienced developer or a team to help you develop, test and deploy the app. With an experienced development partner like Volumetree, you can take the guesswork out of the equation and ensure that your users are provided an avant-garde app that ticks all the right boxes. Contact us today for a quote or to discuss how we can help you provide a better experience to your users.






I savor, cause I found exactly what I was looking for. You have ended my 4 day lengthy hunt! God Bless you man. Have a great day. Bye
I cling on to listening to the news broadcast lecture about getting free online grant applications so I have been looking around for the top site to get one. Could you tell me please, where could i find some?
order aciphex 20mg for sale – buy rabeprazole online cheap order domperidone 10mg generic
My husband and i were really delighted that Peter could deal with his preliminary research from the ideas he discovered out of your site. It’s not at all simplistic just to possibly be offering guides which other folks might have been trying to sell. We figure out we now have the website owner to give thanks to for this. The explanations you have made, the easy blog menu, the friendships you will assist to promote – it is mostly exceptional, and it’s really helping our son in addition to the family know that the subject matter is fun, which is certainly highly fundamental. Many thanks for everything!
pill bisacodyl – buy generic oxybutynin liv52 buy online
Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!
buy cheap generic zovirax – generic duphaston 10 mg dydrogesterone pills
order bactrim 960mg for sale – tobra for sale order tobra online
That is the precise blog for anyone who needs to find out about this topic. You understand so much its virtually arduous to argue with you (not that I truly would want…HaHa). You positively put a brand new spin on a topic thats been written about for years. Great stuff, simply great!
With a three-way moneyline bet, you can bet on any of the three possibilities. The odds will be slightly different than those you will be offered on a classic two-way moneyline. But if, for instance, you have a strong sense that the scores will be tied at the end of a game – whether or not a period of over time follows – you can bet on the draw using the three-way moneyline. Don’t miss out – sign up for our newsletters! (approx 1 – 2 per week) However, with hockey being a sport where numerous upsets happen each year during a playoff campaign, and random luck being more of a factor in the sport then in other professional sports, staying away from the favored teams in the futures market isn’t necessarily a bad idea in hockey. Several different sports allow for three-way moneyline betting in one form or another. Soccer, hockey, and football are three of the most popular sports in which you will typically be able to place a 3-way moneyline wager on any game of your choice.
https://www.rimagemarket.com/forum/general-discussions/1xbet
Ben has been an avid sports bettor for years and loves to offer his insights to our readers. As the Project Leader for this site, he’s had a huge role in shaping the content you’ll find here. His years of betting experience ensure what you read is relevant to the needs of every bettor. NC sports bettors – check out some of the best North Carolina sports betting apps and best North Carolina sportsbook promos as sports betting is now live in the Tar Heel State. You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page. The best part about the legalization of sports betting in the U.S. is that all of the approved sportsbooks are regulated by the state, ensuring they are legit and that your money is safe. This means that BetMGM, Caesars Sportsbook, ESPN BET, DraftKings, Fanatics Sportsbook, bet365, BetRivers and Hard Rock Bet are all legit and safe.
I simply couldn’t leave your web site before suggesting that I really loved the standard information a person provide on your visitors? Is going to be back incessantly in order to inspect new posts
how to get fulvicin without a prescription – buy cheap griseofulvin gemfibrozil 300mg over the counter
I¦ll right away seize your rss as I can not in finding your email subscription hyperlink or newsletter service. Do you have any? Please let me recognize so that I could subscribe. Thanks.
dapagliflozin online order – sinequan order acarbose usa
naturally like your web-site however you have to check the spelling on quite a few of your posts. Many of them are rife with spelling problems and I to find it very troublesome to tell the reality nevertheless I¦ll certainly come again again.
Hi! This is my first comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading your articles. Can you recommend any other blogs/websites/forums that go over the same topics? Many thanks!
buy dimenhydrinate 50mg pills – buy risedronate 35 mg generic order actonel generic
ProvaDent: What Is It? ProvaDent is a natural tooth health supplement by Adam Naturals.
order vasotec 5mg for sale – buy generic latanoprost order latanoprost generic
I really enjoy studying on this internet site, it has superb posts. “Words are, of course, the most powerful drug used by mankind.” by Rudyard Kipling.
buy etodolac generic – pletal 100mg canada cilostazol over the counter
Simply wanna tell that this is very helpful, Thanks for taking your time to write this.
Wonderful website. Plenty of helpful information here. I am sending it to some pals ans additionally sharing in delicious. And of course, thanks on your sweat!
piroxicam 20 mg for sale – order feldene 20mg online buy generic rivastigmine
You can certainly see your skills within the paintings you write. The sector hopes for more passionate writers like you who aren’t afraid to say how they believe. All the time follow your heart.
Hey There. I found your blog using msn. This is a very well written article. I will be sure to bookmark it and come back to read more of your useful information. Thanks for the post. I’ll definitely return.
I needed to create you this little remark to finally give many thanks yet again considering the breathtaking secrets you’ve featured on this page. It was quite remarkably open-handed of you to grant freely just what a lot of folks would’ve supplied for an electronic book to help with making some money for themselves, chiefly considering that you could possibly have tried it in the event you wanted. Those creative ideas additionally served as a great way to fully grasp that some people have similar interest really like my own to understand a lot more when it comes to this condition. I think there are many more pleasurable periods up front for individuals that scan your blog post. the genius wave
Hey there! I know this is kind of off topic but I was wondering which blog platform are you using for this website? I’m getting fed up of WordPress because I’ve had issues with hackers and I’m looking at options for another platform. I would be awesome if you could point me in the direction of a good platform.
Thankyou for this marvelous post, I am glad I detected this site on yahoo.
My brother suggested I may like this blog. He was once entirely right. This publish actually made my day. You can not believe just how much time I had spent for this information! Thanks!
Hello.This article was extremely motivating, especially since I was searching for thoughts on this issue last couple of days.
Yeah bookmaking this wasn’t a bad conclusion outstanding post! .
I just could not depart your website before suggesting that I extremely enjoyed the standard information a person provide for your visitors? Is going to be back often to check up on new posts
Hi! I know this is kinda off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!
Thank you for sharing superb informations. Your web site is so cool. I am impressed by the details that you’ve on this site. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for extra articles. You, my pal, ROCK! I found just the information I already searched everywhere and just couldn’t come across. What a great site.
pin-up 141 casino: Pin up 306 casino – pin-up kazino
It’s a shame you don’t have a donate button! I’d certainly donate to this superb blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to brand new updates and will share this blog with my Facebook group. Talk soon!
https://autolux-azerbaijan.com/# Pin up 306 casino
Pin-Up Casino: pin-up360 – pin-up kazino
https://autolux-azerbaijan.com/# pin-up 141 casino
https://autolux-azerbaijan.com/# Pin Up Kazino ?Onlayn
Those are yours alright! . We at least need to get these people stealing images to start blogging! They probably just did a image search and grabbed them. They look good though!
https://autolux-azerbaijan.com/# ?Onlayn Kazino
Pin Up Azerbaycan ?Onlayn Kazino: Pin Up – Pin Up Kazino ?Onlayn
https://autolux-azerbaijan.com/# Pin-up Giris
pin up https://azerbaijancuisine.com/# pin up
pin-up 306
order piracetam online – how to buy praziquantel sinemet 20mg uk
buying from online mexican pharmacy: Mexico pharmacy that ship to usa – best online pharmacies in mexico
buying prescription drugs in mexico: mexican pharmacy – mexican drugstore online
mexican pharmaceuticals online [url=https://northern-doctors.org/#]mexican pharmacy online[/url] mexican rx online