What is Provider() in AngularJS ?

The provider() function allows us to create a configurable service where we can set input per application for the service created using the provider(). For example, if we need to set API key to access a service on the application level, we can set that in the module config and pass input to the provider […]

HTTP/2: The Future of the Internet

What is HTTP/2? After more than 15 years, the Hypertext Transfer Protocol (HTTP) received a long-overdue upgrade. HTTP/2 is largely based on Google’s experimental SPDY protocol, which was first announced in November 2009 as an internal project to increase the speed of the web. HTTP/2 is a replacement for how HTTP is expressed “on the wire.” It […]

The Javascript Event Loop explained!

In JavaScript, almost all I/O is non-blocking. This includes HTTP requests, database operations and disk reads and writes; the single thread of execution asks the runtime to perform an operation, providing a callback function and then moves on to do something else. When the operation has been completed, a message is enqueued along with the […]

Regular Expressions explained!

Regular expressions (“regexes”) are supercharged Find/Replace string operations. Regular expressions are used when editing text in a text editor, to: check whether the text contains a certain pattern find those pattern matches, if there are any pull information (i.e. substrings) out of the text make modifications to the text. Note: Unless otherwise specified, regular expressions are case-sensitive. However, almost all implementations provide a […]

Microservices Architecture: What, When, and How

Microservices have seen widespread adoption. Even Google Trends points to this rapid evolution. Check out what microservices are, a brief overview of when and how to use them, and advantages over monolithic structures. Introduction The microservices architecture pattern is getting a lot of attention these days and it’s trending. If it is hard to believe, then just […]