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

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

    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

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • The third generates a controller called ajax and views for two actions: show and time. Listing 1 shows the controller code.

    第三代码生成一个叫做ajax控制器查看两个动作showtime

    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

  • As you can see in this brief tutorial, putting your validation into your model can clean up your controller code in great ways.

    这个简单教程中看到的,验证放到模型能够很好简化控制器

    youdao

  • The index.zul file contains only the view part of the application, while controller code is written separately in the composer class ManageCustomer.

    zul文件包含应用程序视图部分控制器代码单独composerManageCustomer 中。

    youdao

  • Rails also includes dynamic scaffolding, which essentially provides the same code support without the need for the pre-generated controller code.

    Rails包括了dynamicscaffold实际上提供相同代码支持需要提前生成控件代码。

    youdao

  • The idea being that if you have code that is not threadsafe, this mutex will prevent multiple threads from executing your controller code at the same time.

    这个想法来自于如果代码是非线程安全的,这个互斥防止多线程在同时执行控制器代码。

    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

  • The controller code is also pretty thoroughly separated from the model code, and could be swapped out for different control devices without needing to change the model.

    控制器代码也是相当彻底分开模型代码,可以不同控制设备需要改变模型。

    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

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

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

    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

  • Likewise, the controller is where you add destinations and other controlling code for your application; you don't put any of that stuff in your model.

    同样地控制器应用程序添加目的地其他控制代码;您不在的模型放入这些数据。

    youdao

  • That code belongs in the controller.

    那些代码属于控制器

    youdao

  • Listing 8 shows the view code that will use the data model that is built by the controller.

    清单8显示视图代码,它使用控制器构建数据模型

    youdao

  • Listing 4 shows the source code for this controller.

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

    youdao

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

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

    youdao

  • The Model-View-Controller pattern taught us to effectively partition our code along a well-defined boundary between the user interface and model.

    模型-视图-控制器(Model - View - Controller)模式指导我们有效地分割代码用户接口模型之间定义一个良好的边界

    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

  • 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

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

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

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