The example directory contains demonstration of some features of the nowise/uup-site package.

Getting started

A good starting point is to examine the examples on routing and conditional content. For building single page applications, checkout the dynamic update example.

Using views or pages

When building an site, use views (HTML-fragments) and setup routing. Use context files (i.e. menus and publisher). Consider enabling the online page editor.

For building web applications, use pages (controllers) and conditional load views. Consider defining base classes for pages for different parts of the application that loads required javascripts.

Secure contents

Access to content can be secured static using an secure page or view that requires authenticated session. To dynamic secure access, use a standard page (controller) and ensure authetication calling authorize() method is base class.