When writing code for the Web, there are a great many Web APIs available. Below is a list of all the APIs and interfaces (object
Server-sent events
Server-Sent Events utilize a regular HTTP octet streams, and therefore are limited to the browser’s connection pool limit of ~6 concurrent HTTP connections per server.
Javascript : Callback
What is a Callback? Simply put: A callback is a function that is to be executed after another function has finished executing – hence the
WebSockets
What are WebSockets? WebSockets are really just an extension of the socket idea. While HTTP was invented for the World Wide Web, and has been used
HTTP Long Polling
Web applications were originally developed around a client/server model, where the Web client is always the initiator of transactions, requesting data from the server. Thus,
Polling Vs Server-sent-events Vs Websocket
To send our data from the server to the client. A few ways (mechanism) to implement these: Long/short polling (client pull) WebSockets (server push) Server-Sent
Javascript : Closure
Closure The most important thing closures do is allow functions to keep on working even if their environment drastically changes or disappears. Any variables that
Javascript : Async/Await
Async/Await Inside a function marked as async, you are allowed to place the await keyword in front of an expression that returns a Promise. When
Javascript : RxJs
Rx is a library for composing asynchronous and event-based programs using observable collections. The basic building blocks of RxJS are observables (producers) and observers (consumers).
Promises explained
promise object is data returned by asynchronous function. It can be a resolve if the function returned successfully or a reject if function returned an