After reading the specification of HTML 5.0 and watching the Google I/O 2009 conference which had featured showcase I was agog to dig out HTML 5.0. The features which Google exposes are the concept of canvas as an element, Web-workers, Video as an element, Application caches and the Geolocation . Besides those, the specification elaborate on improvement on each tags, semantics, structure and API’s for HTML document which maps the today’s web application design prototype.
Starting with features demonstrated by Google:
1. Video Element: Content in the form of all video formats can be represented by this Element. Without relying upon a 3-rd party proprietary plug-ins, the Video of all possible formats can be embedded in the HTML page with controls and looping mechanism
2. Canvas: It‘s element which can be used to dynamically generate graphics on to the end users web browser pane. The current version provides the rendering 2D Context later on it will provide 3D context which will be based on OpenGL API. The glorious demo which we saw was a drawing board embedded in HTML page full designed by mark-up tags.
3. GeoLocation: It’s an API which allows web applications to get the user geographic information and can manipulate the display of content as per it.
4. Application caches: The ability to store the web application onto database maintained on local file system and regenerating the same when offline. Gmail offline is upcoming feature by Google to use this concept.
5. Web-Workers: The specification defines that the API allows Web application authors to spawn background workers running scripts in parallel to their main page. This allows for thread-like operation with message-passing as the coordination mechanism. These are background processes that can execute a given segment of JavaScript code. The main process and the worker processes communicate via a messaging API.
0 comments:
Post a Comment