From responsive website to PWA in one day

You've probably already heard about Progressive Web Apps, but just to refresh, you are simply building and application from your website. If your application is PWA compatible, users should be able to add a shortcut (link) to the app to their home screen (desktop). The app should also work to some extent off-line, which is done with a help of the Service Worker. Note that by complying with PWA rules you will improve experience for all your users! Not just for mobile users.

In this article I will talk about some basics of transforming an existing website into a PWA. I'm saying those are the basics, but in fact, within a day or two you should be able to create a fully functional PWA. You need to avoid some traps on your way, but I'll try to guide you through this minefield.

IE8 dogorywa – radujcie się

IE8 dogorywa

Półtora roku temu napisałem po angielsku artykuł IE8 must die! Chciałem przekonać nim, że warto powalczyć o zagrzebanie IE8. Wówczas miał on jeszcze 4% polskiego runku. Potem następowały różne fluktuacje, zwłaszcza w okresie wakacyjnym, ale dzisiaj jest już pewność – od miesiąca Internet Explorer 8.0 utrzymuje się poniżej 1%.

Netbeans tips & tricks for running PHP and Node scripts

In this article I'd like to share some tips on creating and running various script based projects (i.e. projects in which you run something in command line). No Grunt or any other additional helper application is required. You just need Netbeans.

Also added a bonus on setting up PHP debugging (XDebug) on Windows.

IE8 must die!

I know what you think - Internet Explorer, argh! But thankfully, IE6 is dead. IE7 share is also rapidly diminishing. What about IE8? Unfortunately IE8 is the top most IE on Windows XP. And this is a favorite Windows distribution for many users still. Long live IE8? Please, no. Here is why...

HTML compass madness!

So I wanted to do a compass from a while just to push it to some apps mostly as a nice way of showing directions (e.g. "this way to the museum"). I thought that the hardest part would be to draw the needle, and translate North azimuth to object azimuth. Turned out I was wrong...

Update: There is now a more stable version of below code with additional library fo mocking compass and PhoneGap support. See: WebCompass project.

Subscribe to JavaScript