In RDBMS, you can use comparison operators like as e>>, <, <=, and >= while writing a SQL query. Mongo shell also has same comparison operators but they are used with a different notation. Here is a comparison list of Mongo shell operators and SQL operators.
As you know, MongoDB shell helps you to create and query your database available on mongo server. In last article, I have described about commonly used commands and methods with mongo shell.
Before going to start Hands-On MongoDB, let's first install and configure it. Here, I am using windows OS to install and configure it.
MongoDB is one of the most popular open-source NoSQL database written in C++. As of February 2015, MongoDB is the fourth most popular database management system. It was developed by a company 10gen which is now known as MongoDB Inc.
It's a great news for Visual Studio lovers that they can do Node.js development with their favorite IDE. This can be possible with the help of open-source plug-in NTVS supported by Microsoft and the community. NTVS is constantly working to improve the Node.js experience in Visual Studio.
Internationalization is abbreviated to i18n, where 18 stands for the number of letters in word Internationalization between the first i and last n. Internationalization is the process of developing products/softwares in such a way that they can be localized for languages and cultures easily. It involves Globalization and Localization.
The ng-repeat directive has a set of special variables which you are useful while iterating the collection. These variables are as follows:
AngularJS provides you ng-if, ng-switch directives to display HTML elements based on conditions or cases. ng-repeat directive is used to generate HTML from a collection of items.
Angular uses $watch APIs to observe model changes on the scope. Angular registered watchers for each variable on scope to observe the change in its value. If the value, of variable on scope is changed then the view gets updated automatically. $watch APIs has following methods to observe model changes on the scope.
AngularJS provides ngCookies module for reading and writing browser cookies. To use it include the angular-cookies.js file and set ngCookies as a dependency in your angular app. This module provides two services for cookie management: $cookies and $cookieStore.
AngularJS provides $on, $emit, and $broadcast services for event-based communication between controllers.
The digest loop is responsible to update DOM elements with the changes made to the model as well as executing any registered watcher functions.
Scope data goes through a life cycle when the angular app is loaded into the browser. Understanding the scope life cycle will help you to understand the interaction between scope and other AngularJS components.