Archive for March 17th, 2008
How to Make your site Internet Explorer 8 Compatible – Part 5 – Better AJAX API
Internet Explorer 8 provides an simplidied programming model for AJAX development that spans browser, webpage, and server interaction.
Web developer can easilly build more functional webpages with better end-user experiences as well as performance.
Some of the AJAX Improvements in IE8 are explained below:
1. AJAX Navigation: This enables end-users to navigate back and forth without leaving the AJAX application and without performing a traditional full navigation.
2. DOM Storage: This is a simple-to-use method for storing and retrieving strings of key/value pair data in cache. This provides faster access and reduces the effect of network latencies.
3. Connectivity events allow websites to check when the user is connected to the network and receive notification of connectivity changes.
4. Six connections per host instead of two, which allows parallel downloads and in turn improved performance.
5. Cross-domain communication is an integral part of AJAX development and mashup Web applications. In IE8 Cross-domain Request(XDR) and Cross-document Messaging(XDM) API’s are provided for this purpose only.
In short, all these improves the AJAX Usage for developers as well as for end-users to move towards a better web experience with AJAX.
More discussion on this and an example can be found at the Microsoft Website mentioned below.
Detailed Information & Example
Add comment March 17, 2008
How to Make your site Internet Explorer 8 Compatible – Part 4 – Dev Tools & Versioning
Developer Tools
Internet Explorer 8 includes tools for Web developers to debug their sites efficiently from Internet Explorer.
Developers can immediately debug a site’s HTML, CSS, and JavaScript from within IE8, in stead of switching between IE and separate development environment.
Versioning and IE Modes
Versioning and rendering modes in IE8 allows it to remain compatible with current web content.
Now IE8 has three different Layout modes.
1) Quirks provides backwards compatibility with IE5.
2) IE7 Standards provides backwards compatibility with IE7 JavaScript/layout etc.
3) IE8 Standards includes latest features like CSS 2.1 compliant layout engine, DOM/HTML breaking changes etc.
Versioning and Cross-document Interaction
Internet Explorer 8 introduces the IE8 standards mode by default. This allows the Web designers to use the latest rendering features in IE8.
In addition to the layout changes, IE8 standards mode also affects the behavior of scripted APIs (DOM).
More discussion on this and an example can be found at the Microsoft Website mentioned below.
Add comment March 17, 2008
How to make your site Internet Explorer 8 Compatible – Part 3 – Latest CSS Compliance
In web development, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation(i.e. information like fonts, colors, spacing, positioning etc.) of a web document. In today’s highly visual web environment css is a very important aspect to look into.
Another important use of css is to separate data part from the visual part/style in html or other markup languages.
Now, the W3C CSS working group has decided the final specifications for CSS v2.1.
The idea is to enable web developers to write their pages once in such a way that it can be rendered properly in many browsers.
The new Web Developer Toolbar included with Internet Explorer 8 will help in this endeavor. Internet Explorer 8 supports the latest feature set as defined in the specification.
While one of Internet Explorer 8’s main goals is CSS 2.1 compliance, it is also looking forward towards CSS3. CSS3 is the next generation of Cascading Style Sheets. CSS 2.1 consists of one single document, whereas the CSS3 specification is broken down into different modules to make clear specifications and implementations of different other features.
Another aspect of CSS2.1 which is well-implemented in IE8 is Data URI Support.
Data URIs offer the web developers to embed small external resources (like CSS files or images) directly into a URL on a webpage. The primary use for data URIs is the encapsulation of a binary file inside an URL (a stylesheet or image).
Internet Explorer 8’s data URI implementation attempts to balance security with functionality.
Internet Explorer 8 also includes several Printing Improvements.
IE8 implements all CSS 2.1 pagination recommendations, and provide authors with more control and functionality in the print medium.
With IE8 support has been added for some extra printing constructs e.g. @page rule, Page-break-inside property, windows and orphans property etc.
These improvements give developers more control on content pagination.
More discussion on this and an example can be found at the Microsoft Website mentioned below.
Add comment March 17, 2008
How to make your site Internet Explorer 8 Compatible – Part 2 – WebSlices
In IE8 a new feature named “WebSlices” is added for websites to connect to their users by subscribing to the content directly within a web page.
Using WebSlice, users/clients can subscribe to get updates and notify changes to the user.
Even users can add the discovered WebSlices within a webpage to their Favorites bar.
Now, how to design it?
WebSlices are enabled by adding HTML annotations directly to the webpage.
The basic properties of WebSlice are the WebSlice container, Entry Title, and Entry Content.
WebSlice container represents the entire WebSlice containing the title, description, and other WebSlice properties and it is required property.
Entry Title is the title section of the Webslice and there can be multiple instances of Titles. This is also a required property.
Entry Content is an optional property, representing the content part of WebSlice and if blank, passed as an empty string.
More discussion on this and an example can be found at the Microsoft Website mentioned below.
Add comment March 17, 2008