views:

62

answers:

1

There are various discussions about whether to use Flash, Silverlight or HTML5. When it comes to Silverlight, it has very different programming experience (more of a desktop model), and this makes it reasonable for Silverlight applications to use MVVP presentation pattern.

But when it comes to pure HTML5-based Web application, is there any well-known presentation design pattern that provides a good fit for them and is often chosen by developers?

Thanks in advance.

+1  A: 

I don’t think this area is very well-developed, because there just aren’t that many complex client-side web apps. Generally you do most of your work on the server — HTML (plus CSS) is your presentation layer.

When you are working on the client, the main vague pattern is:

  • HTML is your interface
  • CSS adds custom styles to the HTML (beyond the default styles that the browser assigns to HTML tags)
  • JavaScript adds custom behaviour to the HTML by assigning functions to the available events on HTML tags, via the DOM

I don’t have any Flash or Silverlight experience, hence the vagueness of my answer.

It might be worth reading up a bit on Cappucino, which is a big framework for building complex UIs in HTML.

Paul D. Waite
Thank you Paul, I'll have a look at Cappicino.
Vagif Abilov