Re: Simple template-based editing

On 10/3/05, Anne van Kesteren <fora@annevankesteren.nl> wrote:
> Quoting Dimitri Glazkov <dimitri.glazkov@gmail.com>:
> > An HTML app should work without JS, CSS, Flash, or any other extras.
> > That's the whole point.
>
> HTML is just a string of text. What you eventually get in browsers is a
> DOM. If
> you modify it you can still access that DOM which represents the current state
> of the application. Therefore a scripting language can certainly be required
> for applications. Doing everything through declarative markup is just
> not done.

The fact that HTML is just a string of text and DOM is an object tree
has nothing to do with the argument. Both are just representations of
data.

Even if you ignore the value of semantic markup as you seem to have
done, consider that HTML is "public", or accessible from anywhere by
anybody (or at least a reasonable subset of that), and it has to
contain enough information to understand the structure of data and
operation protocol of the application by the widest spectrum of the
user agents, including those that do not support scripting.

The philosophy of progressive enhancement goes along these lines:

1. make your app work with most standard and most accessible means
2. enhance it with scripting and other doo-dads that you might have in
your cachet.

Yes, the adoption of this philosophy is fairly low at the moment, but
that does not make it wrong.

:DG<

Received on Monday, 3 October 2005 14:56:51 UTC