A quick guide to advanced JavaScript

Over the years, JavaScript has evolv and incorporat other technologies. We will now introduce the most important of them (DOM, OOP, regEx, AJAX, canvas).

Beginnings and DOM

Very soon after the start of the WWW, there was a ne for technologies that would allow websites to interact with users. The first innovation in this direction was the automatic generation of pages through the CGI interface ( Common Gateway Interface ). One of the main disadvantages of this solution was the slow response of CGI scripts, so we start to think about how at least some tasks could be saudi arabia phone number data mov from the server to the client, which would mean a significant acceleration. The desir salvation came in two variants. The first was the new Java language , introduc by Sun Microsystems, which made it possible to write Java applets – programs integrat directly into the page. The second was JavaScript in 1996 .

phone number data

The possibilities of JavaScript were not dizzyingly

Extensive in the original implementation by Netscape, but that chang in 1997 with the advent of IE 4. In the new browser from Microsoft, it was already possible to access and change every object on the page (so-call DHTML). Rival Netscape soon develop a another common mistake is neglecting similar API. Since similar does not mean the same , programmers had to create more complex scripts or write them for only one of the browsers. The situation was resolv only by the W3C, which develop the DOM ( Document Object Model ) and introduc it as a standard. In it, it specifi an interface for accessing document objects and events cg leads Of course, this is not enough, so the DOM is supplement with other APIs, most of which are document in the upcoming HTM.

Scroll to Top