Code Monkey home page Code Monkey logo

Comments (5)

ivaylo-mobile-dev avatar ivaylo-mobile-dev commented on June 23, 2024

Hi voordev,

The PWA toolkit builds Progressive Web App right out of the box. Now a PWA has the following features:

  • Available/hosted on the web - so it bypasses app stores, and updates are served as soon as code is updated.
  • Able to be accessed offline or using poor internet connection - this is where the service worker comes in. The service worker caches the app so that it is still available when offline.
  • Able to be installed onto a user's device where support for installing Progressive Web Apps is available.
    As well the PWA Toolkit uses Stencil which is a tool used to create Web Components, which are part of Ionic 4. In Ionic 4 all components are also Web Components which means they are compiled by the browser, not by the framework. This improves performance and also allows you to create the UI without a framework.

Ionic 4 with service worker enabled would be an ionic app that is cached by service worker and can be accessed and used offline or with poor internet connection.

Josh Morony explains Capacitor in his book Building Mobile Apps with Ionic and Angular:

Capacitor allows you to wrap your web based application in a native shell, and acts as a bridge to the native device. Capacitor will create a native application for each platform you are targeting (e.g. iOS and Android), it will set up a web view in that application, and then it will load your web application into that web view. The end result is a native application (that looks no different to any other native mobile application) that is running your web code.

So Capacitor is not part of the PWA toolkit. You would use Capacitor or PhoneGap to build an app for the app stores using mostly the same code as for building the PWA.

from ionic-pwa-toolkit.

badpenguin avatar badpenguin commented on June 23, 2024

@voordev ionic 4 are web components build with stencil that can be used on Angular, and hopefully React and VUE; probably you've used them in an angular project. This toolkit instead, actually it seems more a boilerplate honestly, uses stencil components directly. For PWA i think it will be better to use google workbox directly.

from ionic-pwa-toolkit.

enaizi avatar enaizi commented on June 23, 2024

Try google workbox.
https://github.com/enaizi/pwa-sidemenu. Already configured with google workbox.

from ionic-pwa-toolkit.

jayparmar avatar jayparmar commented on June 23, 2024

May be this will help https://ionicthemes.com/tutorials/about/the-complete-guide-to-progressive-web-apps-with-ionic4

from ionic-pwa-toolkit.

voordev avatar voordev commented on June 23, 2024

Very clear.
Thank you to all contributions.
I forgot to close the issue.
Hope it contributes to future reference

from ionic-pwa-toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.