article thumbnail

Node JS WebSocket Server & Programming Examples

PubNub

Develop simple and scalable apps with a fast backend environment that supports popular JavaScript libraries. Websockets server tutorial

Server 98
article thumbnail

Emulating a Secure API Server in a Chrome Web Browser

PubNub

How to run a secure API server in a web browser. In this case, we'll write the server in JavaScript on the front-end.

Server 97
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Article: Streaming HTML – Asynchronous DOM Updates without JavaScript

InfoQ Articles

Developers typically use JavaScript to load data asynchronously, but this adds complexity when compared to server-side rendering. We review a technique that uses the Shadow DOM with HTTP streaming to load pages quickly and display data asynchronously without JavaScript. By Tyson Gern

article thumbnail

EP145: Infrastructure as Code Landscape

ByteByteGo

The request goes through different DNS servers (root, TLD, and authoritative). the client and server perform a TCP three-way handshake with SYN, SYN-ACK, and ACK messages. Once the handshake is successful, the browser makes an HTTP request to the server and the server responds with HTML, CSS, and JS files.

article thumbnail

Revamping Dasher FAQ Hub Through Server-Driven Content and WebView

DoorDash Engineering

To send messages from the native side to the WebView, JavaScript must be evaluated in the form of a string. A pattern based on JavaScript promises was implemented to solve for the first identified challenge. postMessage({.}) To do this, an instance within the web application maintained a collection of ongoing message promises.

Server 83
article thumbnail

Five Challenges to Building an Isomorphic JavaScript Library

DoorDash Engineering

Building software today can require working on the server side and client side, but building isomorphic JavaScript libraries can be a challenge if unaware of some particular issues, which can involve picking the right dependencies and selectively importing them among others. or web browser. or web browser. and one for the browser.

article thumbnail

Meta developer tools: Working at scale

Engineering at Meta

There are three main components to Sapling – a server, a client, and a virtual file system. The server stores all the data and is a careful mix of clever storage formats, wire protocols, and algorithms, mostly implemented in Rust and architected to scale. For example, Jest is our Javascript testing framework.

Server 132