O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Document Object Model

Before we dive deeper into GopherJS, it's important for us to get an appreciation of what JavaScript, and by extension—GopherJS, does for us. One of the major capabilities that JavaScript has is its ability to access and manipulate the DOM (short for Document Object Model). The DOM is a tree data structure that represents the structure of a web page and all of the nodes (elements) that exist within it.

The significance of the DOM is that it acts as a programming interface for HTML documents, whereby programs that have access to the DOM can change a web page's style, structure, and content. Since each node in a DOM tree is an object, the DOM can be considered the object-oriented representation of a given web page. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required