Three Proposals for HTML
The Triptych Project is an effort to add three HTML features to all browsers:
- PUT, PATCH, and DELETE methods
- Buttons actions without forms
- Partial page replacement
These relatively small changes make HTML significantly more expressive, enabling far more web applications to be built with pure hypertext.
For instance, this HTML represents a common "edit post" flow, like you might find on a message board or social site, no scripting required. See the examples page for a full explanation.
<form action="/posts/123" method="PUT">
<textarea name="content">I read the news today; oh boy.</textarea>
<button>Save</button>
<button action="/posts/123" method="GET">Cancel</button>
<button action="/posts/123/draft" method="PUT">Save Draft</button>
<button action="/posts/123" method="DELETE">Delete Post</button>
</form>