[whatwg] At Inclusion (a declarative way to "Ajaxise" a website)
florent.fayolle69 at gmail.com
Mon Jun 18 14:10:37 PDT 2012
Le 18/06/2012 22:40, Elliott Sprehn a écrit :
> Browsers allow unescaped @'s already in the URL field. You can't
> hijack it to mean something different like that.
> On Sun, Jun 17, 2012 at 7:32 AM, Florent FAYOLLE
> <florent.fayolle69 at gmail.com <mailto:florent.fayolle69 at gmail.com>> wrote:
> I have written a proposal that introduces a new way to include
> remote contents into the document (in other (bad) word, to
> "Ajaxise" it) using a declarative way.
> This proposal is named At Inclusion, and can be read here :
> To rapidly sum up, At Inclusion is a part of the URL that
> describes pairs. Each pair is composed of :
> - the ID of the target element (the element that gets the remote
> - the URL leading to the content to include.
> and the At Inclusion has this form :
> For example, let's suppose we have this main document (located at
> http://myserver/mypage.html) :
> <a href="@myTarget=/myaddition.html">click me</a>
> <div id="myTarget"><p>default content here</p></div>
> and the content to include in myTarget (located at /myaddition.html) :
> <p>hello world</p>
> By clicking on the link, the HTML code of #myTarget will be
> replaced with this one :
> <div id="myTarget"><p>hello world</p></div>
> and the new location of the page will be :
> Feedbacks welcome.
Yes, I have suspected that... It's written at the "10. Remaining
questions" section of my document (at the bottom). I have kept @ to show
More information about the whatwg