Rails, dir structure, resource generator, REST
Stateless (REST in Rails)
1. Identify resources
2. Select methods to expose, Respect the middle man, join models! memberships, friendships, etc...
Homepage, resource:homepage, depends on the content, resources :ads, resource :dashboard
Preview, Untitled, resources :post resource :preview
Search, map.resources :posts and use the index, resource :search (for several controllers) (he uses a Searcher model in the controller)
Wizards, galleries/new restaurants/:id/photos/create restaurants/:id/photos/edit resources :galleries resources :restaurants, :has_many => [:photos] with_options :controller => 'options' do p.update_restaurant p.edit_restaurant