An Application
Overview
An Application is typically used by Application Users and Application Actors, they can be authenticated or not but generally Application Actors will be. An Application is usually Branded and Deployed.
<Application>
<Name>platformed</Name>
<Resource mount="/" component="platformed.branded.view.HomePage">Description</Resource>
<Resource mount="/books" component="platformed.branded.view.Books">Description</Resource>
<Resource mount="/books/:bookName" component="platformed.branded.view.Book">Description</Resource>
<Resource mount="/books/:bookName/:chapterName" component="platformed.branded.view.Chapter">Description</Resource>
<Resource mount="/books/:bookName/:chapter/:pageName" component="platformed.branded.view.Page">Description</Resource>
<Resource mount="/" component="platformed.branded.view.HomePage">Description</Resource>
</Application>
<PlatformedHomePage name="platformed.branded.view.HomePage" component="platformed.components.View" template="PropositumTemplate">
</PlatformedHomePage>
<Books name="platformed.branded.view.Books" type="platformed.components.View" template="platformed.wiki.Template">
<Contents>
<p>Please select a book.</p>
</Contents>
<Content>
<BookList type="List" datasource="application.books.list" template="BookListTemplate">
<li><p datasource="listItem.name">There is no name for this book...</p></li>
</BookList>
</Content>
<Actions>
<p><a href="/books/create">Create book</a></p>
</Actions>
</Books>
<List>
</List>
<BookListTemplate>
</BookListTemplate>
<Book name="platformed.branded.view.Book" type="platformed.components.View" template="platformed.wiki.Template">
<Contents>
<Html>Please select a chapter.<p.</Html>
</Contents>
<Content>
<Chapters type="platformed.components.html.TableOfContents" datasource="application.books.[bookName].contents">
<p>There are no chapters in this book.</p>
</Chapters>
</Content>
<Actions type="platformed.components.html.Div">
<p>Please choose an action.</p>
<ul>
<li><Link href="/books/[bookName]/create/page">New Page</Link></li>
<li><Link href="/books/[bookName]/create/chapter">New Chapter</Link></li>
<li><Link href="/books/[bookName]/edit">Edit</Link></li>
<li><Link href="/books/[bookName]/sort">Sort</Link></li>
<li><Link href="/books/[bookName]/delete">Delete</Link></li>
</ul>
</Actions>
</Book>
<Template name="platformed.wiki.Template" type="platformed.component.HtmlPage">
<h1>Platformed</h1>
<p><a href="/">Home</a><a href="/books">Books</a></p>
<Contents type="platformed.component.Content"/>
<Content type="platformed.component.Content"/>
<Actions type="platformed.component.Content"/>
<p>Copyright</p>
</Template>
<List name="platformed.components.List">
</List>
<Content name="platformed.component.Content">
</Content>
No Comments