通过页面缓存,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中的指定位置上。
Dynamic program data from back-end business logic can also be placed at the specified location in the HTML.
如果您对用PHP将您的HTML页面变得更动态些感兴趣,这部分将适合您。
If you took interest in PHP to make your HTML pages more dynamic, this bit is for you.
应用推荐