油漆未干
-
The basic process of what's going on Rails - [WEB]
2008-01-23
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://live-free-or-die-hard.blogbus.com/logs/14336760.html
The basic process is as follows: An incoming HTTP request is deflected from the
server’s default document location to the home directory of the Rails application,
where a dispatcher program is executed. That dispatcher program dispatches the
request to the appropriate controller/action combination, which it figures out
from the URL (applying interpretive rules as needed). The controller then takes
over. On the one hand, the controller has access to the universe of the models,
through which it can manipulate data; and on the other hand, it has the ability to
share data with the view template. The view template gets expanded into HTML,
complete with interpolated data, and the Web server hands it back to the client.----- from the <Ruby for Rails>
随机文章:
Heroku turns me down ~~ 2008-02-20Rails 2.0 step by step [翻译版] 2008-01-26Rails 2.0 的 Magic 2008-01-18Ruby On Rails 环境构筑 2008-01-16
收藏到:Del.icio.us








