App Engine Async Tasks With Nodejs and Cloud Tasks

The app engine is one of the best services offered by the Google Cloud Platform. Building and deploying apps on the App engine is very straight forward. You don’t have to worry about the provisioning and maintenance of the instances. I think the App engine is one of the early adopters of the serverless architecture. It has excellent support for programming languages like Python, PHP, Go, Java, Ruby, and nodejs. [Read More]

Rxjs - Observable vs Subject vs Behaviorsubject vs Replaysubject

RxJS is widely used in every js framework by web developers. It has become one of the hottest libraries in web development today. Angular uses RxJs very extensively. It offers us an Observable class for streaming, but also other subtypes with different properties which, can be confusing for beginners. If you are new to RxJs then, I highly recommend watching fireship.io’s videos on RxJs. In this blog, we are going to compare and see the difference between Observable, Subject, BehaviourSubject, and ReplaySubject. [Read More]

How to Add Dynamic Canonical Links in Angular

Search engines serve millions of users per day. Search Engine Optimization[SEO] is an indispensable part of modern web apps. One of the important SEO rules is Canonical URLs. Canonical URLs can help to inform search engines about “duplicate” or identical content appearing on multiple URLs. Adding the canonical URL in the static website is pretty straight forward. Just add a link tag like - <link rel="canonical" href="https://yourLink"> But as we know, the content of most of the single-page apps is dynamic. [Read More]

A simple Time Ago pipe to display relative time in Angular

Often in the web apps, we keep track of the time associated with the other entities of the app like a post posted time, a blog published time, a question asked or answered, and so on. Generally, this data related to time is stored in the database in UTC or ISO format. Angular has an inbuilt pipe for Date, but it does not give us a relative time. At front-end, we need to display these timings in a pleasant human-readable way like some seconds ago, days ago, weeks ago, months ago, years ago, etc. [Read More]