Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Route, dispatcher?

Ook bekend als: route (web application) · dispatcher

Definition 11.1 High School Computer Science · Hoofdstuk 11 — Project: A Small Web Application

In a web application, a route links a family of paths to the function that answers them, such as every path /book/<number> to the function book. The dispatcher is the function that receives each request, finds its route, and calls that function with the parts of the path it needs.

The route map of the finished application, with the milestone that adds each route. Milestones 3 and 5 also replace the functions for /book/<n>, / and /search with richer ones.
The route map of the finished application, with the milestone that adds each route. Milestones 3 and 5 also replace the functions for /book/<n>, / and /search with richer ones.
Lees in het hoofdstuk →