May 11, 2010 one reply

WebKit: One browser engine to rule them all?

WebKit logo

Right now, so many major players in the web browsing space have turned to the WebKit project for its rendering needs—

  • Apple: Safari
  • Google: Chrome
  • Nokia: Symbian web browser for S60
  • Google: Android web browser
  • Research In Motion: BlackBerry web browser
  • and more

—that one has to wonder if web browsers should just stop running on their own and agree to just merge, possibly under WebKit, since it seems to be so popular across the board. To be clear, if Mozilla’s Gecko renderer had the same track record, I’d say the same thing.

It’s less a matter of killing healthy competition and innovation among vendors, more about eliminating the headache of rendering differences. People can probably file away all the browser bugs and inconsistencies across browsers and their various versions in a full encyclopedia set. (IE6 would take up at least a couple of volumes.) This tedious aspect of front-end development could be greatly reduced if all these browsers adopted the same rendering kit. Then the vendors can focus on improving and innovating in other aspects, like what Google did with its JavaScript V8 engine.

Mozilla can enjoy more time expanding its already large and loyal userbase, working on Labs products like Bespin and Weave, pushing for the WOFF web font format, and so on.

One can argue that if we should be able to choose browsers, then the same can be said for underlying rendering engines, and accept the differences as a a consequence of the freedom to choose. But does a consumer of the Web need to choose which rendering engine he prefers? Or are the differences something we can finally do without?

I, for one, would be thrilled if we didn’t have to worry whether websites looked the same in every browser, and just focus on making websites look and behave the best they can. And I’m pretty sure ordinary users don’t even think about rendering differences.

March 20, 2009 say something

Google plays and promotes with Chrome Experiments (plus! browser updates)

Google Chrome Experiments

Chrome Experiments is a cool new website rolled out by Google to promote its browser Chrome (which is out with version 2.0 beta, by the way) and to demonstrate the power and fun that can be had with the awesomeness of JavaScript and the browser chrome.

Emphasis on the small letter c. See how the site is named Chrome and not Google Chrome (although they effectively became synonymous because it’s Google)? This means most of the neat tricks can be accomplished on other modern browsers too. That is, after all, the idea of “moving to the cloud”—your web product must work in every browser and any other device possible. Of course, the idea is to promote Chrome and not really every other browser and device out there, but Google gets that that’s not the only goal. The experiments are best experienced while using Chrome and not the other browsers.

A short update on other browsers

Speaking of other browsers, let’s take a look at what they’ve been up to lately:

Now let’s go back to Chrome. Seems to me that this Chrome Experiments campaign is the most engaging one of its kind to come out in a long while. From real-time information visualization to graphics and sound rendering to games (both the classics and ones with a browser-based twist), these demos are just a delight to try out. See the compilation video below:

A short rant on other browser campaigns (yes, IE6)

Now, a note on “browser campaigns”. it’s like every other day I see a new site, piece of code, or banner that screams death to IE6! exclamation point! That’s it. Hardly any effort to get Microsoft and other companies to listen, it’s just screaming. I feel like IE6 is now an ace up one’s marketing sleeve, and no longer a real headache that web designers have to deal with everyday. Chrome Experiments makes more sense right now.

What Chrome’s made of

All the browsers claim they’ve got the fastest JavaScript engine of all, and maybe Chrome wants to put its money where its mouth is. It needs to; Google probably expected a better adoption rate for its browser because it’s Google, but it hasn’t happened (yet?). And while it’s nothing close to Spread Firefox or Mozilla Labs, it’s still a solid effort.

We do practically everything on a web browser these days. That’s how Google built itself from the ground. That’s why they rethought how browsers were made and came out with Chrome. Time to show what it’s really made of.

January 5, 2009 12 replies

Browser wars update: Firefox is up, IE is down, Google dumps IE6

Some chunks of good browser-related news at the turn of the new year: Firefox browser usage is more than 20% now, while Internet Explorer, especially IE6, is declining—forcibly and otherwise!

Firefox market shares are rise, IE shares decline

Browser market share from October to December 2008

Browser market share from October to December 2008

For the first time ever, Net Applications is reporting that Mozilla Firefox market shares passed 20% while Microsoft Internet Explorer dropped below 70%. Four major factors are said to explain Firefox growth, from the US elections to longer weekends/holidays, and higher unemployment—all US-centric factors.

Browser version market share December 2008

Browser version market share December 2008

Here’s a chart by browser version. IE7 remains the dominant browser in the market, while IE6 is still at number 2, having almost the same percentage as all Firefox versions combined. But it has declined from the 21-22% range in the last quarter of 2008.

Google Chrome barely leaves a dent at 1%, but surpasses Opera at 0.7%.

Google urges IE6 users to upgrade

Get faster Gmail notice in IE6

Get faster Gmail notice in IE6 (image courtesy of Ars Technica)

According to TG Daily, Google’s Gmail is now sporting a message specifically for IE6 users to upgrade and “get faster Gmail”.

The link leads to a page that promotes Chrome and Firefox 3. “Browsers are getting faster and better at running web applications like Google Mail that use browser technology to its limits,” the page reads. “In order to get the best experience possible and make Google Mail run an average of twice as fast, we suggest that you upgrade your browser to one of the fastest Google Mail supported browsers that work on Windows.” The page offers direct download links for Firefox 3 and Chrome. IE7 and Apple’s Safari are listed as supported Gmail browsers.

Several modern browsers are listed in the linked page, and unfortunately Opera is no longer qualified on that list. At least Google is trying to be fair by mentioning competitors to its own browser, Chrome. More importantly, at least it realizes that the browser share for such an old and run-down browser are alarmingly high. Looks like it’s getting costly to maintain backwards compatibility for JavaScript-intensive web applications like Gmail.

This is not the first time that a large company is forcing its hand. Apple’s MobileMe recommends only 2 browsers: Safari, which it owns, and Firefox.

There is hope!

With the combination of natural factors and some nudging from the big, influential companies like Google and Apple, the obsolete browser that is IE6 might just retire sooner than we expect, sooner than never.

Between Apple computers gaining popularity and Google remaining just as powerful, their influence on which becomes the default browser in controlled environments will be needed to level the playing field, ultimately pushing the capabilities of web browsers forward.

November 8, 2008 5 replies

“Why is IE still relevant?” Good question.

In a recent developer conference in Sydney, someone asked Microsoft CEO Steve Ballmer why they’re spending so many resources on their beloved browser, Internet Explorer:

Why is IE still relevant and why is it worth spending money on rendering engines when there are open source ones available that can respond to changes in Web standards faster?

According to Techworld, this was his reply:

Ballmer began his answer philosophically, saying Microsoft will need to look at what the browser is like in the future and, if there is no innovation around them, which he thinks is “likely”, Microsoft may still need its own browser because of proprietary extensions that broaden its functionality.

“Open source is interesting,” he said. “Apple has embraced Webkit and we may look at that, but we will continue to build extensions for IE 8.”

So now if we can imagine Microsoft actually swallowing its pride to rework IE to use the same code Apple is using with Safari, and Google with Chrome, we’d have 3 competing browsers by 3 technological giants using the same foundations for building a browser. It would seem like good news for those who’ve spent sleepless nights keeping websites from breaking due to IE’s numerous bugs, although I’m not quite sure why have to have 3 different derivatives of WebKit in the first place—which is an issue for another day.

I want to go back to the question of relevance. Ballmer didn’t exactly defend IE’s relevance, even saying that there is likely to be “no innovation around them”. Are you sure? Mozilla definitely thinks otherwise. So does Google.

Add to that Microsoft’s foray into the “cloud” with Windows Azure. Google, which wanted to make sure its web apps provided the best experience, created its own web browser. IE has been around for years now, but what could be crucial to next-generation platform computing seems to be an afterthought, or is just playing catch-up.

If we were to actually take Ballmer’s words to heart, we can expect that either way, web browsing should improve for the better: either through a Webkit-based IE, or the death of IE.

It may very well be the latter, if we’re to believe this comment on the article at the AppleInsider forums:

The IE team was dismantled except for a core team called IE SE – which translates to “IE Sustained Engineering”. What this means… is a product is dead and the SE team simply puts out hot-fixes for any pertinent issues. This all happened during that great legal battle that Microsoft had with the States.

I know we can accomplish a lot more by not waiting around for IE (and Microsoft) to get its act together, but here’s yet another reason web designers and developers are in a rut.

If the company behind Internet Explorer does not believe in it, why should we?

September 4, 2008 9 replies

Google Chrome: time to reinvent the web browser

Google Chrome

Philipp Lensen of Google Blogoscope shares a comic about Google’s open source web browser called Chrome. TechCrunch has posted leaked screenshots too. I suggest you read all those links as they explain very nicely the many, many features Google Chrome has, then try it out for yourself.

With all the revolutionary new features planned for this web browser, do the rest of the factions of the more-than-a-decade-long Browser Wars stand a chance? Let me run through several points that may or may not convince you that the ‘Wars are over:

Reworking web browser concepts

“Chrome”. Google Chrome is so named because the developers wanted to weed out all the unnecessary interface elements that get in the way of an optimal user experience. Google is pretty good at this—see Gmail.

Omnibox. I’ve complained about this before. We have too many blank bars in our browsers, why not stick to just one? Combining the ambitiousness of Firefox 3′s “AwesomeBar”, search keyword shortcuts, and Google’s mighty search engine, users might not need any other button in the toolbar.

Independent tabs and sandboxing. Chrome runs tabs as separate processes to isolate any unruly behavior, whether it’s a memory leak or malicious code.

Using Google’s assets

Webpage testing. Google will use its large—an understatement—collection of crawled websites to test if their browser is working properly on them. It will prioritize by popularity to be efficient in testing the millions, billions, and trillions of pages, of course.

Search and anti-phishing. I’ve mentioned the Omnibox. Google will incorporate its search into the singular browser bar to make finding websites a breeze. (I think AwesomeBar sounds better though.) And since Google is a pretty good keeper of blacklisted sites, Chrome also detects when a website is potentially harmful.

Google Gears. Another obvious move. Google Gears was created to make web browsing more responsive and efficient by linking together the online and offline, so it’s mandatory for Chrome to incorporate this feature.

Inspired by the best of other worlds

WebKit. WebKit is possibly the fastest and smartest browser rendering engine out there. It powers Safari and several Mac OS X applications, as well as Google Android and now Google Chrome.

Privacy Mode. Microsoft is set to introduce a history-free, cookie-free browsing feature in Internet Explorer 8 called InPrivate (though everyone else calls it “porn mode”). Now Google follows suit with “incognito browsing”.

Better JavaScript performance. Mozilla recently announced it was able to dramatically improve JavaScript loading by up to 37.5 times, a feature coming to Firefox 3.1. (Another comparable feature to Firefox is the previously-mentioned Omnibox.)

Speed Dial. Opera has sported this feature since version 9.2.

On to the questions…

Why? My answer? Because they can. Google’s answer? Watch it here. Google is the epitome of a Web 2.0 company, having revolutionized search, then e-mail, then every other activity that can be done online. It rehashed old elements of the Internet, and doing so on a browser feels like a natural extension of their work.

Does Google Chrome comply with Web Standards? Since Chrome is going to run on WebKit, can we trust that we won’t have to debug for yet another browser? Unfortunately, it failed the ACID3 test (which, on the other hand, Safari passed in version 3.2.1).

Will Google end its “search bar relationship” with Firefox and other browsers? Now that Google has its own browser, does it still need to push for the search bar feature in browsers like Firefox, IE, and Safari? Probably not. But most users will still use Google—the search engine—one way or the other. And if you’ve watched the video linked above, Sergey Brin says the general goal is to get people to use “alternative” browsers such as Firefox. (Of course, assuming that Firefox and Chrome remain minor players in the game.)

Is this a milestone in web browser history? Put another way, is this the best thing since tabbed browsing? I can’t really answer a resounding yes. Web browsers must pay attention to detail and reduce bloat—it’s a difficult balance. Google Chrome is a lean browser that contains only a few notable features. We’ll have to wait for a few more releases to see where they’re going with this.

Do you trust Google to browse in its browser? Between a proof-of-concept security flaw discovered hours after the browser’s release and a questionable (but recently modified) license agreement, are you confident in using yet another Google product? This is perhaps the biggest question of all.

July 12, 2008 7 replies

Opera teaches good web design with its Web Standards Curriculum

opera

The Opera Web Standards Curriculum is a comprehensive online course that teaches you standards-based web design. This includes not only coding in the web’s foundational languages, HTML, CSS, Javascript, but also design theory.

One of the authors, Chris Heilmann, describes it as “probably the most thorough and up-to-date web standards curriculum on the web”. He writes:

During the whole course the main focus is on usability, accessibility and writing maintainable code. We deliberately left out browser hacks and backward facing solutions and build on the ideas of progressive enhancement and unobtrusive JavaScript.

I must also point out that WSC is part of Opera Education, an initiative that pushes for web standards awareness and enthusiasm for the internet industry, specifically in schools and universities. I think it’s important for these two parties—browser software makers and educational institutions—to work together rather than apart in developing the Web. In this regard, Molly Holzschlag believes the course is an A+:

The impressive aspect of the curriculum as it is now is that it’s comprehensive, including foundational topics such as Internet and Web history and evolution. Educators understand that history provides context for real learning. Sadly, this is an area often not available in books and online tutorials because readers typically want to dive right in and learn a given technique.

It’s difficult to find a course that focuses solely on creating things through the internet. It’s almost always integrated with either graphic design (see MTV Engine Room) or computer science. Because of this, there is no focus on employing the best practices in creating beautiful, functional websites. And it will continue to be that way—all the way into the workplace—without those two entities joining forces.

This is why I continue to admire Opera. (Mozilla does, too.) It pushes projects that are interesting and beneficial to the web community. Here’s another example: Opera Dragonfly. Firefox’s FireBug wasn’t created by Mozilla (although Safari’s Debugger is a native feature).

And unlike other browser vendors out there, Opera shows it cares about web standards not by saying but by doing.

/* */