Opencart Progressive Web Application (PWA)

Adroit

Member
XNullUser
Joined
Nov 3, 2021
Messages
88
Reaction score
14
Points
8
NullCash
180
What makes a web app, a Progressive Web App?

Progressive Web Apps provide an installable, app-like experience on desktop and mobile that are built and delivered directly via the web. They're web apps that are fast and reliable. And most importantly, they're web apps that work in any browser. If you're building a web app today, you're already on the path towards building a Progressive Web App.
Fast & Reliable

Every web experience must be fast, and this is especially true for Progressive Web Apps. Fast refers to the time it takes to get meaningful content on screen and to provide an interactive experience.

And, it must be reliably fast. It's hard to stress enough how much better reliable performance is. Think of it this way: the first load of a native app is frustrating. It's gated by an app store and a huge download, but once you get to a point where the app is installed, that up-front cost is amortized across all app starts, and none of those starts have a variable delay. Each application start is as fast as the last, no variance. A Progressive Web App must deliver this reliable performance that users have come to expect from any installed experience.
Installable

Progressive Web Apps can run in a browser tab, but are also installable. Bookmarking a site just adds a shortcut, but an installed Progressive Web App (PWA) looks and behaves like all of the other installed apps. It launches from the same place as other apps launch. You can control the launch experience, including a customized splash screen, icons, and more. It runs as an app, in an app window without an address bar or other browser UI. Like all other installed apps, it's a top level app in the task switcher.

Remember, it's critical that an installable PWA is fast and reliable. Users who install a PWA expect that their apps work, no matter what kind of network connection they're on. It's a baseline expectation that must be met by every installed app.
Mobile & Desktop

Using responsive design techniques, PWAs work on both mobile and desktop, using a single code base between platforms. If you're considering writing a native app, take a look at the benefits that a PWA offers.
What you'll build

In this codelab, you're going to build a weather web app using PWA techniques. Your app will:

Use responsive design, so it works on desktop or mobile.
Be fast, using a service worker to precache the app resources (HTML, CSS, JavaScript, images) needed to run and to cache the weather data at runtime to improve performance.
Be installable, using a web app manifest and the beforeinstallprompt event to notify the user it's installable.

5e788a12a33de.jpg


5e788a225b781.jpg


5e788a32bc3fa.jpg


5e788a4372bb3.jpg


5e788a5b01138.jpg


INSTALL
Upload via Extension Installer
Refresh Modifications
Add permissions to modify settings for the admin user group
Go to Extensions -> Analytics -> Opencart Progressive Web Application
Choose your settings and Save :)

NOTES
The extension is universal and support all themes..

WARNING
SSL is required!
If your store using SEO module, exclude SEO url rewriting for the Service Worker's URL - /index.php?route=extension/analytics/progressive_web_application/service_worker

Origin Request must be from the original store https address so the SSL is required and ServiceWorker url must be original and not SEO fixed or rewritten!

Test your app here - https://www.pwabuilder.com/
Convert your app and then upload it in the smartphone repositories - AppStore, Google Play, Samsung Galaxy Store and etc - https://www.pwabuilder.com/publish

Enjoy it!

Please, rate it!
 

Attachments

  • 3.0.1.2.ocmod.zip
    21 KB · Views: 9
  • 3.0.2.0.ocmod.zip
    21 KB · Views: 10
  • 3.0.3.1.ocmod.zip
    21 KB · Views: 7
  • 3.0.3.2.ocmod.zip
    21 KB · Views: 11
  • 3.0.3.3.ocmod.zip
    21 KB · Views: 7
  • 3.0.3.5.ocmod.zip
    21 KB · Views: 8
  • 3.0.3.6.ocmod.zip
    21 KB · Views: 13

xlarge42

Member
XNullUser
Joined
Nov 24, 2021
Messages
47
Reaction score
0
Points
6
NullCash
1
kardeşim ellerine sağlık adamsın çok işime yaradı!
 

singlewolf

Member
XNullUser
Joined
Apr 18, 2021
Messages
137
Reaction score
0
Points
16
NullCash
0
Thanks for sharing this piece great share
 

sairsoft

Member
XNullUser
Joined
Dec 27, 2021
Messages
197
Reaction score
0
Points
16
NullCash
1
thanks,
Thanks for sharing this piece great share
 

sozinhox1

Member
XNullUser
Joined
Jun 22, 2022
Messages
511
Reaction score
1
Points
18
NullCash
0
kardeşim ellerine sağlık adamsın çok işime yaradı!
 

joinla

New member
XNullUser
Joined
Jul 17, 2022
Messages
20
Reaction score
0
Points
1
NullCash
5
Thanks for sharing this piece great sharen PWA
 

Turker

Member
XNullUser
Joined
Jul 31, 2020
Messages
349
Reaction score
1
Points
18
NullCash
0
Thanks for sharing bro Thanks for sharing bro
 

Vika

Member
XNullUser
Joined
Oct 30, 2021
Messages
50
Reaction score
2
Points
8
NullCash
7
Eline sağlık harika paylaşım teşekkürler
 

Stroame

Member
XNullUser
Joined
Oct 16, 2022
Messages
43
Reaction score
0
Points
6
Location
United States St.Louis
NullCash
25
Thank you, my friend, it was a successful lecture and presentation, if you explain this as a video, I will try to get your likes
 

matobwin

Member
XNullUser
Joined
Feb 7, 2019
Messages
334
Reaction score
0
Points
16
NullCash
13
Thank you, my friend, it was a successful lecture and presentation, if you explain this as a video, I will try to get your likes
 

joinla

New member
XNullUser
Joined
Jul 17, 2022
Messages
20
Reaction score
0
Points
1
NullCash
5
Thanks for sharing this piece great share
 

atillayapici

Member
XNullUser
Joined
Jul 11, 2021
Messages
232
Reaction score
1
Points
18
NullCash
12
gerçekten güzel teşekkürederim. deneyip sizi bilgilendireceğim
 

sozinhox1

Member
XNullUser
Joined
Jun 22, 2022
Messages
511
Reaction score
1
Points
18
NullCash
0
Vay! paylaşımın için teşekkürler
bu modül kullanışlı
 

Rhyn67

Member
XNullUser
Joined
Jul 3, 2022
Messages
89
Reaction score
0
Points
6
NullCash
17
kardeşim ellerine sağlık adamsın çok işime yaradı!
Post automatically merged:

Thanks for sharing this piece great share
Post automatically merged:

Thanks for sharing this piece great share
 
Last edited:
Top