Skip to main content

Posts

  Node.js What is Node.js? Node.js used as back-end (server-side) language in the development. As usual client/user deal with the front end of the applications.There are much process behind that , we call it as back-end.There, we used several languages like Node.js, php and java as server side languages and MongoDB or MySQL as data base. Node.js is an open-source ,cross-platform javascript runtime environment and library for running web applications outside the client's browser.It is a server-side platform built on Google Chrome's javascript engine(V8 Engine).Node.js was developed by Ryan Dahi in 2009 and its latest version is v14.13.0. 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 = Runtime Environment + JavaScript Library. Reference ( Simplilearn youtube channel, Node.js documentation)

Node Authentication

Authentication mean that identify users and provision of access of rights and contents depending on their ID.Node authentication is the technique used to ensure that the managing server and data collectors communicate with each other in a secure manner.Authentication can be categorized as follows 1.Session based 2.Token based 3.Password less What is session based authentication? User credentials such as user name or email and password are compared with the database where this data was stored.If they match, a session is initialized for the user with the fetched ID.

API

API stands for Application Programming interface.API is an interface used by programs to interact with application,which mean that API allow the applications  to communicate with each other. Really API is not a database or server,API is the code that give the access point for the server.

React.js

React is a one of the most popular javascript library for building user interfaces.React developed by facebook and maintained by facebook and individual developers.It is used for handling view layer of web and mobile apps.It encourages the creation of reusable UI components.People use react as V in MVC architecture.React provides the simpler programming model with good performance by separate us from DOM.

ER Diagram

ER is a high level conceptual data base diagram.ER modeling helps us to create well designed data base with systematic analyzement. Thats why it is very important to practice er diagram before create a database. Actually ER Diagram explains the logical structure of database.Even though ER diagram is similar to the flowchart it become unique because of its symbols and conceptual based exposes.

Node.js MongoDB

Now a days all web based application has some database to store the data at the back end. Nodejs frame work have the ability to work with both relational and non relational database. Node.js  MongoDB   NoSQL database mongodb quite fame because of its ability to store the any sort of data at any format.In order work we have to download required module.Mongodb required the module to be installed is mongoose.And also with these modules we can perform many operations.Before that we have to get start mongodb in nodejs. 1.Install MongoDB Driver * We can download from official mongodb driver or open in terminal and execute it     npm install mongodb * Node.js used this module to manipulate mongodb database.   var  mongo = require( 'mongodb' ); 2.Node.js  MongoDB  Create Database To create a database: 1.Create the Mongoclient object 2.Specify the url connection (correct ip address and name of the database want...

Node.js

Node JS is a runtime environment for executing JS code.It is great for prototyping and agile development.Mainly node js  used  to create web servers.Node js is an open source and cross platform.Node js built on the fastest JS engine of google chrome namely V8. Here I want to share something related to my previous point Actually JavaScript code can only execute in browser.It means something that happened inside the browser to execute.Yes really every browser has a js machine to convert the JS code TO machine code. Microsoft explorer - Chakara Firefox - Spider monkey Google chrome - V8    and also because of this process javascript code shown different output in different browser. Outstanding because of its features 1.Fast 2.Simple 3.A huge number of libraries 4.Asynchronously programming, 5.Highly scalable continue with each chapter

MongoDB

MongoDB is a document oriented Database and it is written in C++.Because of its cross platform it is widely used in industries.At the same time its performance,scalability and availability also high. MongoDb is a NoSQL database. Advantages of MongoDB 1.Number of fields and size can differ from documents. 2.Deep query ability 3.No complex joins....... Where it is used 1.App relational database 2.Data hub 3.Huge data management. 4.Social infrastructure. After install the MongoDB in your laptop.You can carry out your tasks as you want. So our next question is where we have our works in laptops?Our works will be in terminal(ubuntu),command prompt(windows).Yes when pay our view towards terminal face works. In terminal there are two main steps to do our mongoDB works 1.sudo mongod 2.sudo mongo actually here we start the server and client side respectively.So why we used sudo here.sudo means it detect the whole laptop and find out and start ,no need to start the work on ...

Responsive Web Design

When we go through a website it is not respond for devices' screen size it become major problem for the user and failure for the server.So that when a website is response for a screen size it is called responsive web design and it become success for all. Features as follows 1.Media queries css uses media queries to adapt a website content in a diiferent manner.           @media only screen and (max-width: 480px){           .page-title {            width: 270px;            }            } 2.Range It is used to target the specified screen size by setting multiple size.             @media only screen and (min-width: 320px) and (max-                    width: 480px) , (orientation: portrait) {            .gallery-item .thumbnail { ...

Sass

SASS stands for Syntactically Awesome Style Sheets. Sass is a style sheet language.SassScript a simple scripting language used in sass files. Sass is an extension of CSS that adds power and elegance to the basic language.Sass reduce the repetition with css and saves time. It allows us to use variables ,nested rules,mixins,inline and imports. It helps to keep the large style sheets in well organized manner. Sass supports for two syntax 1.SCSS syntax 2.Indented syntax SCSS syntax means extension of css syntax and with file extension .scss.Indented syntax is a older syntax.here we can wrote css syntax in a short and sweet manner.its file extension is .sass. At the same time some difficulties faced by a developer such as difficult to expert in new feature,handle on editing and lost of built in element inspector.

JQUERY

JQuery is a collection of JavaScript. jQuery simplifies the programming of JavaScript also it is easy to learn.Because of its less write and more work.It simplifies the HTML and DOM manipulation.It is free open software more advantage to the developers. JQuery library contains following libraries HTML/DOM manipulation CSS manipulation HTML event methods Effects and animations AJAX Utilities Major thing in JQuery is ,that is it run mostly same in major web browsers.Biggest advantage of this is ,because of its wide usage and user already download the file therefore when it is loaded it will loaded from cache. We can access the jquery with online link or from our file. < head > < script  src ="jquery-3.3.1.min.js" > < /script > < /head > online < head > < script  src ="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js" > < /script > < /head >

JSON

JSON stands for  JavaScript Object Notation. JSON is a light weighted format that is used to exchanging and storing data. It is based on a subset of JavaScript language and JSON is text based written language. some JavaScript is not JSON, and some JSON is not JavaScript. JSON values can consist of: objects (collections of name-value pairs) arrays (ordered lists of values) strings (in double quotes) numbers true, false, or null.JSON is language independent. It is a much-more compact way of transmitting sets of data across network connections as compared to XML. Sending data to the server: var myObj = { name: "John", age: 31, city: "New York" }; var myJSON = JSON.stringify(myObj); Receiving data from the server: var myJSON = '{"name":"John", "age":31, "city":"New York"}'; var myObj = JSON.parse(myJSON); JSON basic built function JSON.stringify() JSON.parse()

Java Script(JS)

JavaScript is a high level and interpreted language.Really javascript convert the static page to dynamic page.That means that html structure the web page,css style the web page javascript dynamic the action of the web page. When we go through a instance: button "submit" is displayed on the web page.In Html we align the position of the button ,in CSS we style the button,in JS we provide the action or function to the button. We wrote javascript script in html document.Mostly we did not write the all the javascript code in the html document,because it become complicated and difficult to find the errorin the coding thats why we code the javascript externally and link it in the html script tag.Javascript is not like html or css because it is a high level language and case sensitive. As like all languages there are more and more elements available in JS.There is a method available in JS to get the output. elements as follows 1)Variable 2)Operators 3)Data types 4)Function...

IDE

IDE is  stands for  integrated development environment  ( IDE ) .It is a software application which provides the facilities to programmers for their software development.IDE helps to programmers to provide the maximum productivity. Examples for IDE Microsoft visual studio Eclipse Aptana studio 3 orcle netbeans 7 code::blocks IDE advantages Access from any where with internet access. Minimal configuration needed Centralized workspace No need of install to lot of softwares.

CSS

CSS stands for Cascading Style Sheets.CSS is mainly used to present the layout of webpage.Most of facilities which are not available in html are present here.specially colors,fonts and layouts are establish in css sheets.CSS should be saved with .css extension.CSS specifications are maintained by W3C. CSS can be added in 3 ways. i)Inline -   By using the style attribute in HTML elements           This method is used to add style to the specific tag           Eg: <html>                 <body>                  <h1 style="color:blue;">hello</h1>                                                          </body>                 ...