Hi guys. I’ve been learning ES6 for quite some time now and have found it to be a lot refreshing and exciting. Thought of sharing whatever I’ve learned with you guys and I’ve planned to do it as a series, with each post concentrating on one aspect of the language in detail. This post is meant to just have links to all the posts so that you don’t miss any of them. See you in the posts.. 🙂
Category Archives: Web Development
Replacing ‘that = this’ assignments in Javascript with Arrow Functions
In a previous post, I was explaining how a that = this
assignment was required to preserve the value of the this
variable in certain scenarios. This post will focus on how to resolve them using arrow functions.
What does ‘that = this’ in Javascript mean?
When you go through some of the popular JS libraries you might start noticing this peculiar line all over the place.
that = this that.someFunction();
First impressions, you could figure out that it had something to do with the value of the variable this
being inconsistent, so they had to store in a variable and use it later. So I did some digging into it and found out why this assignment was a necessity back then and how we can overcome them.
Angular 2 – Hello World App – Typescript
Important Note: The post has been updated to RC 1
Hi guys. I’ve been working with Angular 2 for the past week, so thought I must share whatever I’ve learned. I’ll be writing a series of blog posts on Angular 2. What better way to start the series than to do an hello world app.. 😛 Let’s get started.
Add Splash Screen and Change address bar color for your Website
Hi guys, in this article we will see how to add a splash screen to your website and also to change the theme color of your website’s address bar. This will give a more native feel to your website. Let see how to get it done.
Adding an Icon to the Home Screen for Web Apps
In this article we will see how to add a native like app icon for your mobile web site onto your users devices. This will mean the users can get to your website without having to type in your address. It’s instant access and well works like magic. Let’s see how to get it done.. 🙂
Service Workers – Part 5 – Push Notifications
Hello guys..In this article we will see how to do push notifications using Service Workers. We will see a basic demo and then move on to a more complex one.
Service Workers – Part 4 – Background Sync
Hi there fellas…rollin’ on in our series on Service Workers, today we will see how to run background synchronization tasks using them. We’ll do a small demo to get a better understanding. Let’s get straight to it.
Service Workers – Part 3 – Communication between SW and Pages
Hi all…In this post we will see how to establish communication and share data between web pages and Service Workers. We will create a demo which will showcase the three types of communications possible. So let’s get started.
Continue reading
Service Workers – Part 2 – Offline Caching Patterns
In this post, we will see how to make use of the caching capabilities of Service Workers to provide a rich offline experience. Later down in the series I’ll try to provide a demo with an use case. For now, let us understand the different ways in which we can leverage the caching capabilities of Service Workers. So let’s get to it.