[whatwg] Installed Apps

Mike Wilson mikewse at hotmail.com
Tue Aug 4 01:08:14 PDT 2009


Michael Nordman wrote:
> On Mon, Aug 3, 2009 at 2:37 PM, Mike Wilson wrote:
> > Btw, another reflection is that this mail thread is about
> > introducing a client/server model in the browser. Some
> > mentions of complex code in the background page, f ex building
> > the HTML for the visible window, make me think of traditional
> > server-centric webapps, but inside the browser. I've made
> > the below table to illustrate this, and I mean to point out
> > similarities between traditional server-centric and the new
> > background_page-centric webapps, and between client-centric
> > and visible-centric webapps. Maybe this can inspire some new
> > thoughts.
> 
> Yes... client/server model in the browser... good observation... and a
> good way to think about the direction I would like to see things go.
> Incidentally, that line of thinking is my motivation for the
> introduction of  script-generated responses in this (HTML5) system
> design.

Ah, I seem to have missed that. Makes total sense for offline 
as it probably makes it a lot easier to port server-centric 
apps to the cache, and well, there is already a concept of 
serving files (although only static).

It's not a small thing to add, but if this is taken further I
think coordination should be done with current inititatives
using JS in server-side web platform designs, such as:
  ServerJS WSGI https://wiki.mozilla.org/ServerJS/WSGI
    (several products pointed to by comparison table)
  Joyent Smart http://becoming.smart.joyent.com/index.html
  + other stuff using EnvJS, etc...

This would make it easier to move code between server and
client, simplifying creation of distributed and offline apps.

> >             Remote          Background   Visible
> >             server          page         page
> >             ------          ----------   -------
> >
> > Current webapp designs:
> >
> >  server-     state
> >  centric     logic
> >  (bugzilla)  gen HTML ->                  render
> >
> >  client-     state ->                     state
> >  centric                                  logic
> >  (gmail)                                  gen/render HTML
> >
> > New "background page" client-centric designs:
> >
> >  background- state ->        state
> >  centric                     logic
> >                             gen HTML ->  render
> >
> >  visible-    state ->        state ->     state
> >  centric                     (logic)      logic
> >                                          gen/render HTML

Best regards
Mike




More information about the whatwg mailing list