Skip to main content

Posts

Showing posts from April, 2018

Advantages of using REST API

  Representational State Transfer is an architectural style that defines a set of constraints and properties based on HTTP. ● Uniform interface ● Stateless ● Cacheable ● Client-Server ● Layered System 1. Uniform interface-   to transfer data, the REST system applies specific actions (POST, GET, PUT and DELETE) on the resources, provided they are identified with a URI. This makes it easier to obtain a uniform interface that systematizes the process with the information. 2. Stateless -  REST APIs are stateless, meaning that calls can be made independently of one another, and each call contains all of the data necessary to complete itself successfully. 3. Cacheble -    Because a stateless API can increase request overhead by handling large loads of incoming and outbound calls, a REST API should be designed to encourage the storage of cacheable data. 4. Layerd System-  REST APIs have different layers of their architecture working together to build a hierar

Node js and Java Script

open-source JavaScript run-time environment executes JavaScript code server-side       JavaScript is a programming language.        Node . js  is an environment allowing  JavaScript  code to run on the server side and not in a browser. It is based on Chrome's V8 Engine, which runs on Google Chrome. Java script engines runs the JavaScript from the web pages. Firefox                -      Spidermonkey Safari                  -      JavaScriptCore Chrome              -           V8   Node js based on v8 engine.  Node Js  is Easy to learn has Freedom in building apps helps to write both backend and front end of web app using js