Last week, I was invited to attend the Mozilla Platform Summit at Mozilla headquarters in Mountain View, California. Dion Almaer and Ben Galbraith, of Mozilla and Ajaxian fame, put together this event to let developers help guide the future direction of Firefox. There were around 20 attendees in total, with familiar names like John Resig (Mozilla), Steve Souders (Google), Scott Schiller (Yahoo!/Flickr), and Aaron Gustafson (EasyDesigns/A List Apart/WaSP), along with representatives from Facebook, Apple, 280 North, and more.
The day began with several presentations from members of the Firefox team. Christopher Blizzard welcomed us all and gave us an overview of what we’d be doing throughout the day. I always like the story that Mozilla folks tell about the company: Mozilla is a non-profit organization whose sole goal is to make the Internet better for everyone. That’s it, no bottom line, no investors to worry about. The story gets more inspiring every time I hear it. Chris is also one of the nicest guys you could ever meet.
David Barron gave a nice talk on CSS, including what’s already been added in Firefox, what’s planned for additions, and several other possibilities that they’re considering. He was a really good sport as the usual web developer angst started seeping into the room. As you would expect, a lot of people have opinions on how CSS should evolve and grow.
The afternoon was spent in a roundtable discussion where all kinds of topics were discussed. Many brought up the recent troubles with Firebug as something that Mozilla should work on fixing. I kicked off a long discussion about client-side storage, saying how much I love
localStorage as well as how I despite the Client-Side SQL Database spec. The general consensus seemed to be my position: client-side database are good but SQL isn’t the way we want to access that data. I also brought up my concern over the security of data in client-side storage (as I discussed briefly in a previous post), and how I’d prefer some sort of encryption and expiration API.
There was an interesting discussion around whether or not Mozilla should wait for specifications to be finished before implementing anything. My position on this is that specifications take too long to complete and often result in bad interfaces. Mozilla has a long history of implementing what they believed to be useful interfaces, such as
XMLHttpRequest (as a generalized copy of IE’s implementation) and
A lot of great discussion in the afternoon gave way to an alcohol-fueled gathering where Brendan Eich served as the bartender. This was a great time to interact with everyone else in a relaxed and congenial atmosphere. I’d venture to say we all felt pretty good about how the day went and were all happy to hear everyone’s own stories about web development.
It really speaks volumes about Mozilla’s direction when they’ll stop to get the opinions of web developers before deciding how best to spend their development time. We’re all looking forward to having more discussions with Mozilla in the future with the goal of moving the web forward.
What does forward mean?
An interesting question that started to sneak into my head while participating at the Mozilla Platform Summit was this: what does forward mean for the Web? As I continued listening to others and myself, I became convinced that there are two schools of thought about which problems the browser vendors should be focusing on:
- Problems in today’s web applications. The problems of today are things that we, as web developers, are currently struggling with. We’re trying to do something that the browser just won’t let us do. Solving these problems help us to deliver better, more usable versions of the web applications we’re actively working on right now. These are problems that, if addressed, would allow Facebook, Gmail, and the Yahoo! homepage to provide better user experiences immediately. You’ll find a lot of web developers experiencing the same problems. Example of APIs targeted at today’s problems :
- Problems in tomorrow’s web applications. The problems of tomorrow are mostly theoretical at this point. We’re trying to guess where web applications are going and make sure there are enough resources that they can get there. This is the realm of porting Photoshop and Microsoft Office to web applications. A large portion of HTML5 is aimed at this set of problems. The result are APIs that are interesting and fun but of little practical use today. That’s because the web applications that would need these APIs to function don’t actually exist yet. Example of APIs targeted at tomorrow’s problems:
- Web Databases, which provide for a SQLite database running in the browser. This was pushed forward by Apple, who really wanted it for developing web applications on the iPhone. They had an immediate future problem to which this was the solution. There are still so many questions about how databases should be used in web applications. Should joining be allowed? Will we need DBAs on the front end as well?
There are some people who want to focus on the problems of tomorrow to push the web forward and others who want to focus on the problems of today. My personal belief is that we need a little bit of both. To date, HTML5 has been heavily tilted towards solving future problems, and it’s left behind a lot of current problems in its wake. Current problems are well-defined and the solutions are easier to develop because we already know the use cases.
I’m all for splitting time between current and future problems, but we can’t skip over the current problems to get to the future ones. The Web is closely tied to people’s livelihood, education, and ability to interact with the world right now, today, in 2009. Browser vendors do us a great disservice by focusing on more interesting and cool hypothetical problems rather than the problems with which we’re currently dealing.
Equal time is the path forward.
That’s not what the Web is…
As the Web continues to move forward, it’s created a large amount of fear in the web development community. I heard this a few times at the Mozilla Platform Summit when people talked about various new APIs. There’s always someone who says that something new ruins the Web. In order to move the Web forward, we need to abandon our concepts of what the Web is so that we don’t feel that new parts are “ruining” it. The Web doesn’t have a philosophically true form, it wasn’t born a certain way that we must fight to preserve against all odds. If that was the case, we’d still have battleship-gray backgrounds with black text and blue links for all web sites.
To move the Web forward, we need to disavow ourselves of the restrictions some have imposed on us over the years. We need to realize that providing options is a good thing, and that just because an option is provided doesn’t mean we need to use it. There is no such thing as a bad API if it provides new capabilities; libraries like YUI help make the badness of the API design a non-factor. All APIs, regardless of their warts, are good in that they open the door to further possibilities.
Consider a favorite topic: tables. Tables were very necessary for the Web and its forward momentum. Web pages needed to display tabular data, that was the “current” problem at the time. Of course, we all know that tables eventually ended up being used for layout, at which point everyone got upset. Tables were being used inappropriately, that was the bad news. The good news is that, as a result of this trend, CSS gained momentum and ultimately provided us with so many more layout options that people didn’t have to use tables for layout anymore. This is the general trend: new capability used as intended, new capability used in an unintended way, a different capability is introduced to make up for it. That’s evolution.
We can’t get so bogged down by what the Web is today that we won’t allow it to grow in a new direction tomorrow. We also have to be logical enough to realize that moving the Web forward doesn’t mean we have to change what the Web is to us. The Web is already a bunch of different things to a bunch of different people, and therein lies its power. It can continue to be the source of my employment while it can provide you an outlet for displaying your prize-winning photography.
The Web isn’t one thing, it’s many things to many people. In order for the Web to have a future, it must continue to be newer and different things. Options are good. New capabilities are good. New APIs are good. The only bad thing is stagnancy.
Push the Web forward
Push the Web forward by being open to all of the possibilities and afraid of none. Not one of us can see what’s beyond the horizon, but we can choose to approach it with open and accepting arms or run away afraid, presuming disgust and failure. Only the former moves the Web forward. What path will you take?