This content is password protected. To view it please enter your password below:

  • Date May 30, 2023
  • Comments Enter your password to view comments.

Microservices demo with docker, k8s (kubernetes) – Part1


Being a web developer, I always had confusion about microservices. What the hack microservice is? Is it some kind of fancy word for a concept we already know or is it entirely different alien concept?

Let’s understand it in plain english. Microservice is a concept of building application with more than one independent components called services.

For example, Facebook might have small services for features like profile data, feed data, advertisement, database, caching etc. it means, Facebook might have a separate independent application itself to deliver profile information whenever asked by anyone authorised entity (different service). This completely separate independent application has its own life cycle. We call it a service or micro service. and architecture having lots of such services communicating to each other to serve a set of user is called microservice architecture.

Continue reading

Video Blog – How to deploy code from bitbucket to Heroku


Simple and easy to understand step by step talk to move our application code from bitbucket repo to heroku platform.

If you liked the video, please subscribe, comment and like to encourage us.

How to always return a default value for an object property in javascript?


Hi Guys,

Do you have a need where you want to return something as a default value if your JS object don’t have that property?

Let’s come to our problem.

Lets take an object (kind of a key value configuration object) which is coming from server and we need to make some very important decision based on this data.

var electricalConfig = {
  isLightOn: true,
  isBoardSmart: false,
  noOfSwitch: 10,
  noOfSockets: 3,
  isConnected: true

Continue reading

How to sync DB to salesforce if updates done by custom triggers using Heroku connect.


Hi Everybody,

Are you struggling with your DB updates to salesforce in case of triggers? If Yes, then you are on right place. I was in same situation today and wasted my hours looking for solution.

Problem: I use Heroku Connect to sync my data between salesforce and Postgres DB. I am updating my row by my own custom trigger and noticed that updates are not going back to salesforce.

Continue reading

Web apps with no internet :) Beginner’s Guide for application cache


Hello Guys,

In this modern world, website are essentials. Have you wondered what if you have to read some article or use some web application while you are moving in train or bus and you have no internet? What if you provide this feature to your user? Answer is : This will be a great user experience to them.

What if your user doesn’t have to download your website content each time they visit? Don’t you think this experience will be much far faster than before? Again answer is YES in capital letters.

Let’s see approach.

Continue reading

spa-hero : Automating build for single page apps



Create production/dev ready distribution build for javascript based single page applications. spa-hero uses gulp-useref to read out the html file and copy third party dependencies to a separate library folder.

Why I wrote this?

In this modern era of web, we extensivly use npm or bower to download dependencies to our project. These dependencies are right there in our project folder including lots of other files that came in with these packages. After looking at the size of my project one unavoidable question comes to us ,how to upload my project on server? Do I have to pick each and every javascript/css files from node_modules/bower_component folder and maintain a new folder which can be uploaded to server? If yes, then what happen when I added or removed some dependencies and I have to repeat the same cycle? Awww.

Continue reading