Deploying A Flask based REST API to AWS Lambda (Serverless) using Zappa

I have heard about AWS Lambda and all the cool things happening in the serverless world. I have also deployed Go functions using the Apex framework for serverless deployment. But recently I have started working on some Python projects again and decided to see how well the Python community is adapting to the serverless era.

Continue reading Deploying A Flask based REST API to AWS Lambda (Serverless) using Zappa

Golang: Interface

In Go or Golang, declaring an interface is pretty simple and easy. type Printer interface { Print(string) } We just defined an interface named Printer that required an implementer to have a method named Print which takes a string parameter and returns nothing. Interfaces are implemented implicitly in Go. Any type that has the Print(string) method implements the interface.

Continue reading Golang: Interface

Proxy in JavaScript

As we can already guess from the name, a Proxy object works as a “proxy” to another object and allows us to customize the behavior of the said object in certain ways. Let’s say you have an obj named awesomeAPI which has some properties and methods. You want to “trap” any calls to the object. May

Continue reading Proxy in JavaScript

Promises in JavaScript

We encounter promises in real life every now and then. You have promised to deliver that project within the next week. Your friend has promised to play Overwatch with you tonight. If you think about it, promises are everywhere around us. Promises in JavaScript also play similar roles. A Promise object in JS is an

Continue reading Promises in JavaScript

Learning JavaScript

You really don’t have to check where JavaScript stands in the TIOBE index, it is undoubtedly the most popular programming language in today’s world. JavaScript started big in the browser land but with the inception and rise of NodeJS, it has come out of it’s browser context and now being used in all sorts of

Continue reading Learning JavaScript