xiaoqiu369

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  7 Posts :: 3 Stories :: 2 Comments :: 0 Trackbacks
    1.we receive a new request for a page to our rails application.
    2.Rails routes this request to a controller for processing.
    3.Our controller interacts with the models in our application to gather the necessary data
    4.Our model may retrive or insert data to our database
    5.Once our models have generated or retrived correct information,they return the data back to the collection
    6.The controller collects all of the data it's received from models and selects a view template to render
    7.The view template is rendered using  the data that the collection gathered and handed to  the web server
    8.An html page is returned to the user.
posted on 2009-01-05 16:18 bobqiu 阅读(131) 评论(0)  编辑  收藏 所属分类: ruby&rails

只有注册用户登录后才能发表评论。


网站导航: