Displaying the UI with views


Views allow you to completely separate program logic from the UI. This is one of the fundamental ideas behind the MVC design pattern.

View files in Outlast Framework are placed in -surprise- one of the view folders…usually /app/view/. They are regular HTML files but they are template-enabled. This means you can use the tags, variables, and filters that the template defines to easily display data that you loaded up in the controller.

Template tag and filter documentation

You can read some more about the Framework’s template system here.

More about the template system

The template system is basically identical to the Django Framework’s template and supports all its neat features like template inheritance. Until we get more documentation here, have a look at these:

Outlast Framework adds additional tags and filters to the mix:

Outlast Web & Mobile Development (c) 2023 | Privacy Policy |