By handling content in this way, you have much less code in each of your handler methods.
通过以这种方式处理内容,每个处理程序方法中的代码就要少得多。
In Part 5, I discuss code completion and content assist, including how they work and how they access the PDOM index.
在第5部分中,我将探讨代码完成及内容协助,包括二者如何工作以及如何访问PDOM索引。
It is obvious, especially with time-sensitive data, that all content and code should remain accurate and up to date.
显然,所有内容和代码都应该是精确的和最新的,尤其是对于时间敏感的数据。
A slight overlap of roles remains, however, in the process of taking the presentation — or markup — designed by the artist and applying it to the content the programmer's code delivers.
然而,在获得图形设计师设计的表示(或标记)并将它应用到程序员代码提供的内容中时,角色之间仍然有一定重复。
Therefore, the code retrieves the content field and then creates a new one that is ready for indexing.
因此,此代码将检索内容字段,然后创建一个可供索引的新文档。
Listing 3 shows the code developed for the top content pane, which will contain a heading and instructions.
列表3显示了开发顶部内容窗格所用的代码,它将包含一个标题和一个指南说明。
The following samples show content adapter code for both INS versions.
下列的样本显示了两个INS版本的内容适配器代码。
Selecting a node within the tree pane displays the code or content associated with it in the editor pane.
在树中选择一个节点可以在编辑区中显示出代码或者相关内容。
That is why you must keep code, content, and presentation loosely coupled — scrapping bad designs becomes a lesser pain.
这就是您必须保持代码、内容和显示松散耦合的原因—抛弃糟糕的设计成为减轻痛苦的手段。
The edge server will automatically cache any cacheable content if the response code is 200.
如果响应码是 200,边缘服务器会自动地缓存所有可缓存的内容。
Just like reading food labels for sugar, fat, and sodium content, educate yourself on the code that you're about to consume.
就像阅读食物标签上糖、脂肪,和钠的含量,就您将要消耗的代码来培训自己。
We are choosing a new form of QoS: custom applications that just work, thanks to cached content and local code.
我们正在选择一种新式的服务质量:只需有缓存内容与局域代码就可以运作的自定义应用程序。
Listing 2 shows the code for the content of the tooltip.
清单2显示了该工具提示内容的代码。
Listing 22 shows the JSP code for the pop-up dialog content.
清单22显示了弹出对话框内容的JSP代码。
And you can reject PHP code in content, addressing a long-standing vulnerability.
还可以在内容中排斥php代码,以解决长期存在的安全隐患。
To add an ATOM feed link to access the current content, add the following code shown in listing 4 to the specific component where you want the link to display.
要添加一个ATOM提要链接来访问当前内容,将清单4中所示的代码添加到您想要在其中显示链接的组件中。
Simple sites just remove all unnecessary elements from the design, content, and code.
简洁的网站只是从设计、内容、以及代码中移除了所有不必要的元素。
Empty response with different status code: the response of the PUT request will not have any content, but will have a different status code.
空响应带有不同的状态码:PUT请求的响应没有任何内容,但是有不同的状态码。
Pointcuts allow you to unambiguously reference multiple join points in the program code (method content and processes).
衡切点允许您明确的引用程序代码(方法内容和过程)中的多个连接点。
In principle, you might be able to use knowledge you have about data content or layout to code a clever look-up that's very fast.
从原则上说,您可使用已有的关于数据内容或布局的知识来编写一个可快速运行的巧妙的查询。
Listing 2 shows the content that the code is requesting.
清单2展示了代码请求的内容。
Only the code dealing with the localized content is shown, with the non-relevant code omitted in the listing.
上面只显示了处理本地化内容的代码,与此无关的代码省略了。
Application design is rebalancing the ratio of code to content using SOA; that is, a huge amount of SOA-delivered content is available and is growing.
应用程序设计使用SOA改变了代码和内容的比例,出现了大量通过SOA提供的内容,并且不断增长。
Code and label content — label content according to your defined organizational scheme, including hierarchical categories and controlled vocabularies.
添加内容代码和标签——按照已定义的组织模式(包括层次结构分类和控制词汇)添加内容标签。
As long as we've got the content, we can write the code so that the format is easy to change.
一旦我们得到了内容,就可以开始写代码,使格式易于修改。
The resulting HTML code for the content area would look like the code in Listing 12.
最终得到的内容区HTML代码如清单12所示。
The resulting HTML code for the content area looks like what is shown in Listing 10.
最终得到的内容区HTML代码如清单10所示。
Add any other code that needs to use personalization content.
添加需要使用个性化内容的任何其它代码。
Refactoring the code - Calculating table cell content.
重构代码——计算表单元格的内容。
You can now launch the content adapter from other code running in your enterprise applications.
您现在可以从您的EnterpriseApplication中运行的其它代码启用该内容适配器。
应用推荐