欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/Agda, C++/Erlang/Lisp
Routes
来自开放百科 - 灰狐
(版本间的差异)
第1行: | 第1行: | ||
+ | {{top news}} | ||
+ | |||
Routes is a Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions and generating URL's. Routes makes it easy to create pretty and concise URL's that are RESTful with little effort. | Routes is a Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions and generating URL's. Routes makes it easy to create pretty and concise URL's that are RESTful with little effort. | ||
第14行: | 第16行: | ||
http://routes.groovie.org/ | http://routes.groovie.org/ | ||
+ | |||
+ | [[Category:Python]] |
2010年9月27日 (一) 06:49的最后版本
Routes is a Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions and generating URL's. Routes makes it easy to create pretty and concise URL's that are RESTful with little effort.
Speedy and dynamic URL generation means you get a URL with minimal cruft (no big dangling query args). Shortcut features like Named Routes cut down on repetitive typing.
[编辑] Features
- Named Routes
- Sophisticated Route lookup and URL generation
- Wildcard path's before and after static parts
- Groupings syntax to allow flexible URL's to accommodate almost any need
- Sub-domain support built-in
- Conditional matching based on domain, cookies, HTTP method (RESTful), and more
- Easily extensible utilizing custom condition functions and route generation functions
- Extensive unit tests
分享您的观点