Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AndySky21/HTML6

Open more actions menu
 
 

Repository files navigation

These documents are volatile & updated quite a bit. Check back often! And feedback is appreciated.

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

  • A quick why and how with rough examples and ideas.

Quickstart - Blog currently empty

  • Just want to make a single-page-app blog? Use this document.

More Scenarios currently empty

  • This document contains a bunch of examples to use in the real world.

Model Object currently empty

  • The spec for the <MODEL> element and MODEL attributes.

Data IO currently empty

  • The spec for data transfer into and out of the models.

Model API

  • The spec for Javascript access to the model data.

SQL Interface currently empty

  • The spec for accessing model data from HTML using SQL.

About

An HTML6 proposal for single-page apps without Javascript.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.