Posts

Intro To ReactJS

Image
Intro To ReactJS What is React JS ? React is a front-end library developed by Facebook.   It is used for handling the view layer for web and mobile apps.  ReactJS allows us to create reusable UI components. It is currently one of the most popular JavaScript libraries and has a strong foundation and large community behind it. ReactJS is JavaScript library used for building reusable UI components. Features of React JS ? JSX  − JSX is JavaScript syntax extension. It isn't necessary to use JSX in React development, but it is recommended. Components  − React is all about components. You need to think of everything as a component. This will help you maintain the code when working on larger scale projects. Unidirectional data flow and Flux  − React implements one-way data flow which makes it easy to reason about your app. Flux is a pattern that helps keeping your data unidirectional. License  − React is licensed under the Facebook I...

Hands on Node JS

Image
Hands on Node JS What is Node.js?  Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine) . Node.js   was   developed by Ryan Dahl in 2009. Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux. Node.js also provides a rich library of various JavaScript modules which simplifies the development of web applications using Node.js to a great extent. Features of Node.js Asynchronous and Event Driven Single Threaded but Highly Scalable Very Fast No Buffering Hello World ! in Node.js Import required modules   − We use the   require   directive to load Node.js modules. Create server   − A server which will listen to client's requests similar to Apache HTTP Server. Read request and return re...

A Start To Learn Mongo DB

Image
A Start To Learn Mongo DB MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability.  MongoDB works on concept of collection and document . Collections A Collection is a set of MongoDB documents.  It is the equivalent of an RDBMS table . A collection exists within a single database.  Collections do not enforce a schema. Documents within a collection can have different fields.  Typically, all documents in a collection are of similar or related purpose. Documents A document is a set of key-value pairs. Documents have dynamic schema . Dynamic schema means that documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection's documents may hold different types of data. Mapping Relational Databases to Mongo DB Collections   in MongoDB is equivalent to the tables in RDBMS. Documents  in MongoDB is...