What is Needed for the Next Level of Browser Applications?
In the keynote presentation of The Ajax Experience in Boston, Alex Russell and Joe Walker posed the question "What's needed to take development in the browser to the next level?"
The current level of Ajax toolkits are a result of IE winning the browser race, and all browsers vendors entering a period of stability. Stagnation in browsers features meant that to provide new application features, libraries needed to be developed. And the libraries today have provided good solutions to the holes in browser functionality, as well as providing a browser compatibility layer for developers.
To progress past the plateau, Alex and Joe provided thoughts in the categories of features, reliability, trust and momentum that need to be addressed.
Although new features are needed to advance the user experience, they need to be added with care. It will be important that any new features do not break existing ones, and that features are added ubiquitous by al vendors.
In fact, new features are not being introduced by browsers, instead they are provided by Ajax libraries. Therefore, the important question that needs to be answered is "how far can the libraries go?"
Libraries are pushing the limits with features such as Comet, 3D (VML/SVG/Canvas), and storage and downloads.It is only by using a lot of hacks that the Ajax libraries are able to provide the current level of web technologies.
Another issue that will continue to plague the use of new browser features is the depreciation of the browser itself. Even if new features are introduced into a new generation of web browsers, the browsers currently in circulation may take 5 or more years to be removed. This will increase the responsibility of the Ajax toolkits, to assist in the transparent transition between generations of browsers.
We need to be learning from biology and provide browsers that can cope with failure, and at the same time evolve.
So what can go wrong? There are many concerns that developer have today, these include:
- Web Worms
- Privacy invasion
- Data in transit
- Identity theft
- Browser security
- How to build something trustable
New generations of browsers should be able to assist developers in building secure and trustable applications. In order to do this, reliable patterns need to be developed, and these patterns will need to:
- Responds in the way that you, the user, expect it to respond
- Follows the principle of least astonishment
There are a lot of ways to break user trust - we need to turn this around. The suggestions Joe and Alex made for features to assist developers are:
- Content restrictions (block based)
- An anti CSRF marker for cookies
- Less brittle models of building relationships (SMASH/XIP/etc)
Fortunately the web has already gained huge momentum, being the preferred delivery mechanism of todays applications. And for the web, developers are providing mass and the number of deployed browsers providing velocity.
As developers, we can participate and influence standards bodies to continue momentum, and continually improve the technologies we are using.
We need to reinvigorate standards bodies, with the resulting process being transparent as well as available and driven by user and the community.
Momentum is also being provided by the browser vendors, who are moving forward without specifications. They are taking risks and we should encourage them. In particular, plug-ins are providing a way to break the non-native world, and a question all web developers should be asking themselves is "will the next version of development be via browsers or something that piggybacks on a browser?"
In conclusion, Alex and Joe asked another question, this time rhetorical:
With Ajax toolkits and plug-ins, have we provided a solution so that web browsers don't need to evolve?
Love the last question
Clearly, yes! In my opinion we're all willingly running down the rabbit hole of browser application development (BAD)! .
But, you can get around the deployment win of browser apps. Why hasn't Java Web Start or .NET Winforms taken off? I wish they would.
Re: Love the last question
Why hasn't Java Web Start or .NET Winforms taken off?
Well, I guess the answer for the latter is clear. As regards Java Web Start, and in a smaller measure Flash, I think they aren't ruling the web due to some psychological factors: we got used to think of web in a "close-to-text-format". For me, this is quite similar to our psychology related to paper: we still love the paper, and even if e-paper has been around for a while, almost nobody is using it.
Last, but not least you cannot create Flash/Java Web Start apps using PHP :-).
.w( the_mindstorm )p.
Senior Software Eng.
This was a good talk at an interesting conference. I think there was a general feeling that the libraries have a great deal of overlap and some of that functionality should be brought into the browsers. And if the browsers did include at least a portion of it, we could reduce some of the bloat we're seeing at present. That'd be nice.
Caitie McCaffrey Apr 24, 2015