-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# Views basics | ||
|
||
Rwf comes with a [templating](templates/) library that can generate dynamic pages. Dynamic templates allow you to generate unique HTML pages on the fly, and libraries like [Turbo](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](../controllers/) allows them to reuse similar parts of your web app on different pages. | ||
|
||
|
||
## Using JavaScript frontends | ||
|
||
If you prefer to build your frontend with JavaScript libraries like React or Vue, take a look at Rwf's [REST](../controllers/REST/) API documentation. While useful, Rwf templates are not required to build web applications. | ||
|
||
## Learn more | ||
|
||
- [Templates](templates/) | ||
- [Turbo](turbo/) |