Q1. How you will create Pub-Sub design pattern in Javascript, What are the benefits of using it? A. publish-subscribe is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes…
Large companies create big enterprise applications for a large and critical userbase and they are very expensive to build. After being burnt with Backbone, Angular, companies are wary of having to refactor in the same way yet again, as it is both expensive and out of their control. Large companies hate risk more…
As Troy Hunt so eloquently puts it: “The theory goes like this: Expect any untrusted data to be malicious. What’s untrusted data? Anything that originates from outside the system and you don’t have absolute control over so that includes form data, query strings, cookies, other request headers, data from other systems…
Question: what happens when you type in a URL in the browser? Answer: “What happens when you type in a URL” is a deceptive question commonly asked in tech interviews. If you look online, there are many very detailed resources but few concise explanations of how a web browser, a…
Fast and secure sites and apps delivered by pre-rendering files and serving them directly from a CDN, removing the requirement to manage or run web servers. JAMStack stands for Javascript, APIs, and Markup. This stack is arguable the lightest technical stack as it requires no real interactions with a database…
React Native, developed and maintained by Facebook, is an open source framework to develop cross-platform mobile applications, using the programming language JavaScript. Currently in its 0.61 version, React Native is based on Facebook’s front-end library called ReactJS and share many concepts. If you are familiar with React, kudos to you! You have…
In this article, we will go through VUEJS. We’re in a golden era of JavaScript libraries and frameworks. More and more companies are building out full, dynamic web apps in addition to – or in lieu of – traditional desktop applications. This means things are constantly changing and frameworks are…
What is Big O Notation? that is a very common job interview question for developers. It is generally measures of scalability of any algorithm, which means how scalable an algorithm is. In short, it is the mathematical expression of how long an algorithm takes to run depending on how long…
How can you reliably and dynamically load a JavaScript file? This will can be used to implement a module or component that when ‘initialized’ the component will dynamically load all needed JavaScript library scripts on demand. The old versions of JavaScript had no import, include, or require, so many different…
When you open any website today the first impression is how it looks & how well things are arranged, so for that, we have bootstrap and other CSS frameworks that simply change the look and feel of your website. Here the problem is that you are not using all the…