Routing and Navigation Flashcards

1
Q

View and Route

A

Each view has a route through which it can be accessed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Route and Views

A

Routing maps URLs to views or resources to navigate directly to the desired content or functionality. Typically, the root route / shows a main view, a route such as /users could show a sub-view that displays a list of users, and a route with the user ID as a parameter, such as /users/dadams, would show a specific user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Supported Features

A

To navigate to a view, you need to get a link to the view.
The following features are supported:

Child routes, such as /main/users and /main/premises.

Route aliases, such as showing /main/users as the default view when /main is entered.

Fallback routes, such as showing an error page for a path such as /users/invaliduser.

Route parameters, such as /users/:userid to catch URLs such as /users/dadams.

Redirects, such as redirecting root route / to /login.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly