Posts

Showing posts from March, 2021

Introduction To MongoDB

  What is MongoDB? MongoDB is a NoSQL document-oriented database. MongoDB is written by using C++ language. NoSQL databases are much different than relational databases. In a real database, you have to map out everything. You need to figure out the exact schema what table you use and what field you use and all that stuff. But with NoSQL, there is not like that. You should plan out the structure of your database and your collections. But you don’t have to do any free structuring before you build your application. An advantage is MongoDB is easy to scale. MongoDB uses documents containing key-value pairs to store data. A collection is a group of MongoDB documents. MongoDB uses collections instead of tables and uses documents instead of rows and uses fields instead of columns.   MongoDB Syntax MongoDB uses use database_name syntax to create a database   Create a collection Collections hold documents or record...

INTRODUCTION TO JAVASCRIPT

       JavaScript is a lightweight and server-side language. JavaScript can execute on a device that has a special program called the JavaScript engine. JavaScript is used to design dynamic web pages with HTML and CSS. JavaScript Frameworks   Angular   React   Node.js   Vue   Ember   Polymer   BackBone Function In JavaScript   Function Declaration when declaring a function we use the function keyword. function add(number1 ,number2) { return number1 + number2; } In the above example add is the function name and number1, number2 are the arguments that we pass to the function. Function Invocation add(number1, number2); when we declare an anonymous function, let see how to call an anonymous function call var func = function (){     alter("This is an anonymous function"); } func(); 🔷Named Function function add(number1 ,number2) { return number1 + number2; } 🔷Anonymous Function var addNumbers = function () { return ...