Skip to content

Views basics

Rwf comes with a templating library that can generate dynamic pages. Dynamic templates allow you to create unique HTML pages on the fly, and libraries like Turbo can use it in a way that feels like a native frontend application.

What are views?

Views are the V in MVC: they control what your users see and how they experience your web app. Separating views from controllers allows controllers to reuse similar parts of your web app on different pages without code duplication.

Using JavaScript frontends

If you prefer to build your frontend with JavaScript libraries like React or Vue, take a look at Rwf's REST API documentation. Rwf templates are not required to build web applications.

Learn more