Posts

Showing posts from March, 2021

MongoDB

Image
  Introduction to MongoDB MongoDB is a NoSQL database that stores the data in form of key-value pairs. It is an  Open Source ,  Document Database  which provides high performance and scalability along with data modeling and data management of huge sets of data in an enterprise application. MongoDB also provides the feature of Auto-Scaling. Since, MongoDB is a cross-platform database and can be installed across different platforms like Windows, Linux, etc. Brief History of MongoDB MongoDB was developed by  Eliot Horowitz  and  Dwight Merriman  in the year  2007 , when they experienced some scalability issues with the relational database while developing enterprise web applications at their company  DoubleClick . According to Dwight Merriman, one of the developers of MongoDB, this name of the database was derived from the word  humongous  to support the idea of processing a large amount of data. In 2009, MongoDB was made as an open-source project, while the company offered commercial sup

JavaScript - Summary Of JavaScript Lessons

Image
  ●       Introduction ●       Classes, objects and prototype ●       How ‘this’ acts ●       Strict notation ●       Function closure ●       Callbacks and promises   JavaScript By default, JavaScript programs run using a single thread. Though there are ways to create new threads JavaScript is considered a Single-threaded language. JavaScript does not wait for I/O operations to get completed, instead, it continues the execution of the program. This is called non-blocking I/O. JavaScript is asynchronous because of the NIO nature. JavaScript is dynamically typed. It determines variable types, ordering, etc. in runtime. JavaScript supports OOP as well as functional programming (Multi-paradigm). JavaScript has an eventing system that manages its asynchronous operations. Classes and objects ●       In JavaScript, a constructor function is used with the ‘new’ key keyword when creating a Object. ●       Constructor the function is just another function. ●       When function is u

GitHub - Version Control System

Image
  About Version Control   What is “version control,” and why should you care? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples in this book, you will use software source code as the files being version controlled, though in reality, you can do this with nearly any type of file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (VCS) is a very wise thing to use. It allows you to revert files to a previous state, revert the entire project to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. Using a VCS also generally means that if you screw things up or lose files, you can easily recover. In addition, you get all this for very little overhead. Distributed Version

JavaScript - Synchronous and Asynchronous

Image
  JavaScript is a single-threaded programming language which means only one thing can happen at a time. That's where asynchronous JavaScript comes into play. Using asynchronous JavaScript (such as callbacks, promises, and async/await), you can perform long network requests without blocking the main thread Synchronous JavaScript:   As the name suggests synchronous means to be in a sequence, i.e. every statement of the code gets executed one by one. So, basically, a statement has to wait for the earlier statement to get executed.   To allow us to understand what  asynchronous  JavaScript is, we ought to start off by making sure we understand what  synchronous  JavaScript is.  A lot of the functionality we have looked at in previous learning area modules is synchronous — you run some code, and the result is returned as soon as the browser can do so.  const btn = document.querySelector('button'); btn.addEventListener('click', () => {   alert('Yo