每天对数百甚至数千的的页面查看重复此过程,那么您的服务器和应用程序执行的查询要远远多于为了显示页面内容所需执行的查询。
Repeat this over hundreds or even thousands of page views each day, and your servers and applications will be executing far more queries than are necessary to show the page contents.
在接下来的例子中,结果集处理程序处理一个结果集,并返回一个html页面,这个页面以表的形式显示结果集的内容。
In the next example, the result handler processes a result set and returns an HTML page, displaying the result set contents as a table.
阅读源代码以查看所有可能的用户提示及其显示的内容,通常没有简单地运行程序看它做些什么来的直观。
Reading the source code to see every possible prompt to the user and the scenarios it displays is usually less functional than simply running the program to see what it does.
在显示内容对话框中你可以输入想让他人运行的程序。
A Show Contents dialog comes up where you can type in the apps you want to allow users to run.
现在,清单3显示如何把这个数据读入Python程序,并解析文件的内容。
Now, Listing 3 shows how to read this data into a Python program and parse the contents of the file.
样例应用程序现在已经完全组装并配置完毕,并且将在LotusNotes的主窗口中显示其内容。
The sample application has now been fully assembled and configured and displays its content in the main window of Lotus Notes.
Windows第一次把整个屏幕全部用于显示应用程序的内容,默认没有窗口边框、菜单、工具条这些东西。
This marks the first version of Windows where the entire screen is dedicated to the content that applications want to display. By default there are no window frames, menus, or toolbars.
reflectedXSS攻击利用了Web应用程序安全性低的弱点,该应用程序在浏览器中显示输入参数而不对其中是否存在活动内容进行检查。
A reflected XSS attack exploits vulnerable Web applications that display input parameters back to the browser without checking for the presence of active content in them.
代码(向您显示该页面的应用程序)、内容(XML文档)和显示(样式表(style sheet))是不同的。
The code (application that shows you this page), content (the XML document) and presentation (style sheets) are different.
由于没有指定命令行参数,应该在应用程序运行之后在控制台视图中显示帮助内容。
Since you specified no command line arguments, the help content should be displayed in the console view after the application runs.
接下来,您的应用程序可以解码那个JSON数据,以任何必要的方式循环该数据,以便显示数据内容。
Then, your application can decode that JSON data and loop through it in any way necessary to display the content.
其他类型的动作,例如多媒体控制按钮,则总是和程序的内容在一起显示。
Other types of actions, such as media control buttons, can be presented together with the content.
本系列的最后这一篇文章将介绍当用户浏览到列表结构末尾而应用程序实际上还需要显示一些内容时,应当如何执行操作。
This final series article looks at what you should do when the user reaches the end of the list structure and your application actually needs to display some content.
对于这个应用程序,这个小部件从页面顶端的选择列表中提取更改请求文档并显示其内容,即更改请求的日志。
For this application, the widget takes the change request document from the selection at the top of the page and displays its contents, which is the diary for the change request.
图2是演示应用程序的另一个面板,它包含更复杂的组件类型,如分割窗格、树和显示HTML内容的编辑器窗格。
Figure 2 is another panel of the demonstration application, containing more complex component types such as split panes, trees, and an editor pane showing HTML content.
框架提供这种访问的方式是使用通用内容和标签提供程序,它们使用了适配器为特定类型的EMF对象显示模型。
The framework provides this access through generic content and label providers that use an adapter for the specific type of EMF object to display the model.
在某些情况下,可能希望捕获整个屏幕,从而同时显示多个应用程序窗口的内容和位置。
In some cases, you may want to capture an entire screen to show the contents and placement of multiple application Windows simultaneously.
通过组织页面和内容来最小化显示关键信息所需的触摸(或操作)的数量,我们尝试保持应用程序的高效性和有趣性。
By organizing pages and content to minimize the number of touches (or gestures) needed to display important information, we've tried to keep the application efficient and fun to use.
这是最重要的驱动程序之一,因为通过这个驱动程序才能使系统屏幕显示内容。
This is one of the most important drivers, because it is through this driver that the system screen comes alive.
异常中还显示了通信错误,可以看到,在这种特定情况下,这就是要返回给应用程序的内容。
The communication error is also displayed in the exception, and you can see that in this particular case this is what is being returned back to the application.
该示例应用程序将要显示的屏幕类型作为呈现参数存储,将购物车的内容(股票的数量)作为会话参数存储。
The example application stores the type of the screen to display as a render parameter, and the content of the shopping cart (the number of stocks) as a session parameter.
一个需要注意的重要方面是,树形查看器通过称为内容提供程序的适配器访问模型对象,并使用标签提供程序确定显示对象的方式。
One important aspect to note is that tree viewers access model objects through an adapter called a content provider and determine how the object should be visualized through a label provider.
下面的章节详细介绍了如何访问内容和标签提供程序的数据,以及如何显示模型导航器。
The following sections detail how we can access data for the content and label providers, then how we display the model navigator.
这个组件给出了应用程序内新窗口的外观,用户可以最小化该新窗口以便只显示标题栏(以防用户访问其中的内容)。
This component gives the appearance of a new window within the application that a user can minimize so that only the title bar shows (in case the user has to access something behind it).
表3显示了基础内容模型的扩展,以便使用内容库促进协作应用程序的开发。
Table 3 shows extensions to the base content model to facilitate development of collaborative applications using content repositories.
内容区域可以包含方向选择,文本和多媒体等内容。程序的这些动作不仅局限于使用视图菜单和工具栏,他们有时会和程序内容一起显示。
Content area can present navigation options, text, media, etc. Actions are not limited to View Menu and toolbar, they may be presented together with the content, as well.
应用程序在使用中,“操作栏”将始终显示,不过它的内容、主题和其他属性将由应用程序而不是系统来管理。
The Action Bar is always present when an application is in use, although its content, theme, and other properties are managed by the application rather than the system.
清单8显示了资源处理程序的内容,该处理程序显示我们创建的小部件视图。
Listing 8 shows the contents of the resource handler that exposes the widget view we created.
图12显示了在正确部署全部内容后门户应用程序的情况。
Figure 12 shows how the portal application looks after everything has been correctly deployed.
完成后,新创建的资源环境提供程序将在显示内容中列出(图7)。
When complete, the newly created resource environment provider will be listed in the display (Figure 7).
应用推荐