Blogs

These posts are my own little way of sharing my knowledge and giving back to the community from where I have learned a lot. I also believe that knowledge is one of few commodities which when shared never decreases but on the contrary increases :) Would love to have your feedback, comments on my ramblings as its all based on my own little experiences..

How did I go about choosing my techstack for my side web app project?

I find it its always good to work on a pet/side project outside my official dev work as it gives me room to explore new stuffs and in that process help in analyzing the pros/cons of choosing different technologies/frameworks for a use case. I am documenting my thoughts on how I went about choosing the stack (front end/back end technologies, code organization, devops workflow) for one of my side project which was a web app.
December 20, 2018

Postgres Vs MySQL - My experience on query optimization working on both

Recently, I had a peculiar incident while tuning a slow running SQL query which was logically doing the same thing but one was in Postgres (v11) and other in MySQL (v5.5). I just wanted to share my findings on how query planning/optimizing works in these 2 RDBMS within the context of my problem. Let me first give you the context of the problem in Postgres database. I was having 2 tables - A Client master table having information about client and a Client emails table having emails belonging to each client - 1 to Many relationship between Client and Email entities.
October 11, 2018

Tools that make me productive - Web Development

Just wanted to share and list down the tools that I use for my projects (web-development in particular). VS Code I have become a super fan of VS-Code, so so light weight and it has become the defacto Editor for any JS projects - frontend as well as backend. I use it for few of my python projects as well it works as a Charm (infact better than PyCharm.. :)
September 20, 2018

Angular vs React

Ahh..I am sure you would have read umpteen number of blogs/articles comparing React, Angular (and Vue). Well this is going to be my version of it after having had a chance to work on both of them. I have developed a decent amount of projects in Angular and in React and kind of got a good grasp on both of these to write about their similarities/differences. For starters, both of them are used to build SPAs and good at what they are supposed to.
September 1, 2018

State Management in Angular 2+ apps - Part 6 - Conclusion

Over the last 5 posts in this series, we have seen various ways of managing state in a Angular application. In this post, we would conclude by giving some pointers on which technique to choose based on the use cases. When to go for a Service based approach ? This is most easiest and the simplest approach to share/manage data across components/pages in your App. But this could quickly go haywire if not used in the right way and with proper encapsulation techniques.
March 1, 2018

State Management in Angular 2+ apps - Part 5

In this post of our series in state management, we will be seeing how we can solve our state problem using a solution called Redux. We will be use the angular variant of Redux called ngRx. Redux has been inspired by elm and Flux. Elm is a pure functional programming language used for developing the front end of modern day web apps. Flux is a stage management solution. If this is first time you are hearing about Redux, please do watch these videos from the co-creator of Redux, Dan Abramov.
January 28, 2018

State Management in Angular 2+ apps - Part 4

In part-1 of this series, we got to know what state is and the need to have a state management solution especially in the case of a large web app. In this post, we will be seeing how we can solve our shared state problem using a solution called Mobx. Mobx is a non-opionated state management technique which again uses concepts of observable that we had seen in part-3. You could say mobx is a wrapper built on top of observables and does lot of magic under the hood.
January 4, 2018

State Management in Angular 2+ apps - Part 3

In part-1 of this series, we got to know what state is and the need to have a state management solution especially in the case of a large web app. In this post, we will be seeing how we can solve our shared state problem using Observables. We will also see how we can overcome the pitfalls of the Angular services approach discussed in part-2 of this series. Observables is something that I have seen which unsettles developers.
December 15, 2017

State Management in Angular 2+ apps - Part 2

In part-1 of this series, we got to know what state is and the need to have a state management solution especially in the case of a large web app. In this post, we will be seeing how we can solve our shared state problem using plain Angular services. In the last post we identified that the good reads collection is the data that is being shared by the home component and the navbar component.
December 11, 2017

State Management in Angular 2+ apps - Part 1

This is part-1 of the blog series where I would be trying to explain state management in Angular 2+ app using different strategies along with their pros and cons. In this part, I will try to demystify the term state, how to identify state and why do we need to manage state. So lets get started… How do you define state or what is state of an app ? I have seen junior developers who just have Angular(1 & 2+) background struggle to answer this question as they haven’t encountered the term state while building apps.
December 1, 2017

A-Z of JavaScript

This is my collection of A-to-Z terms that one should know if they are into serious javascript programming. Async/Await Async and Await are new features introduced in the language to make asynchronous code block look synchronous and more importantly make it more readable. Brendan Eich Brendan Eich is the creator of JavaScript. He created the language in a matter of 10 days when working for Netscape Navigator. Due credit to be given to him for creating this language.
September 6, 2017

Front End development Analogy

Whenever we learn about some topics or if you are teaching someone, I always felt analogies from day to day life makes a greater impact to a person’s understanding. This post is my take on analogy of technologies/terminologies/people involved in front end development. I am going to compare building a website to building a house where : HTML(HyperText Markup Language) would be the raw building materials namely bricks, steels, cement. These help you in building the skeleton or structure of your house.
August 1, 2017

Git workflow - my ramblings

In this post, I would be talking about the git workflow that could be adopted when you are working on a project all alone and also when you are working in a team. Before we start, lets try to understand what is Git and why it is becoming the leader in Version control/SCM (Software Configuration Management). What is Git ? Git is a version control system with a de-centralized approach to source control.
April 8, 2017

Difference between AngularJS and Angular

Angular the framework as this is what the Angular team would like to call, has evolved(and evolving) from being the most popular front end JavaScript framework over the last 5 years to a framework that has transformed itself to survive and be a leader for years to come. All references to Angular points to the version 2 and above and AngularJS means Angular 1.x. In this post, we would be seeing how different is Angular and what are the new additions it is bringing to the world of Single Page App development.
March 25, 2017
Nifty tech tag lists fromĀ Wouter Beeftink