InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

What is Needed for the Next Level of Browser Applications?

Posted by Ian Roughley on Nov 26, 2007

Sections
Development
Topics
Web Frameworks ,
Java
Tags
AJAX

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.

1. Features

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.

2. Reliability

Reliability is going to be an important characteristic of new web browsers, as broken content is the rule rather than the exception. This is not a new problem, and web browsers will need to continue with the precedent that they have already set in being able to handle incorrectly formatted content. Similarly, there will continue to be more than one technology. As well as the currently support different versions of HTML, CSS and JavaScript, there will be new versions and new technologies to deal with.

We need to be learning from biology and provide browsers that can cope with failure, and at the same time evolve.

 

3. Trust

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
  • Sandboxing
  • Less brittle models of building relationships (SMASH/XIP/etc)
And whether we like it or not, users will need time to trust any new technology.

 

4. Momentum

Fortunately the web has already gained huge momentum, being the preferred delivery mechanism of today’s 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 by Jim Murphy Posted
Re: Love the last question by Alex Popescu Posted
Great summary by Bernard Farrell Posted
  1. Back to top

    Love the last question

    by Jim Murphy

    "With Ajax toolkits and plug-ins, have we provided a solution so that web browsers don't need to evolve?"

    Clearly, yes! In my opinion we're all willingly running down the rabbit hole of browser application development (BAD)! .

    I'm amazed we tolerate the status quo of Ajax style development. Being familiar with other client application frameworks over the years I'm astonished at the willingness of teams to do DHTML/Javascript/AJAX at all. To me it is the cruftiest approach to development I've ever seen - by far. I can see the slipery slope that starts with enhancing your typical web app.

    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.

  2. Back to top

    Re: Love the last question

    by Alex Popescu

    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 :-).

    ./alex
    --
    .w( the_mindstorm )p.
    Alexandru Popescu
    Senior Software Eng.
    InfoQ Techlead/Co-founder

  3. Back to top

    Great summary

    by Bernard Farrell

    Thanks for a good summary of the talk itself.

    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.

Educational Content

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.