videos about web development
12 Apr
All web developers dealing with JavaScript, HTML, CSS, which are already familiar to the basics of these technologies and like to understand more deeply the DOM and the browsers history and evolution.
Douglas Crockford speaks about: “Why the browser is a source of pain and incompatibility, and why the DOM is an inconvenient API. What was the web initially, there where no session interactivity, than Java failed as global standard of communication. In 1995 came out the scripted browser as Netscape 2 and than begin the browser war with the invention of the term of dynamic Html, document object mode (DOM) from MiscroSoft. Besides the different servers the sites had the problems more with the browsers, and there was the problem with all the differences. w3c came too late in the process with an attempt to unify everything but It was already too bad …”
He explains: “… the way the browser works (in the case of Netscape), and that Netscape introduced the <script></script> tag. By no means there is extream use of src attribute of the script tag which allows to load a source code from an external file. It is a bad idea you put source code of javascript into your Html. Actually there was language attribute introduced by MicroSoft but it’s deprecated, as well as type is deprecated. It’s a good idea to place <script></script> as low as possible in your html, just before the body close tag, and to place l<ink> to CSS in the head. Alse is good to minify the Js file, which have a huge impact as well as caching also, and finaly reduce the number of script files …”
Finally Crockford says: “… that every node in the document has several pointers, pointing to the parent, the first and last child node, and to its next and previous sibling which are very usefull but not always used. The most useful are first child and next sibling.”
Douglas Crockford is a JavaScript architect in Yahoo!. See more on wikipedia.
Related posts:
Leave a reply