Never has a W3C specification had such a rousing impact on the technology world as HTML5. So rousing in fact that not everyone could agree when creating the specification. So now we have the WHATWG version of the HTML5 specification. Then you throw in all the technical religious battles about what technology HTML5 will kill, the HTML5 as a mobile strategy discussions, and you get a lot of hype and misunderstandings. So let’s try and clarify three misunderstandings I have heard and read.
Tag Archives: Javascript
Google’s Dart – Thoughts and Resources
So Google has provided another language for all of us web developers and it’s name is Dart. Dart is different than Google’s Go in the sense that Dart is meant for the web layer, or “to give a structured programing language for the web.”
One could look at this as an attempt to replace JavaScript but it seems to have some key differences, or self proclaimed corrections:
- Dart is a class based OO language, which is fundamentally different than JavaScript.
- Dart runs in a virtual machine, or is compiled down to JavaScript
- Dart allows for optional typing of variables – something we are familiar with in ActionScript but not JavaScript
Then there is support…
Front End Field Guide: HTML5 – JavaScript Selectors
In this edition of the “Front End Field Guide” we are going to take a look at the new HTML5 JavaScript selectors. In the past we had only getElementById(), getElementByTag(), getElementByTagName() as selectors. But now there are two brand new selectors available for you to use and they are querySelectorAll() and querySelector().
Technically the Selector API is not part of the HTML5 spec, but it seems to be lumped in with all the other features of HTML5. Because of this I will keep the misnomer going. So lets examine how we can take advantage of these new selectors with a few simple examples.