海上传来的数据将被传送到陆地上,用于路由控制器,从而提供远程高覆盖度。
Data from offshore will also be sent to land for use by en route controllers, thus providing long range high level cover.
我更喜欢使用控制器,因为我可以使用它来触发模型逻辑,然后进行某种验证处理,接着将用户路由到一个相应的错误处理或结果页。
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.
我使用Play中的一个简单控制器和一个路由定义将其绑定到一起。
I tie it all together with a simple controller in Play and a route definition.
应用推荐