Last active
August 29, 2015 14:16
-
-
Save mamund/9cc1268c5b2054542a41 to your computer and use it in GitHub Desktop.
Suggested ALPS document for MVCTodo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"alps" : { | |
"version" : "1.0", | |
"doc" : { "value" : "A suggested ALPS profile for the popular MVCTodo project"}, | |
"link" : {"rel" : "help", "href" : "https://github.com/tastejs/todomvc/blob/master/app-spec.md"}, | |
"descriptor" : [ | |
{"id" : "id", "type" : "semantic"}, | |
{"id" : "title", "type" : "semantic"}, | |
{"id" : "completed", "type" : "semantic"}, | |
{"id" : "listAll", "type" : "safe"}, | |
{"id" : "listActive", "type" : "safe"}, | |
{"id" : "listCompleted", "type" : "safe"}, | |
{"id" : "add", "type" : "unsafe"}, | |
{"id" : "edit", "type" : "idempotent"}, | |
{"id" : "remove", "type" : "idempotent"}, | |
{"id" : "markCompleted", "type" : "idempotent"}, | |
{"id" : "clearCompleted", "type" : "idempotent"} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<alps version="1.0"> | |
<doc>A suggested ALPS profile for the popular MVCTodo project</doc> | |
<link rel="help" href="https://github.com/tastejs/todomvc/blob/master/app-spec.md" /> | |
<!-- data elements --> | |
<descriptor id="id" type="semantic" /> | |
<descriptor id="title" type="semantic" /> | |
<descriptor id="completed" type="semantic" /> | |
<!-- action elements --> | |
<descriptor id="listAll" type="safe" /> | |
<descriptor id="listActive" type="safe" /> | |
<descriptor id="listCompleted" type="safe" /> | |
<descriptor id="add" type="unsafe" /> | |
<descriptor id="edit" type="idempotent" /> | |
<descriptor id="remove" type="idempotent" /> | |
<descriptor id="markCompleted" type="idempotent" /> | |
<descriptor id="clearCompleted" type="idempotent" /> | |
</alps> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment