Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DevNexus 2018 | Dismantling a Progressive Web App

DevNexus 2018 | Dismantling a Progressive Web App

Sometimes we are not sure if using a specific tool is a good decision or not. How many libraries are available in the market? What will become standard? And, what is just a hype?

PWA sounds like a new framework, or a tool to create some sort of web apps. Many developers link it to JavaScript, and that is only achievable with one of those new framework.js out there.

I’ve been wondering about the truth of this previous statement, can we create a PWA in, let’s say, pure Java? I did some research and I’m going to present my findings.

In this presentation I will demonstrate how we can actually build modern web applications that qualify as "Progressive Web Apps".

AMahdy Abdelaziz

March 01, 2018
Tweet

More Decks by AMahdy Abdelaziz

Other Decks in Programming

Transcript

  1. D I S M A N T L I N

    G A P R O G R E S S I V E W E B A P P A M A H D Y A B D E L A Z I Z @ A M A H D Y 7
  2. P R O G R E S S I V

    E W E B A P P
  3. S M A R T P H O N E

    S O R A P P - P H O N E S
  4. 80% OF TIME SPENT IS IN USERS’ TOP 3 APPS

    Source: comScore Mobile Metrix, U.S., Age 18+, June 2015
  5. ZERO NUMBER OF APPS AVERAGE USER INSTALLS PER MONTH Source:

    comScore Mobile Metrix, U.S., Age 18+, June 2015
  6. P R O G R E S S I V

    E W E B A P P
  7. < / A D V E R T I S

    E M E N T >
  8. Progressive Web App • Web Workers • Offline Support •

    Push Notification • Install on home screen (of any device) • …. bla bla
 P R O G R E S S I V E L Y L O A D I N G T H E A P P ?
  9. 1 . A D D A N A P P

    M A N I F E S T
  10. { "name": "Todo App", "icons": [{ "src": "todo.png", "sizes": "192x192",

    "type": "image/png" }], "start_url": "/index.html", "display": "standalone", "orientation": "portrait" } https://developer.mozilla.org/en-US/docs/Web/Manifest W E B A P P M A N I F E S T
  11. 2 . D E F I N E A S

    E R V I C E W O R K E R
  12. 3 . A D D P U S H ,

    B A C K G R O U N D S Y N C ( I F Y O U W A N T T O )
  13. D O Y O U N E E D T

    O S TA R T F R O M S C R AT C H ? N O .
  14. P W A C H E C K L I

    S T : # Site is served over HTTPS # Responsive layouts, works on mobile # First load is fast even on 3G # Site works cross-browser # Page transitions don't feel like they block on network # Each page has a URL # Metadata is provided for Add to Home screen developers.google.com/web/progressive-web-apps/checklist
  15. P R O G R E S S I V

    E W E B A P P S I N J A V A https:// j.mp / javapwa T H A N K YO U ! - B U D D H A @ A M A H D Y 7