• To create the new view and controller, type the code in Listing 5.

    创建新的视图控制器请输入清单5所代码

    youdao

  • The controller can specify a code block for each type the controller expects.

    控制器可以控制器期望每个类型指定一个代码

    youdao

  • The idea behind the controller is to provide code that can use XQJ to query and transform the aforementioned XML document.

    控制器目的就是提供能够使用XQJ进行查询代码转换刚才提到XML文档的格式。

    youdao

  • It should be ignorant of any view or controller code that exists as a means to interact with the model.

    视图控制器用于作为模型进行交互手段,而模型并不知道它们存在

    youdao

  • This code was leveraged from the activity controller with only a few modifications, including echoing the final table, not returning it.

    段代码活动控制器使用,并且进行了少量修改包括回传最终而不是返回表)。

    youdao

  • The top half of this file will contain the primary code for your scripts controller.

    文件上半部分包含脚本控制器主要代码

    youdao

  • If you need to change the path that executes a given controller, you need to reconfigure your code structure.

    如果我们需要修改执行给定控制器路径需要代码结构重新进行配置。

    youdao

  • The code in Listing 3 is the basic declaration of your controller.

    清单3中的代码控制器基本声明

    youdao

  • Programmers have simplified their code structure and eased maintenance tasks with Model-View-Controller for decades.

    数十年来,程序员们使用模型-视图-控制器简化了代码结构使得维护任务更加容易。

    youdao

  • You will need some controller code to glue everything together and make this RIA interactive.

    需要使用一些控制器代码所有内容组合起来使这个RIA具有交互性

    youdao

  • To generate more-descriptive URIs, you'll customize controller code to support the personalized URIs.

    获得描述性更好的URI需要定制控制器代码支持个性化 URI。

    youdao

  • That code belongs in the controller.

    那些代码属于控制器

    youdao

  • Now, add more code to the controller.

    现在,您可以控制器添加更多代码

    youdao

  • Listing 4 shows the source code for this controller.

    清单4展示了控制器源代码

    youdao

  • The event bubbling technique provides the ability to disconnect the view structure of the widget from the controller code.

    事件气泡技巧可用于断开小组件视图结构控制器代码之间连接。

    youdao

  • Modify the controller to validate the ZIP code (5 numeric digits).

    修改控制器验证邮政(5数字)。

    youdao

  • As you can see from the link definition in Listing 5, I created a new BrowsersController controller class to manage this code.

    正如可以清单5中的链接定义看到的那样,创建了一个BrowsersController控制器管理代码

    youdao

  • With one line of code, the catalog controller can now use the requester-side caching capabilities for caching the catalogs returned from the legacy catalog application.

    现在只需使用代码Catalog控制器能够使用请求缓存功能缓存遗留Catalog应用程序返回Catalog了。

    youdao

  • Model View Controller for code generation.

    用于代码生成模型-视图-控制器模式。

    youdao

  • Rails helpers are functions that help to simplify model, view, or controller code.

    Rails帮助器帮助简化模型视图控制器代码的函数

    youdao

  • Next, to receive the form post, add the function update() to the Student controller; the code is shown in Listing 19.

    接下来为了接收这个表单发布Student控制器添加函数update();代码如清单19

    youdao

  • Convention over configuration also leads to "aha!" moments for new Rails developers because the controller and model code is so concise.

    约定优于配置会使新的Rails开发人员能够立即上手因为控制器模型代码特别简洁。

    youdao

  • When a user clicks on a closed node, the onClick event of the target node is bubbled up by the browser to the main onClick handler of the widget's controller code.

    用户单击某个关闭节点时,浏览器会将目标节点onClick事件(通过气泡)传递给小组件控制器代码onclick处理程序。

    youdao

  • You saw how to create friendly URIs by adjusting controller code, add mappings to UrlMappings.groovy, and create a custom codec.

    了解了如何通过调整控制器代码创建更为友好URIUrlMappings . groovy添加映射以及创建一个定制codec。

    youdao

  • The view action for the Products controller should have something like the code in Listing 3.

    控制器view操作应当清单3所示的代码

    youdao

  • Begin by replacing the code that creates the Edit option in the Student controller listing function with the code from listing 21.

    首先清单21中的代码代替用来创建Student控制器listing函数内的Edit选项那些代码。

    youdao

  • You might recall that these are the same three variables that were bound to values within the controller code.

    可能还记得它们就是控制器代码中绑定3个变量

    youdao

  • The controller class contains the code the Web service makes available to a client.

    控制器包含用于客户机Web服务代码

    youdao

  • Groovlets make controller coding a snap: they require less code and provide needed objects automatically.

    Groovlets使得编写控制器变得非常简单:它们需要更少代码自动提供了所需对象

    youdao

  • The code for a controller in Rails 3 can be exceedingly Spartan.

    Rails3中的控制器代码可以极其简单

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定