全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Route, dispatcher?

又称: route (web application) · dispatcher

Definition 11.1 High School Computer Science · 第 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.
在原文中阅读 →