Do You Know What a REST API Is? — SitePoint – Website Design Article

REST is an acronym for Representational State Transfer — an almost meaningless description of the most-used web service technology! REST is a way for two computer systems to communicate over HTTP in a similar way to web browsers and servers. Sharing data between two or more systems has always been a fundamental requirement of software development. For example, consider buying motor insurance. Your insurer must obtain information about you and your vehicle so they request data from car registration authorities,…

Read More

Delay, Sleep, Pause, & Wait in JavaScript — SitePoint – Website Design Article

Many programming languages have a sleep function that will delay a program’s execution for a given number of seconds. This functionality is absent from JavaScript, however, owing to its asynchronous nature. In this article, we’ll look briefly at why this might be, then how we can implement a sleep function ourselves. We’ve rewritten this popular guide from scratch to provide the best and most up-to-date advice. This article was updated in November 2019. Understanding JavaScript’s Execution Model Before we get…

Read More