mozumder / HTML6

An HTML6 proposal for single-page apps without Javascript.
85 stars 7 forks source link

HTML6 Single-page apps without Javascript

This is a proposal to the HTML standard to allow dynamically loaded single-page apps without Javascript.

This could be done by declaring model objects in the HTML <HEAD>:

<MODEL name="article">
    <FIELD name="headline" type="string">
    <FIELD name="body" type="string">
</MODEL>

<A> elements would specify JSON/XML API endpoints, as well as models that would receive the data:

<A mref="http://api.mywebsite.com/get-article" receiver="article">Get!</A>

Finally, the DOM is dynamically updated through model references:

<H1 model="article.headline"></H1>
<ARTICLE model="article.body"></ARTICLE>

Thus, HTML becomes a templating language, with content residing in model objects that can be dynamically reloaded without Javascript.

Documents

Introduction

Quickstart - Blog currently empty

More Scenarios currently empty

Model Object currently empty

Data IO currently empty

Model API

SQL Interface currently empty