DOM It refers to Document Object Model. It represent the logical structure of the page. Accessing DOM document keyword is an object. So as to get the html of the page we can write document.documentElement, to get the...
React is a JavaScript library. Is is open source. React introduces an user to component based architecture where you build multiple components and put them together. A component can be considered as a Lego game, which...
Adding Color Let’s create a div with some id Now let’s add style to this div in style.css This is how our html will look like: Let’s set the color using hexadecimal...
In server streaming API the client will send one request to the server and in response will receive many responses from the server. We will develop: A streaming server which will take ONE GreetManyTimesRequest that...
Setup Install grpc-tools and google-protobuf as node module Folder structure will be as below: Let’s create a dummy proto file Its time to generate the code from the proto file. Let’s use the...
The striking difference between the two is that of the performance. If you want to view that visually, visit the website as below: Http/2 is the newer standard for internet communications that address common pitfall of...
Before we understand what is gRPC, we need to understand few basic terminologies as below. Microservices Microservice are built in different language and encompass a function of your business. Above diagram signifies...
Protocol Buffers is a method of serializing structured data for transmitting data over the wire or storing it on the disk. Let’s write an app with JSON and then we will try to write the same app with Protocol Buffers for...
What is TypeScript ? Programming languageFree and open sourceDeveloped and maintained by Microsoft Why TypeScript ? In order to understand why we are shifting our focus to Typescript, we need to have a look into what are...
Docker compose is similar to vagrant. It is automation for containers. Let’s say if we have to create multiple containers, as of now we have to issue multiple commands. Or let’s say we want to provide -v, -e and many...