Posts

Showing posts from March, 2020

RESTful Services

Image
What is RESTful Services                               A ctually this is a protocol RE presentational S tate T ransfer protocol to the C lient and S erver communication. Basically resources are identify by a URL. REST is a way to identify resources which appends on a particular environment. There are key elements in RESTful implementation.  1. Resources           This is use for give some commands using an URL           web application url :- http://www.testServer.com           command through the url :- http://www.testServer.com/students/001                                                               (Give the details of students whose number is 001 ) 2. Request Verbs            These are the verbs that use to define the operation type of the request           GET - get the details from the web application           POST - create a new entry and add new object to the web application (eg- new Student )           PUT - update existing

BABLE Transpiler

Image
                   Babel is the most popular transpiler for javascript.This is an open source transpiler. Now a days ES6+ (ECMA Script) is the javascript version. Some browsers still can read old javascript versions only. Eg:- Internet Explorer. If we used latest version of javascript for the program that might not executable in those older version browsers.                    In order to solve that this Babel transpiler convert Latest version javascript in to old javascript version, Some companies use Babel Instagram Discord Yahoo GitLab Conversion Example Arrow Function in to javascript function                 //Latest Version CalculateValues = (x,z) =>{ const sumIs = x+z; return sumIs; } //After Transpiling function CalculateValues(x,z){ var sumIs = x+z; return sumIs; } 

ReactJS

Image
What is React                   React is a JavaScript Library use to develop User Interfaces.Using this library we can isolate complex user interface in to a isolated part called "Component", within this component we can manage interface. What's are the differences between state and props ?                   Props                      "Props" is a shorten form word in order to describe properties.These properties are useful when we are going to transfer data among one component to another component. This transaction should be done form Parent component to Child component only, This is a noticeable feature in react called "one-way data flow" and also these props are immutable.                   States                       This this is a "different game", because this "states" is belong to the particular component. These states can be change. In order to get data from the state and update state there are two met