Preparing for IE8
Even as Chrome has earned market share, developers are preparing for the arrival of Microsoft Internet Explorer 8, which went to beta 2 in August. Dev shops need to get ready for the new browser, says Robert Boedigheimer, a programmer with the Schwan Food Co., who last month gave a presentation at the VSLive! New York conference highlighting key new capabilities of IE8.
Boedigheimer urges developers to begin testing IE8 right away. They should consider taking advantage of improvements to AJAX, CSS and the Selectors API, as well as Accelerators and Web Slices. Among the issues highlighted in his presentation:
The two modes are Quirks and Standards, with the latter now the default. Boedigheimer urges developers to look at their sites with the new browser. Those pressed for time should at least have their admins check their Internet Information Services systems, create a custom header that's X-UA compatible and set it to emulate IE7. "What you're saying is, I don't have to go through every page on my site," he explains.
Which mode to choose will typically be aligned with how organizations want their pages to render. "With IE8, instead of saying they'll start with Document Compatibility, what they're going to let you do is choose the rendering mode for your pages to display under," Boedigheimer says. One mode he advises against setting IE8 in is Edge, which is likely to cause compatibility problems even though it offers the best display mode.
Accelerators give developers a mechanism to highlight an address right on the page, go to an accelerator and specify, for example, "Please map this address on Live Maps, and kick over another tab with Live Maps mapped to that address."
Web Slices contain portions of a Web page. Like an RSS feed, Web Slices automatically update-though Boedigheimer says it's unlikely anyone would subscribe to more than six or seven Web Slices. To create a Web Slice, you need to add HTML annotations to your page.
The XmlHttpRequest object now has a timeout property, which lets developers limit how long a request can take against a server.
The Favorites, Forward and Back buttons will work in each instance of a page, and support Cross Domain Requests that are implemented via XmlHttpRequest.
New pseudo classes have been added; improvements that were added to printing include the ability to create page breaks.
Jeffrey Schwartz is editor of Redmond magazine and also covers cloud computing for Virtualization Review's Cloud Report. In addition, he writes the Channeling the Cloud column for Redmond Channel Partner. Follow him on Twitter @JeffreySchwartz.