Pushing the Web - HTML5/DOM
Mark Finkle
What's up with WHATWG/HTML5?
- Next generation specs for the Web
- Introduces features for web applications
- Standardizes many APIs that have been "in the wild"
What's New in DOM?
- Worker threads
- Online/Offline support
- New drag-n-drop API
- JSON, getElementByClassName & querySelector
- JIT JavaScript
Worker Threads
- Spawn time consuming processes to the background
- Pass messages between threads and main UI
Online/Offline
- Notification events
- Local storage for data
- Offline caching mechanism
Drag-n-Drop
- Standardization of an existing implementation (IE)
- Much cleaner method of drag-n-drop
Native DOM Utilities
Native = Faster
- JSON
- getElementsByClassName
- querySelector
JIT JavaScript
- Next generation JavaScript engines
- Converts to machine code
- Very close to unoptimized C speeds