Each function in a controller represents a destination or route.
控制器中的每个函数表示一个目的地或路线。
I prefer to use a controller, because I can use it to fire the model logic, then do some validation processing, and then route the user to an error-handling or result page as appropriate.
我更喜欢使用控制器,因为我可以使用它来触发模型逻辑,然后进行某种验证处理,接着将用户路由到一个相应的错误处理或结果页。
Here, you're creating a home controller so that your route will activate properly.
在这里,您正在创建主控制器以便正确激活您的路径。
I tie it all together with a simple controller in Play and a route definition.
我使用Play中的一个简单控制器和一个路由定义将其绑定到一起。
This generates an ActiveRecord model, a controller with an appropriate route mapped to it, and several view templates.
这段代码将生成ActiveRecord模型、带有相应映射路径的控制器和几个视图模板。
This way the Windows Domain Locator process can be leveraged which will route requests to the Domain controller "best suited" to handle it.
这样就可以使用WindowsDomainLocator进程把请求路由到 “最适合”处理它的域控制器。
The controller will act as an endpoint for receiving JSON requests. My route definition is shown in Listing 4
控制器充当接收JSON请求的端点。
Implementing custom route handling means taking on responsibility for functions that are usually handled for you, such as controller and action resolution.
实现自定义路由处理,意味着你要负责常规功能的处理,如控制器及动作的解析。
For more detail, see Routing and action Selection, which describes exactly how the framework matches a URI to a route, selects a controller, and then selects the action to invoke.
更多细节参见“路由与动作选择”(本教程系列的下一小节—译者注),它精确地描述了框架如何把URI匹配到路由、如何选择控制器、以及随后选择动作进行调用。
The technical route of using fuzzy control for control of vibration cycle is put forward, and a fuzzy controller whose parameters can be optimized on line is designed.
提出了振动周期控制采用模糊控制的技术路线,设计了参数因子在线自整定的模糊控制器。
Redirects to the specified action using the action name, controller name, and route dictionary.
使用操作名称、控制器名称和路由值重定向到指定的操作。
Redirects to the specified action using the action name, controller name, and route values.
使用动作名称、控制器名称和路由字典,重新导向至指定的动作。
This paper describes the structure and basic principle of the optical fiber sensing multi-route accumlating controller.
本文叙述了光纤传感多路收集控制器的基木构成及其基本原理。
This control system consisted of a host controller, multi master nodes , route nodes and sub nodes.
该控制系统由主控端、多个主控节点、各个终端子节点以及多个路由节点组成。
In this article, taking routine resistance industry heating furnace as the background, we design a multi-route temperature controller based on DSP chips.
本文以常规电阻工业加热炉为背景,设计了一个基于DSP的多回路温度控制器。
A kind of controller which carries out multi-route infrared switch remote control based on AT89C51 singlechip is introduced in the paper.
本文介绍一种基于AT89C51单片机的多路红外线开关遥控器的实现方法,并详细给出了遥控器系统的硬件部分和软件部分。
A kind of controller which carries out multi-route infrared switch remote control based on AT89C51 singlechip is introduced in the paper.
本文介绍一种基于AT89C51单片机的多路红外线开关遥控器的实现方法,并详细给出了遥控器系统的硬件部分和软件部分。
应用推荐