[whatwg] Client-side includes proposal

Thomas Broyer wrote:
> On Mon, Aug 18, 2008 at 9:54 AM, Kristof Zelechovski wrote:
>> And what would the workaround for legacy browsers be?
> 
> AJAX?
> 
> e.g. http://www.mnot.net/javascript/hinclude/

Yikes! Distributed extensibility! Namespaces in HTML!

Anyway. Of course this can be simply done in JS, and many people are 
doing it.

But then... if many people use scripting that could also be done in a 
declarative way, why not add that?

I'd also like to repeat that client-side inclusion can be *very* useful 
when including repeating fragments into many pages (headers, 
footers...), or also when including frequently changing fragments into 
otherwise static pages (ads, ...).

Finally, just because a feature can be useful for static content (such 
as when read from CDs) doesn't automatically make it less useful for 
things on the web.

BR, Julian

Received on Thursday, 21 August 2008 12:57:48 UTC