<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>unitstep.net &#187; browsers</title>
	<atom:link href="http://unitstep.net/blog/category/browsers/feed/" rel="self" type="application/rss+xml" />
	<link>http://unitstep.net</link>
	<description>the home of peter chng</description>
	<pubDate>Tue, 18 Nov 2008 02:09:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Chrome fallout</title>
		<link>http://unitstep.net/blog/2008/09/04/chrome-fallout/</link>
		<comments>http://unitstep.net/blog/2008/09/04/chrome-fallout/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 23:56:02 +0000</pubDate>
		<dc:creator>Peter Chng</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[browsers]]></category>

		<category><![CDATA[chrome]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[internet explorer]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://unitstep.net/?p=435</guid>
		<description><![CDATA[Since Chrome&#8217;s official release some two days ago it certainly has gotten a lot of press, both positive and negative.
What&#8217;s good
On the positive side, there are some reports that Chrome&#8217;s market share has already surpassed that of Opera, coming in at close to 2.5% when I last checked.  These results should be taken with [...]]]></description>
			<content:encoded><![CDATA[<p>Since Chrome&#8217;s <a href="http://googleblog.blogspot.com/2008/09/google-chrome-now-live.html">official release</a> some two days ago it certainly has gotten a lot of press, both positive and negative.</p>
<h3>What&#8217;s good</h3>
<p>On the positive side, there are <a href="http://getclicky.com/global-marketshare-statistics">some reports</a> that Chrome&#8217;s market share has already surpassed that of Opera, coming in at close to 2.5% when I last checked.  These results should be taken with a grain of salt, as Clicky&#8217;s web analytics might only be used by websites that tend to be visited by those more technically-inclined and thus more likely to try out something like Chrome.  (Though Chrome&#8217;s visibility on Google&#8217;s main page no doubt has some small part in its fast growth)</p>
<p>For what it&#8217;s worth, Google Analytics on my lowly-trafficked site amounted to over 4% of hits in the past five days.  (Google Analytics has since <a href="http://analytics.blogspot.com/2008/09/chrome-now-showing-as-browser-type.html">started identifying Chrome</a> as a specific browser type, no surprise)</p>
<p class="image">
<a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-fallout-1.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-fallout-1-300x46.jpg" alt="Chrome browser share" title="google-chrome-fallout-1" width="300" height="46" class="size-medium wp-image-437" /></a><br />
Chrome browser share on my site
</p>
<h3>What&#8217;s iffy</h3>
<p>While the V8 JavaScript engine of Chrome was reported to be fast (myself included) Mozilla has fired back with <a href="http://arstechnica.com/journals/linux.ars/2008/09/03/new-firefox-javascript-engine-is-faster-than-chromes-v8">their own results</a> when compared to the upcoming Firefox 3.1, which also features a newer, faster JavaScript engine dubbed <a href="http://ejohn.org/blog/tracemonkey/">TraceMonkey</a>.</p>
<p>Even if this only manages to bring Firefox 3.1 to within striking distance of Chrome for JavaScript performance, it&#8217;ll still easily hand the win over to Firefox 3.1 considering its much larger established base and support for extensions/addons.</p>
<p>Microsoft, meanwhile, still seems to have their <a href="http://arstechnica.com/journals/microsoft.ars/2008/09/04/microsoft-in-response-to-chrome-users-will-still-want-ie8">heads in the sand</a> when it comes to IE.  True, IE7 still have a substantial margin on any other browser but that lead has been steadily sinking.  Though IE8 will likely be a vast improvement over IE7 and seeks to erase all memories of the abomination that was IE6, it looks like Microsoft will have its work cut out with the stiff competition from Firefox and Chrome.</p>
<h3>Problems</h3>
<p>The release was not without controversy, as since this product was from Google, many privacy concerns were voiced.  There were concerns about the &#8220;GoogleUpdate.exe&#8221; process that is installed with Chrome, which apparently allows for <a href="http://tech.slashdot.org/comments.pl?sid=952157&#038;threshold=1&#038;commentsort=1&#038;mode=thread&#038;cid=24859505">higher privileges to install software</a>, which understandably freaked out some users.  Generally, unwanted processes running in the background are just the thing the tinfoil-hat wearers are looking for.</p>
<p>Additionally, some keen-eyed users who perused the EULA discovered that Google had apparently tried to <a href="http://arstechnica.com/news.ars/post/20080903-google-on-chrome-eula-controversy-our-bad-well-change-it.html">claim ownership of all content posted</a> through Chrome.  (Who <em>actually</em> reads a EULA?)  Evidently, it was all a mishap, as Google quickly moved to <a href="http://googleblog.blogspot.com/2008/09/update-to-google-chromes-terms-of.html">correct the errors in the TOS</a>.  Apparently, in the rush to release Chrome, a &#8220;standard&#8221; TOS was used as the basis for the EULA, most likely similar to the ones covering services like Blogger, etc.</p>
<h3>My own experiences</h3>
<p>Personally, I&#8217;m very pleased with the browser.  The &#8220;application shortcut&#8221; feature is very nice as it makes web apps like Gmail integrate very nicely with the desktop.  I can&#8217;t wait to setup my Mom&#8217;s computer with shortcuts to things like Gmail that will undoubtedly make her life easier.</p>
<p>The JavaScript performance <em>is</em> very fast compared to other browsers, but some things like Flash are still buggy at times.  This has caused problems with sites like Google Finance (which uses Flash for the charts) and YouTube, which are ironically Google&#8217;s own services.</p>
<p>I guess the &#8220;Beta&#8221; tag and the lack of a full version number excuse these problems, though it looks as if the list of bugs is already quite extensive.  <a href="http://code.google.com/p/chromium/issues/list">Google&#8217;s bug tracker</a> for Chrome lists over a thousand bugs/feature requests currently, though likely many of them are duplicates.  (Google is, however, following the trend of using the &#8220;Beta&#8221; moniker in an increasingly loose manner)</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://unitstep.net">unitstep.net</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact <strong><a href="mailto:webmaster@unitstep.net">webmaster@unitstep.net</a></strong> for more information.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">Plugin</a> by <a href="http://www.taragana.com/">Taragana</a></span>]]></content:encoded>
			<wfw:commentRss>http://unitstep.net/blog/2008/09/04/chrome-fallout/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Chrome: What it offers</title>
		<link>http://unitstep.net/blog/2008/09/02/google-chrome-what-it-offers/</link>
		<comments>http://unitstep.net/blog/2008/09/02/google-chrome-what-it-offers/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 01:03:15 +0000</pubDate>
		<dc:creator>Peter Chng</dc:creator>
		
		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[XHTML]]></category>

		<category><![CDATA[browsers]]></category>

		<category><![CDATA[chrome]]></category>

		<category><![CDATA[comparison]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[internet explorer]]></category>

		<category><![CDATA[opera]]></category>

		<category><![CDATA[reviews]]></category>

		<category><![CDATA[web2.0]]></category>

		<category><![CDATA[gears]]></category>

		<category><![CDATA[ie]]></category>

		<category><![CDATA[mozilla]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://unitstep.net/?p=411</guid>
		<description><![CDATA[
After much speculation yesterday, marked by a leaked web comic and finally an acknowledgment by Google, Google Chrome, the much anticipated web browser, is here.
I encourage you to download it and give it a try, as I did as soon as it came out.  Here are some of my initial impressions.
Overview
Google released a fairly [...]]]></description>
			<content:encoded><![CDATA[<p class="image align-right"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome.jpg" alt="Google Chrome" /></p>
<p>After much <a href="http://blogoscoped.com/archive/2008-09-01-n47.html">speculation yesterday</a>, marked by a <a href="http://www.google.com/googlebooks/chrome/index.html">leaked web comic</a> and finally an <a href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html">acknowledgment by Google</a>, <a href="http://www.google.com/chrome/intl/en/features.html">Google Chrome</a>, the much anticipated web browser, <a href="http://googleblog.blogspot.com/2008/09/google-chrome-now-live.html">is here</a>.</p>
<p>I encourage you to <a href="http://www.google.com/chrome/index.html">download it</a> and give it a try, as I did as soon as it came out.  Here are some of my initial impressions.</p>
<h3>Overview</h3>
<p>Google released a fairly long <a href="http://www.google.com/googlebooks/chrome/">web comic</a> that delves into quite a bit of detail about Chrome - it&#8217;s not your typical comic!  Touted as being built &#8220;from scratch&#8221;, Chrome uses the WebKit rendering engine, the same one that powers Safari and Konqueror.</p>
<p class="image"><a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-2.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-2-300x207.jpg" alt="" title="google-chrome-2" width="300" height="207" class="alignnone size-medium wp-image-420" /></a></p>
<p>The first thing you notice is how minimal the &#8220;Chrome&#8221; or UI of Chrome is.  If you&#8217;re used to a half-dozen toolbars, buttons and widgets all over the place, Chrome will seem like a greenfield to you.  By default, there is only a tab bar and then an address bar containing back, forward, a combined reload-stop button and the address bar.  There are also buttons for bookmarking a site and for page and browser settings.  The bookmarks bar is not displayed unless you specifically change that setting.</p>
<p>Keyboard shortcuts are also present so that you don&#8217;t have to click through context menus.  If you&#8217;re used to the keyboard shortcuts of Firefox and IE7 you&#8217;ll be pleased to know that most of them transfer over without change: Ctrl-T opens a new Tab, Ctrl-W/Ctrl-F4 closes a tab, Alt-D focuses the address bar and Ctrl-J opens Downloaded Files.</p>
<p>The address bar also functions as a search bar, and this combination just makes sense.  It&#8217;s something I&#8217;ve always been doing using <a href="http://lifehacker.com/software/geek-to-live/geek-to-live-fifteen-firefox-quick-searches-129658.php">Firefox Quick Searches</a></p>
<p>By default the home/start page is set to set to show an Opera-style &#8220;<a href="http://www.opera.com/support/tutorials/flash/speeddial/">Speed Dial</a>&#8221; page containing most recently-accessed pages/bookmarks.  You can also configure Chrome to restore the previous tabs/websites on startup, which is my personal preference ever since I started using Firefox.</p>
<h3>Features</h3>
<p>Chrome integrates Google Gears to speed up supporting web applications and is an obvious effort by Google to self-promote. This is substantial since the download link for Chrome is on the main Google search page - no small feat considering only the most popular/important services get that sort of attention and furthermore the link is positioned dead center beneath the search field.</p>
<p class="image">
<a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-3.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-3-300x210.jpg" alt="" title="google-chrome-3" width="300" height="210" class="alignnone size-medium wp-image-422" /></a><br />
The address/search bar
</p>
<p>Chrome allows for quasi-<a href="http://en.wikipedia.org/wiki/Site_Specific_Browser">Site-Specific Browsers</a> by use of &#8220;Application Shortcuts&#8221;, which can be set for any website but are meant to be used mainly with web applications.  These allow you to open the target <acronym class="uttInitialism" title="Uniform Resource Locator">URL</acronym> in a browser window that does not have the menu or address bars and essentially serves as a blank canvas upon which the web application&#8217;s own UI can be displayed.  </p>
<p>This is similar to other SSBs such as <a href="https://wiki.mozilla.org/Prism">Mozilla Prism</a> or <a href="http://fluidapp.com/">Fluid</a> for the Mac, as they aim to bridge the gap between desktop and web applications to make their integration more seamless.</p>
<p>However, like <a href="http://blogoscoped.com/archive/2008-09-01-n47.html">Google Blogoscoped points out</a>, using such non-browser interfaces may condition the user to be more lax when entering their credentials and makes phishing attempts more viable since no <acronym class="uttInitialism" title="Uniform Resource Locator">URL</acronym> is displayed.  This is curious since security, &#8220;sandboxing&#8221; and general safe browsing were so high on Chrome&#8217;s feature list - this feature seems to help undo some good user practices of always confirming the <acronym class="uttInitialism" title="Uniform Resource Locator">URL</acronym> before entering credentials. </p>
<p>There are also some nice little enhancements as well - the combined address bar/search bar is very much like Firefox 3&#8217;s &#8220;awesome bar&#8221;.  Chrome also allows you to dynamically resize any <code>textarea</code> element, without the site designer having to code this specifically in JavaScript or some other client-side technology.</p>
<h3>Performance</h3>
<p>Each tab/window is a separate process and thus will show up separately in Task Manager; Chrome also offers its own Task Manager but the memory usage reported here differs from that in the Windows Task Manager.  To get the full picture, you have to click on the &#8220;Stats for nerds&#8221; link, which takes you to <code>about:memory</code></p>
<p class="image">
<a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-4.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-4-300x192.jpg" alt="" title="google-chrome-4" width="300" height="192" class="alignnone size-medium wp-image-424" /></a>
</p>
<p>This page displays the full memory usage details, and also, surprisingly, displays memory usage for any other web browsers also currently running! (I have confirmed that it will display Firefox 2/3, IE7 and Opera 9)</p>
<p class="image">
<a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-5.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-5-300x208.jpg" alt="" title="google-chrome-5" width="300" height="208" class="alignnone size-medium wp-image-425" /></a>
</p>
<p>Much talk has been made of this feature; indeed while it does use more resources, it also prevents a single site from bringing down the entire browser as only that tab/window will be affected.  To test this out, just terminate one of the instances of chrome.exe and you will see that tab&#8217;s screen into a &#8220;sad tab of death&#8221; with an amusing message.</p>
<p class="image">
<a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-1.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-1.jpg" alt="" title="google-chrome-1" width="346" height="313" class="alignnone size-full wp-image-415" /></a>
</p>
<h3>JavaScript</h3>
<p>Though JavaScript falls under the category of `Performance` I felt it deserves its own section because of the importance of JavaScript in web applications.  Chrome uses the Google-developed V8 JavaScript engine, which has also been <a href="http://code.google.com/apis/v8/">released as open source</a>.</p>
<p>The <a href="http://code.google.com/apis/v8/design.html">main points</a> of V8 are outlined at the Google Code page for the project, and are quite interesting.  One of the main improvements in performance is the use of a Virtual Machine (VM) for processing JavaScript.</p>
<p>The V8 Virtual Machine is different from say, the JVM (Java Virtual Machine) in that it compiles JavaScript source <em>directly to machine code</em>; there is no intermediate byte-code representation used and hence no interpreter is needed for this.  This seems to indicate that JavaScript performance might be faster on Chrome since there&#8217;s no intermediary. Google provides some <a href="http://code.google.com/apis/v8/benchmarks.html">benchmarks</a> to confirm this.</p>
<p>From some informal/unscientific preliminary testing, the V8 JavaScript engine in Chrome <em>does</em> appear to be quite fast; loading the same Digg topic in Firefox took longer than it did in Chrome. (Roughly 14 secs vs. 8 seconds over a few trials - and Chrome did not have the benefit of AdBlock Plus) I&#8217;d be <em>very</em> interested to see how Chrome stacks up against Firefox 3.1, considering the rumoured <a href="http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html">performance boosts</a> coming with it.</p>
<p>If Chrome has anything going for it, it&#8217;s definitely the lightning fast JavaScript performance.  Coupled with the crash-proofing this makes it ideal for use in web applications.</p>
<h3>Development</h3>
<p>Chrome comes with a nice DOM inspector reminiscent of Firebug.  Using it is dead simple; you just right click and select &#8220;Inspect Element&#8221; and the inspection window will pop up with the element highlighted.  Here you can see the full DOM tree as well as the computed <acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> styles for the element.  </p>
<p class="image">
<a href="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-6.jpg"><img src="http://unitstep.net/wordpress/wp-content/uploads/2008/09/google-chrome-6-300x231.jpg" alt="" title="google-chrome-6" width="300" height="231" class="alignnone size-medium wp-image-427" /></a>
</p>
<p>There&#8217;s an included JavaScript console for executing code/commands/expressions on-the-fly and while there is a JavaScript debugger included, it seems at this time to be a command-line only tool, far less user-friendly than Firebug.</p>
<h3>Not ready for prime time yet?</h3>
<p>Of course, Chrome is marked as Beta by Google, something we&#8217;ve come to expect since Gmail has been in beta for longer than the company has been publicly traded.  Nonetheless, there are still some features that are sorely missed.</p>
<p>The one thing I absolutely love about Firefox is the vibrant developer community and subsequent widespread availability of quality, useful extensions.  This has produced such gems as the aforementioned <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a> and <a href="http://adblockplus.org/en/">Adblock Plus</a>.  </p>
<p>For now, extensions/addons are not part of Chrome but may be added in a later version.  In the meantime I don&#8217;t think I&#8217;ll be even close to ready to switch, as I&#8217;m very stubborn.  I don&#8217;t use that many extensions but the few that I do are &#8220;must-haves&#8221; and I just can&#8217;t browse without them.  </p>
<p>Lastly, there are always privacy concerns, especially from a company as big an involved as Google.  Though you can turn off the sending of usage statistics, there will always be some with their tinfoil hats on.</p>
<h3>Conclusions</h3>
<p>All things considered, Chrome is a very good entry into the browser market.  While I don&#8217;t think it&#8217;s ready to take on Firefox or IE yet, it does provide competition.  So as long as Chrome continues to support standards (which I think it will, since it uses the WebKit renderer and Google has also been forthcoming with their <a href="http://www.google.com/chrome/intl/en/webmasters.html">support for web developers</a>), I won&#8217;t have a problem with it.  I won&#8217;t be switching over to it anytime soon, but at the very least it&#8217;ll be a useful development tool to verify/test my websites on to make sure they look proper in Safari/Konqueror/Chrome.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://unitstep.net">unitstep.net</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact <strong><a href="mailto:webmaster@unitstep.net">webmaster@unitstep.net</a></strong> for more information.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">Plugin</a> by <a href="http://www.taragana.com/">Taragana</a></span>]]></content:encoded>
			<wfw:commentRss>http://unitstep.net/blog/2008/09/02/google-chrome-what-it-offers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upgrade jQuery for better Opera support (Or just upgrade Opera)</title>
		<link>http://unitstep.net/blog/2008/06/25/upgrade-jquery-for-better-opera-support-or-just-upgrade-opera/</link>
		<comments>http://unitstep.net/blog/2008/06/25/upgrade-jquery-for-better-opera-support-or-just-upgrade-opera/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 00:45:43 +0000</pubDate>
		<dc:creator>Peter Chng</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[browsers]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://unitstep.net/?p=336</guid>
		<description><![CDATA[I ran into a weird problem while testing one of my sites that used jQuery with Opera 9.26.  (I happened to be using this older version of Opera because I am lazy to upgrade; I&#8217;m still using Firefox 2 despite the successful launch of FF3)
The issue was with an Ajax request I was sending. [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into a weird problem while testing one of my sites that used jQuery with Opera 9.26.  (I happened to be using this older version of Opera because I am lazy to upgrade; I&#8217;m still using Firefox 2 despite the successful launch of FF3)</p>
<p>The issue was with an Ajax request I was sending.  The return value was an array in JSON form.  More specifically, the server was returning something like:</p>
<pre><code>{tag:[{id1:'A',id2:'B'}, {id1:'A',id2:'B'}, {id1:'A',id2:'B'}]}</code></pre>
<p>This was perfectly valid and worked fine in both Firefox and Internet Explorer.  However, in Opera 9.26, I got a JavaScript error indicating that the JSON was not valid.  It was then that I realized I was using an older version of jQuery, v1.2.2.  <a href="http://docs.jquery.com/Downloading_jQuery">Upgrading to the latest</a>, 1.2.6 fixed the problem.  Strangely, I could not find anything on their bug tracker indicating that such a problem (JSON and Opera) had been fixed.</p>
<p>What was even more interesting was that <a href="http://www.opera.com/download/">upgrading to Opera 9.50</a> also solved the problem independently; that is, things worked fine even with the older version of jQuery.  This goes to show the importance of keeping your software up to date and highlights the complicated interactions between different browsers and client-side code in a web application.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://unitstep.net">unitstep.net</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact <strong><a href="mailto:webmaster@unitstep.net">webmaster@unitstep.net</a></strong> for more information.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">Plugin</a> by <a href="http://www.taragana.com/">Taragana</a></span>]]></content:encoded>
			<wfw:commentRss>http://unitstep.net/blog/2008/06/25/upgrade-jquery-for-better-opera-support-or-just-upgrade-opera/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE8 cometh</title>
		<link>http://unitstep.net/blog/2008/03/06/ie8-cometh/</link>
		<comments>http://unitstep.net/blog/2008/03/06/ie8-cometh/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 02:17:57 +0000</pubDate>
		<dc:creator>Peter Chng</dc:creator>
		
		<category><![CDATA[browsers]]></category>

		<category><![CDATA[ie8]]></category>

		<category><![CDATA[internet explorer]]></category>

		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://unitstep.net/blog/2008/03/06/ie8-cometh/</guid>
		<description><![CDATA[
If you&#8217;re into web development you&#8217;re likely aware of the big news from Microsoft that Internet Explorer 8 Beta 1 is now available.  This comes less than 1.5 years since IE7 was released, and represents a much faster development cycle than was observed with IE7.  (Over five years passed between the initial release [...]]]></description>
			<content:encoded><![CDATA[<p class="image align-right"><img src='http://unitstep.net/wordpress/wp-content/uploads/2008/03/ie7-logo.png' alt='Internet Explorer' /></p>
<p>If you&#8217;re into web development you&#8217;re likely aware of the big news from Microsoft that <a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/Install.htm">Internet Explorer 8 Beta 1</a> is now available.  This comes less than 1.5 years since IE7 was released, and represents a much faster development cycle than was observed with IE7.  (Over five years passed between the initial release of IE6 and IE7)</p>
<p>With Firefox Beta 3 <a href="http://arstechnica.com/news.ars/post/20080212-first-look-firefox-3-beta-3.html">released not long ago</a> and the final version due in the first half of 2008, Microsoft has been feeling the heat and probably has decided to devote real effort towards improving Internet Explorer in order to regain market share lost mainly to Firefox.</p>
<p>However, what&#8217;s most interesting and impressive about IE8 is not its fast follow-up to IE7, but its broad support for web standards and other improvements that many did not expect, especially after the poor track record of IE6 that <a href="/blog/2006/08/10/ie7-still-not-up-to-task-on-css/">wasn&#8217;t improved much by IE7</a>.</p>
<h3>Be Ready</h3>
<p>Microsoft details the many important changes IE8 will bring in their <a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/DevelopersNew.htm">IE8 Readiness Toolkit</a>.  Besides passing the <a href="http://arstechnica.com/news.ars/post/20071219-ie8-goes-on-an-acid2-trip-beta-due-in-first-half-of-2008.html">Acid2 test</a> (MS has created a list of <a href="http://samples.msdn.microsoft.com/csstestpages/default.htm"><acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> 2.1 Test Pages/Cases</a>), the browser also natively supports the <a href="http://microformats.org/wiki/hatom">hAtom Microformat</a> in order to implement what MS calls &#8220;WebSlices&#8221;, which are basically portions of a webpage that can be subscribed to, much like an <acronym class="uttInitialism" title="Really Simple Syndication">RSS</acronym> feed.  The example shows how to mark up an auction item and its price so that the content can be easily be scraped, organized and read by an aggregator. </p>
<p>Other improvements in the area of JavaScript are also appealing.  In the area of Ajax, MS is pushing a Cross-Domain Request model (XDR), which would overcome the same-origin restrictions of the current XHR object.  It is claimed that this is secure, but we&#8217;ll have to wait-and-see if this also adopted by other browsers.  Hopefully it is, if its proven to be an open and robust standard - after all, XMLHttpRequest <em>did</em> start off at Microsoft.  Whatever the outcome, clearly a solution to the same-origin XHR policy must be found, since current workarounds (such as injecting a <code>&amp;lt;script&amp;gt;</code> element into the document) are cumbersome at best.</p>
<p>IE8 has also addressed the JavaScript circular memory leak problem seen in previous versions.  This problem can occur because of careless coding that creates references and situations that the previous garbage collector could not deal with properly; basically, if two objects referenced each other (with their properties), they would never be considered &#8220;dereferenced&#8221;, even if no other references existed for them.  This has the tendency to eat up memory, and unfortunately, it&#8217;s quite easy to do this accidentally in JavaScript.  Fixing this problem is especially important now that web applications are increasingly relying on complex JavaScript for features.</p>
<p>From a user point-of-view, IE8 adds a lot of social-web and other features that cut across multiple websites.  For example, it&#8217;s easy to share a website on Facebook/Digg, or select an address on a webpage and look it up using Microsoft&#8217;s Live Maps service with the built-in functionality.  What remains to be seen is if IE8 will develop a vibrant third-party plugin community like Firefox has - this has been one feature of Firefox that I simply couldn&#8217;t do without, and it allows you to easily add functionality that&#8217;s not present in the core. </p>
<h3>Hope for the future</h3>
<p>All of this may come as a shock to web developer, who for years have had to deal with IE&#8217;s hopeless inadequacy when it came to following web standards.  Far too often, the development cycle would look something like this: 1) Get it working in a standards-compliant browser (like Firefox or Opera); 2) &#8220;Hack it&#8221; to get it to work properly with IE.  Though I have not had a chance to properly look at IE8&#8217;s beta, it appears that this version will finally get things right, making things much easier for us all.  Microsoft has claimed this to be part of their <a href="http://arstechnica.com/news.ars/post/20080221-microsoft-launches-new-open-standards-interoperability-push.html">interoperability push</a>, but I believe it&#8217;s a push to be more like Firefox to slow the flow of users who are switching from IE to Firefox.</p>
<p>The biggest change, and perhaps the most recent, to IE8 was Microsoft&#8217;s <a href="http://arstechnica.com/news.ars/post/20080303-sanity-prevails-ie8-will-default-to-standard-compliant-mode.html">reversal of how they&#8217;d handle standards mode</a>.  Previously, they had decided that true standards-mode would only be invoked on the browser&#8217;s rendering engine if the web page specified it.  That is, by default, IE8 would use a quirks-mode compatible with how IE7 had worked.  This was utterly stupid and contrary to the nature of web-standards.  A standard should be used by default!</p>
<p>Furthermore, the only reason behind this decision was that MS did not want to &#8220;break&#8221; how IE8 worked with websites that were previously designed to work with IE7&#8217;s not-so-standards mode - a problem that they had created by not following standards in the first place.  This sort of reasoning effectively slows adoption of standards, since it creates a chicken-and-the-egg problem - if the dominant web browser doesn&#8217;t properly follow web standards, neither will a significant number of websites.  Thankfully, Microsoft decided that the chicken&#8217;s (or the egg, if you will) time has come, and that IE8 will support standards mode by default - the way it was meant to be. </p>
<p>Some things do concern me, for example, the way &#8220;Activities&#8221; are implemented.  Currently, a website can add in an activity with the following code example from the <a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/DevelopersNew.htm">IE8 site</a>:</p>
<pre><code>&lt;button onclick="javascript:window.external.addService('GetMap.xml')"&gt;Add Map Activity&lt;/button&gt;</code></pre>
<p>The &#8220;GetMap.xml&#8221; file points to <a href="http://www.w3.org/XML/" class="ubernym uttInitialism"><acronym class="uttInitialism" title="eXtensible Markup Language">XML</acronym></a> that describes the activity&#8217;s functionality.  So as long as other browsers/plugins aren&#8217;t prevented from implementing support for this, things should be okay.  Otherwise, we risk a disturbing slide back towards the day when sites were &#8220;best viewed in <some browser>&#8220;.  </p>
<p>(As a side note, I understand that the example code was for brevity, but the best way to invoke JavaScript on a page is not using an inline call like that, but in a separate JavaScript file using proper event handlers.  Also, one should test for the existence of a method that may not exist, before calling it.  Checking for <a href="http://www.quirksmode.org/js/support.html">user-agents/browser versions</a> is a big no-no.  As far as I know, window.external.addService is IE8-only right now.)</p>
<h3>Looking forward</h3>
<p>Overall, I&#8217;m very pleased with what IE8 promises.  It&#8217;ll be interesting to see how fast it is adopted by the masses and how this measurement compares with how fast IE7 was adopted.  We&#8217;ll also get to see if Microsoft&#8217;s adoption of web standards has an effect on its share of the browser market.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://unitstep.net">unitstep.net</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact <strong><a href="mailto:webmaster@unitstep.net">webmaster@unitstep.net</a></strong> for more information.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">Plugin</a> by <a href="http://www.taragana.com/">Taragana</a></span>]]></content:encoded>
			<wfw:commentRss>http://unitstep.net/blog/2008/03/06/ie8-cometh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE7 still not up to task on CSS</title>
		<link>http://unitstep.net/blog/2006/08/10/ie7-still-not-up-to-task-on-css/</link>
		<comments>http://unitstep.net/blog/2006/08/10/ie7-still-not-up-to-task-on-css/#comments</comments>
		<pubDate>Thu, 10 Aug 2006 23:53:29 +0000</pubDate>
		<dc:creator>Peter Chng</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[browsers]]></category>

		<category><![CDATA[internet explorer]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://unitstep.net/blog/2006/08/10/ie7-still-not-up-to-task-on-css/</guid>
		<description><![CDATA[With all the attention IE7 has been getting and the long development time, (Internet Explorer 6, the last major version, was released almost five years ago), you&#8217;d think Microsoft would have devoted a lot more time to following web standards this time around.  Unfortunately, things are not looking so good in this respect.  [...]]]></description>
			<content:encoded><![CDATA[<p>With all the attention IE7 has been getting and the long development time, (Internet Explorer 6, the last major version, was released almost <em>five years ago</em>), you&#8217;d think Microsoft would have devoted a lot more time to following web standards this time around.  Unfortunately, <a href="http://www.webdevout.net/browser_support_summary.php?uas=IE6-IE7-FX1_5-OP8-OP9">things are not looking so good</a> in this respect.  </p>
<p>While everyone (myself included) has applauded Microsoft for making <a href="http://blogs.msdn.com/ie/archive/2006/01/23/516393.aspx">moves towards supporting standards</a>, a mere slight improvement over IE6 is not enough this time.  I mean, come on - they&#8217;re Microsoft, one of the largest software companies out there.  Why can&#8217;t they seem to get things right?</p>
<h3>The bane of web developers and designers</h3>
<p>It&#8217;s a well-known secret among those involved in making websites that IE6 is <em>horrible</em> when it comes to supporting <acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> (Cascading Style Sheets), a format for defining how webpages should be presented.  Provided you&#8217;re not <a href="http://unitstep.net/blog/2006/08/06/why-flash-based-websites-are-bad/">doing everything in Flash</a>, and care about <a href="http://unitstep.net/blog/2006/08/06/why-poorly-designed-websites-persist/">web standards</a>, you&#8217;ll quickly find that you have to learn <acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> in addition to (X)<acronym class="uttInitialism" title="HyperText Markup Language">HTML</acronym> if you want to properly design a website, possibly in addition to server-side technologies.  </p>
<p>Designing your first website using <acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> for the presentation, you&#8217;ll quickly find that IE6 is the odd one out, and hardest one to &#8220;make things look right&#8221; in.  Out of all the <a href="http://www.w3.org/TR/CSS21/">selectors in <acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> 2.1</a>, IE6 only supports a <a href="http://www.quirksmode.org/css/contents.html">few of them</a>.  Additionally, many of the pseudo-selectors, such as <code>:hover</code>, only work on certain elements.  Boo-urns!</p>
<p>As most web developers/designers have switched over to a different browser, either by choice (Firefox/Opera) or because of necessity (Safari), they&#8217;ll quickly find themselves always having to refer back to IE6 to &#8220;fix&#8221; the site once things are already looking great in the other browsers.  Thus, IE6 has been the target of many a web designer&#8217;s curses throughout the course of history. (Perhaps similar to how Netscape 4 caused many headaches years ago - but maybe not as bad as that!)</p>
<h3>Corporate lethargy</h3>
<p>Some would suggest this is merely the result of Microsoft growing too large and becoming a dinosaur of sorts, not able to respond to changes in the marketplace.  A good example of this is their <a href="http://live.com">Live-series</a> of web-based services and applications, most of which seem to be inferior to competing products offered by other companies.  In this respect, it seems that Microsoft caught on a little too late to this trend.</p>
<p>However, I don&#8217;t think this is the case with IE7.  Microsoft, by all accounts, has talented people working for them - there&#8217;s just no way they could have become so successful without talent.  Microsoft research in particular has some <em>really</em> smart people working for it - an MS researcher recently visited our lab last month, and I was impressed not only by his depth of knowledge in his field, but also his breadth of knowledge.  He seemed to know, in quite some detail, about each of the areas the people in my lab were engaged in.</p>
<h3>Shunning standards?</h3>
<p>Therefore, it seems that solving a problem like making IE7 standards-compliant can&#8217;t be <em>that big</em> of a problem.  I mean, they have had five years - and other companies like Mozilla and Opera have made browsers that fairly standards compliant, with Opera being a bit better than Firefox at <a href="http://www.webstandards.org/action/acid2/">standards support</a>. One argument could be that they don&#8217;t want to release a browser that&#8217;s so different from IE6 that sites will &#8220;break&#8221; on the new IE7.  This isn&#8217;t accurate though, as they&#8217;ve already made enough changes to virtually guarantee that sites &#8220;made for IE6&#8243; will break on IE7.  </p>
<p>As much as I hate to say it, some believe that IE7&#8217;s lack of support for standards is something that&#8217;s been deliberately &#8220;implemented&#8221;.  HÃ¥kon Wium Lie, of Opera software, best <a href="http://interviews.slashdot.org/article.pl?sid=06/06/23/1443203">sums it up</a> in an interview on Slashdot:</p>
<blockquote><p>
It&#8217;s quite clear that Microsoft has the resources and talent to support CSS2 fully in IE and that plenty of people have reminded them why this is important. So, why don&#8217;t they do it? The fundamental reason, I believe, is that standards don&#8217;t benefit monopolists. Accepted, well-functioning, standards lower the barrier of entry to a market, and is therefore a threat to a monopolist.</p>
<p>From that perspective, it makes sense to leave CSS2 half-implemented. You can claim support (and many journalists will believe you), and you also ensure that no-one can use the unimplemented (or worse: buggily implemented) features of the standard. The only way to change the equation is to remind Microsoft how embarrassing it is to offer a sub-standard browser. And to use better browsers.
</p></blockquote>
<p>What he&#8217;s saying is certainly plausible - Microsoft has been known to engage in anti-competitive practices, and after all, anti-competitives practices are really sound (but perhaps not ethical) business strategies that only become available when you&#8217;re the clear market leader.  And, when you have shareholders always squeezing you to make more money, sometimes business strategy can take a more sinister direction.</p>
<p>I want to stop short of actually declaring MS to be engaging in anti-competitive strategies here (though a compelling argument could be made for this), but I will say that the effects of their actions, for whatever motivations, are horrible for web development.  Internet Explorer 6 was a big enough problem, as since it&#8217;s the majority market holder, professionals in website development <em>had</em> to account for it - there&#8217;s just no saying &#8220;Screw non-standard browsers&#8221;, when your expected client base is 80% (or higher) IE6.  And, with the release of IE7 (to be pushed to users <a href="http://news.com.com/Microsoft+tags+IE+7+high+priority+update/2100-7350_3-6098500.html?tag=nefd.lede">automatically</a>), more problems will be created: sites made to work with IE6 will probably not work too well in IE7, and vice-versa.  Clever tricks, whether through <acronym class="uttInitialism" title="Cascading Style Sheets">CSS</acronym> or JavaScript will eventually provide work-arounds, but all of this adds substantially to the development time for a site.  </p>
<p>So much for the chant, <a href="http://www.ntk.net/ballmer/mirrors.html">&#8220;Developers, developers, developers!&#8221;</a>  Microsoft, please fix IE7 before it&#8217;s widely released, and you&#8217;ll be sure to receive heartfelt thanks from many formerly-frustrated developers out there.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://unitstep.net">unitstep.net</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact <strong><a href="mailto:webmaster@unitstep.net">webmaster@unitstep.net</a></strong> for more information.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">Plugin</a> by <a href="http://www.taragana.com/">Taragana</a></span>]]></content:encoded>
			<wfw:commentRss>http://unitstep.net/blog/2006/08/10/ie7-still-not-up-to-task-on-css/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
