"It's like Flex or Silverlight for HTML5. Designed for complex web applications!
Developed and based on the standards of the web - XML & Javascript."
<!DOCTYPE HTML> <html> <head> <title>App</title> <script type="text/javascript" src="js/lib/require.js"></script> <script type="text/javascript" src="js/lib/rAppid.js"></script> <meta name="fragment" content="!"> </head> <body> <script type="text/javascript"> rAppid.bootStrap("example/basic/App.xml"); </script> </body> </html>
<?xml version="1.0"?> <app:AppClass xmlns="http://www.w3.org/1999/xhtml" xmlns:js="js.core" xmlns:ui="js.ui" xmlns:app="example.todo"> <h2>Todo</h2> <div> <span>{todoList.numOpenTodos()} of {todoList.size()} remaining </span> <span visible="{todoList.hasCompletedTodos()}"> (<a href="" onclick="archiveCompletedItems">archive</a>) </span> <ui:ListView items="{todoList}" itemKey="todo" class="unstyled"> <ui:Checkbox label="{todo.title}" checked="{{todo.completed}}" class="{todo.status()}"/> </ui:ListView> <form onsubmit="addTodoItem" action=""> <input type="text" size="30" placeholder="add new todo here" value="{{newTodo.title}}"/> <input class="btn-primary" type="submit" value="add"/> </form> </div> </app:AppClass>
<ui:View xmlns="http://www.w3.org/1999/xhtml" xmlns:js="js.core" xmlns:ui="js.ui" componentClass="card" person=""> <p> <small>Name:</small> {person.fullName()} </p> <p> <small>Phone:</small> {person.phone} </p> </ui:View>