Home » sharepoint » SharePoint Designer 2013 » Developers Working With jQuery and JavaScript Should Become Familiar with the Document Object Model

Developers Working With jQuery and JavaScript Should Become Familiar with the Document Object Model

JavaScript and the highly efficient library of functions, jQuery, which was developed by the Open Source community as a method of hastening development, are used by application developers to instruct modern web browsers to behave, as planned, with regard to data published by servers, including SharePoint Server 2013. JavaScript and jQuery are, therefore, client side tools. The effects they produce on web browser behavior are safely isolated from servers. This is, by no means, to say they are inherently secure. But their functionality impacts on clients and not on servers.

So it is very important for SharePoint 2013 administrators, developers, architects and even power users to develop as thorough a familiarity with the web page Document Object Model (DOM) as possible. In fact, modern web browsers use the DOM to recognize the data they are served when web servers are doing their work. This process of recognizing information conforms to taxonomic activity guidelines, meaning a method for universal clients (web browsers) to determine the category within which a specific set of data (meaning the web page being served) falls.

Marc Anderson presents some important points about the DOM and why SharePoint 2013 developers planning to work with JavaScript need to develop a familiarity with it in a video tutorial titled The Importance of Document Object Model (DOM). This video tutorial is included in a set of training content on JavaScript and jQuery, SP13-306 SharePoint 2013: JavaScript and jQuery.

In this video Marc points out why reviewing the “Source” of a web page is no longer very useful as a method of gathering information about how a webpage is intended to work and its components. The reason, of course, is inherent to how a scripting engine like JavaScript works. As we mentioned above, it is a client side tool, and not a tool to program a server. But the webpage published by the browser may be a combination of JavaScript and the data published by the server. Unfortunately, “View Source” will not provide developers with this information. But understanding the DOM and determining the DOM for a specific webpage will equip developers to find out a lot about how a page works.

Ira Michael Blonder

© Rehmani Consulting, Inc. & Ira Michael Blonder, 2013 All Rights Reserved