Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Route, dispatcher?

Também chamado de: route (web application) · dispatcher

Definition 11.1 High School Computer Science · Capítulo 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.
Ler no capítulo →