Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Route, dispatcher » ?

Aussi appelé : route (web application) · dispatcher

Definition 11.1 High School Computer Science · Chapitre 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.
Lire dans le chapitre →