Member Login

E-mail:    Password:  


Vendor : O'Reilly Media


Email  E-mail this page

Related Content  Related Content

Remember  Remember this item

 

Format: PDF

Date: 01/01/2007


Rails Cookbook: Action Controller

WORTHWHILE?

0

0 votes


Overview

In the Rails architecture, Action Controller receives incoming requests and hands off each request to a particular action. Action Controller is tightly integrated with Action View; together they form Action Pack. Action Controllers, or just "Controllers," are classes that inherit from ActionController::Base. These classes define the application's business logic. A real estate web application might have one controller that handles searchable housing listings, and another controller devoted to administration of the site. In this way, controllers are grouped according to the data they operate on. Controllers often correspond to the model that they primarily operate on, although this doesn't have to be the case.



See also: Application Development