通过页面缓存,Rails就可以用来构建动态 HTML页,并将此页存储在公共目录,这样,应用程序服务器就可以像服务其他静态页面一样来服务这个动态页。
Using page caching, you allow Rails to build a dynamic HTML page, and store it in a public directory, so your application server can serve it just as it would any other static page.
如事件处理和生成一节中所述,HTML表单小部件为每个输入字段动态创建接收事件。
As explained in the event handling and generation section, the HTML form widget dynamically creates receive events for each of the input form fields.
某些时候动态HTML页面需要即时从服务器更新以备随时显示-甚至是使用后退按钮的时候.例如显示银行帐号的状态或在线订单.
Sometimes dynamic HTML pages need to be fetched from the server whenever they are displayed - even when the back button is used. For example, pages showing the state of a bank account or online order.
在本文中,我展示了如何构建一个自动填充控件来基于在HTMLINPUT字段内所输入的值动态填充表单字段。
Within the article, I show how to build an auto-populate control that dynamically populates form fields based on the value entered in an HTML INPUT field.
如果您对用PHP将您的HTML页面变得更动态些感兴趣,这部分将适合您。
If you took interest in PHP to make your HTML pages more dynamic, this bit is for you.
也可以将后端业务逻辑中的动态程序数据置于HTML中的指定位置上。
Dynamic program data from back-end business logic can also be placed at the specified location in the HTML.
然后动态输出该信息,或者将该信息输出成静态HTML文件来显示它。
You then output the information either dynamically or into a static HTML file to display it.
为了对每个表单输入字段动态创建事件,首先需要对所有表单输入字段的HTML解析,如清单10所示。
To create the events dynamically for each of the form input fields, you first need to parse the supplied HTML for all form input fields, as shown in Listing 10.
这段HTML代码包含一个元素,它显示一个静态 HTML页面的URL,页面包含在滚动字幕中动态显示的消息。
This HTML code contains an element that displays a URL to a static html page containing the message that dynamically appears within the marquee.
PDF表单也可能通过门户用户的HTML输入动态地生成。
PDF forms can also be dynamically generated from a portal user' HTML input.
在服务器端可以使用Velocity处理模板和生成的动态内容(HTML、XML等)。
On the server side, you can use Velocity to process templates and generate dynamic content (HTML, XML, and so on).
DynamicHTML (DHTML)开始时不与动态检索到的内容结合使用。
Dynamic HTML (DHTML) was not initially used in combination with dynamically retrieved content.
用这种方式把每个HTML页面中的每个链接进行转换,然后应用程序的导航会在Tapestry和动态页面之间开始工作,而不是在静态的HTML模板之间。
Convert each link in each HTML page in this manner, and your application navigation will start to work between the Tapestry and dynamic pages, rather than your static HTML templates.
将模板引擎扩展到Web应用程序,可以使用VelocityServlet处理动态生成HTML输出的Velocity模板。
Extending the template engine to Web applications, VelocityServlet can be used to process Velocity templates that generate HTML output dynamically.
清单15 中的第二个代码片段使用了HTMLselectBooleanCheckbox,以便动态处理禁用或启用验证操作。
The second snippet of code in Listing 15 makes use of an HTML selectBooleanCheckbox to dynamically handle disabling or enabling validation.
您可以采用动态的方式,创建bean来读取样式表中的类定义,然后把它转换成正确的HTML标记。
Taking a dynamic approach, you could create a bean to read the class definition from the stylesheet and then convert it to the proper HTML tags.
默认状态下,jsp页面具有一个8kb的缓冲区,满载动态生成的HTML后,它会自动刷新。
By default, JSP pages have an 8kb buffer, which is flushed automatically when it's full of the dynamically generated HTML.
使用Ajax在Web上动态生成对象使页面在每次加载时都产生不同的HTML代码。
Using Ajax to dynamically generate the object on the Web can make the HTML code different each time a page is loaded.
它能与HTML协调工作,并且PHP代码也经常会嵌入在标准HTMLWeb页面内以帮助实现动态内容。
It works harmoniously with HTML, and PHP code is frequently embedded within standard HTML Web pages to facilitate dynamic content.
ClosureTemplates是个客户端与服务器端的模板系统,你可以使用它动态构建可重用的HTML与UI元素。
Closure Templates are a client - and server-side templating system that helps you dynamically build reusable HTML and UI elements...
由于HTML5是动态的,除非它在运行,否则无法观看到网页的布局。
Due to the dynamic nature of HTML it is often difficult to see how a web page is going to look unless it is running.
这样做可以验证两件事:能够读取XML并能够根据xml动态创建HTML。
In that way, I can test two things: that I can read the XML and that I can create HTML from it dynamically.
在典型web开发中动态创建HTML元素是一个比较繁琐的任务;这再一次成为jQuery炫目的地方。
Dynamically creating HTML elements is one of the more tedious tasks in typical web development; once again, this is where jQuery shines.
这个函数依赖于简单的servlet来获取HTML片段(转换后的XML),并动态地使用该HTML片段替换DIV标记中的内容。
This function relies on the simple servlet to obtain the HTML fragment (which is transformed XML) and dynamically replace the contents of a DIV tag with that HTML fragment.
这些表示组件动态地生成全新的html页面,替代用户以前正在查看的页面,从而更新用户界面。
These presentation components update the user interface by dynamically producing a whole new page of HTML to replace what the user was previously looking at.
通过使用动态压缩,可以把html页面的大小减少70%。
You can reduce HTML page size by 70 percent when using dynamic compression.
另一个可供选择的办法是使用xslt样式表,将信息动态转换成HTML。
Another alternative is to use an XSLT stylesheet and convert the information on the fly into HTML.
在这篇文章中,我介绍了如何构建级联式下拉控件,根据其他表单字段值动态填充htmlSELECT控件中的值。
Within the article, I show how to build a cascading drop-down control that dynamically populates values in an HTML SELECT control based on other form field values.
标题和左侧导航菜单是静态页面,正文内容可能是jsp页面或者html页面,取决于内容是动态还是静态的。
The header and left navigation menu are static pages, and the body content will either be a JSP page or an HTML page, depending on whether the content is dynamic or static.
令人惊奇的是,对于这个站点,静态的HTML版本和动态的版本没有很大的不同。
Surprisingly, there's not a tremendous amount of difference between a static HTML version of this site and the live site.
应用推荐