Solutions for Mobile Marketing
Digital Marketing Services & Social Media Management
  • Home
  • Mobile Marketing
    • Hyper-Contextual Targeting
    • Progressive Web Apps
    • Benefits Of Apps
    • Mobile App Features
    • Questions Answered
  • What Is A Joint Venture?
    • JVMentor - The Easy Way To Make Money Home Study Course
  • About Us
    • Contact Form
  • My Blog
  • Facebook Check in

What are mobile Progressive Web Apps?

22/9/2017

0 Comments

 
By now, you’ve probably heard that Progressive Web Apps are the future of all mankind. They’ll bring world peace, end hunger, save the rainbows and unicorns, bring balance to the force, and a whole lot more. In the process, they might even push the mobile web forward, bring parity to web and native apps, and help mobile developers reach more users beyond the confines of the app stores.
That all sounds great…but what are Progressive Web Apps, exactly?

“A Progressive Web App uses modern web capabilities to deliver an app-like user experience.”

Native app store apps do things like send push notifications, work offline, look and feel like an app (as Apple and Google have imagined them), load on the home screen, and so on and so forth. Mobile Web Apps accessed in a mobile browser, by comparison, historically haven’t done those things. Progressive Web Apps fix that with new Web APIs, new design concepts, and new buzzwords.



To be clear, I’m talking about browser mobile web apps. Hybrid apps, like Ionic with Cordova, run uninhibited in the native app environment, with all the features we expect of any native app. But pull out the web content from a hybrid app and load it in a mobile browser, and the app is thus constrained by the features of the browser (for a variety of good security and API standardization reasons).
Progressive Web Apps bring features we expect from native apps to the mobile browser experience in a way that uses standards-based technologies and run in a secure container accessible to anyone on the web.
On the whole, Progressive Web Apps describe a collection of technologies, design concepts, and Web APIs that work in tandem to provide an app-like experience on the mobile web. Let’s walk through some of the core tenets of Progressive Web Apps.



Service WorkersService Workers are an incredibly powerful, and equally as confusing, technology behind a Progressive Web App. They power offline functionality, push notifications, background content updating, content caching, and a whole lot more.
At a high level, a Service Worker is a worker script that works behind the scenes, independent of your app, and runs in response to events like network requests, push notifications, connectivity changes, and more.
I’ve heard Service Workers described as a “proxy,” which I think describes them nicely. We can listen for events like fetch that happen any time a network request occurs. We can handle that event with full control, checking for cached data and returning immediately, or allowing the request to continue to the remote server. Our script acts as a proxy, or middleware, for the request.
The sheer power and flexibility of Service Workers makes them very complicated, and generally, developers will want to use pre-made “recipes” for common service worker use cases, such as offline mode. Mozilla has a great reference for service worker recipes that demonstrate the myriad applications with reusable code. For example, here’s how to do a simple offline mode that intercepts fetch events and returns data from a cache if the network request fails. Google also has a slew of Service Worker Samples.
Main takeaway: Service Workers are just a JavaScript file like any other, running in the background and triggered via events, and it’s up to you to write code to handle caching, push notifications, content fetching, etc. Since developers end up using the same “recipes” to do common tasks (like offline support), we will most likely want to use existing recipes to make our lives easier. Service Workers are available on Android with Chrome 50 and not currently supported by other major mobile browsers.
App ShellThe App Shell model is a simple design concept whereby the initial load of a mobile web app provides a basic shell of a app UI, and the content for the app is loaded after. App Shell isn’t a Web API or a framework, but rather a design approach that developers can choose to adhere to that is enhanced by the caching abilities of service workers. You might find that it’s a pretty straightforward, obvious approach, made more dramatic by a buzzword.
With the App Shell model, we focus on keeping the shell of our app UI and the content inside of it separate, and we cache them separately. Ideally, our App Shell is cached such that it loads as quickly as possible when a user visits and returns at a later date. Having the shell and the content load separately theoretically improves the user’s perception of the performance and usability of the app.
Putting this in the context of Ionic, we can load our Ionic app layout immediately (tabs, navigation controller, side menu, etc.), cache it through a service worker, and then fetch and update the content through JS after the app shell has loaded.
As we start to add more PWA support to Ionic, you can expect an App Shell approach to come out-of-the-box for all Ionic apps that are deployed as mobile web apps, with pre-made Service Worker recipes for caching, offline support, and background content refreshing.
Installability and App ManifestHistorically, mobile web apps were not installed like an app to the home screen. Sure, a user could “pin” a mobile website to their home screen on iOS and Android, but the experience was second-rate, and the app still did not come with the local features we expect out of native apps (plus, does anyone actually do that?).
This is changing. Recently, Chrome on Android added support for installing web apps to the home screen with a native install banner, just like the native app banners we’re used to.
To tell Chrome our mobile website is installable as an app, we write a manifest.json file and link to it from our main HTML page (see the second link above for a full example).
Currently, iOS doesn’t have any additional features here beyond Pin to Home screen, so the experience won’t be as fluid, but here’s hoping Apple gives us some goodies this year?
ConclusionProgressive Web Apps are equal parts new Web APIs, design patterns, and marketing fluff. The mobile web comes closer to parity with installable app store apps through app manifest and homescreen install support, background worker functionality with Service Workers, faster load time with App Shell, and a renewed belief that web developers, too, can build amazing mobile app experiences.
At Ionic, we believe the web is the future of apps: It runs everywhere, it’s the most widely known technology stack, and it powers a rapidly increasing number of apps. Today, web technologies are used by millions of app store apps, but so far, the mobile web has been a stripped-down experience driving people to the app store for the Real Thing. Progressive Web Apps change that.

Source from: ionic.io
0 Comments



Leave a Reply.

    Archives

    January 2023
    May 2020
    April 2018
    March 2018
    January 2018
    November 2017
    October 2017
    September 2017
    July 2017
    May 2017
    July 2016
    June 2016
    April 2016
    March 2016
    January 2016
    August 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    November 2012
    June 2012
    August 2011
    March 2010

    Subscribe to the mobile app newsletter!

    Categories

    All
    4 Strategie Di Marketing Per La Tua Fan Page Su Facebook
    Applicazioni Mobile
    Chart: Android Continua A Perdere Terreno Ad Apple Negli Stati Uniti
    Come Guadagnare Online
    Cosa Sono I Codice QR?
    Coupons
    Crm
    ERTC Submissions
    Exposure
    Going Mobile
    Google Panda
    Internet Marketing
    Joint Venture Marketing
    Jv
    Making Money Online
    Marketing Strategy
    Mentor Me
    Mobile Apps
    Mobile Websites
    Ottimizzazione Sito
    Penguin E Zebra
    Perché La Tua Azienda Dovrebbe Coinvolgere I Clienti Tramite Una Applicazione Mobile
    Progressive Web Apps
    SCOPRI PERCHÉ IL MOBILE MARKETING FUNZIONA
    SE HAI UN APP IL CONSUMATORE E PIÙ PROBABILE CHE SPENDE !
    Sem
    Seo
    Social Media
    TENDENZE DEL FINE 2012 CON IL MOBILE - INFOGRAFICA
    Usanza Delle Applicazioni Mobile Dagli Utenti
    What Is A Joint Venture Broker?

    RSS Feed

    Picture

    Who am I?
    A short introduction of myself! My name is Paolo Benvenuto, and I've grown a passion for internet + mobile marketing, since the first of March, 2009. In 2012, I saw mobile marketing as the future trend for growth in mobile websites and mobile apps.  Among these,  my passion grew for SEM and SEO, Social Media and much more, managing company websites to achieve their goals in awesome increased sales, using web marketing strategies that proved to be successful.
    A few questions that could help you or your company are as follows:
    1. How do you market your product at present?
    2. Is it or what is working for you?
    3. What are the biggest challenges your business faces?
    4. Have you planned a system which will help your business grow?

    Italiano 

    Chi Sono?

    Sono Paolo Benvenuto, e mi occupo di internet e mobile marketing dal 01 Marzo del 2009.  Da Nov. del 2012 mi sono dedicato anche a realizzare siti e mobile apps. Ho una passione per SEM e SEO,   Social Media ed altro.
    Aiuto le imprese ad incrementare il loro fatturato usando strategie di marketing che hanno già avuto successo. 
    Domanda 1.
    In questo momento che tipo di marketing utilizzi per la tua impresa?
    Domanda 2. 
    Cosa funziona per te?
    Domanda 3.
    Quali sono le sfide più grandi che ha il tuo business?
    Domanda 4.
    Hai previsto un sistema per l'avvenire della crescita del tuo business?  

    Paolo Benvenuto, EzineArticles Basic PLUS Author
    View my profile on LinkedIn
Powered by Create your own unique website with customizable templates.