Join GitHub today
Clone this wiki locally
This page describes what goes in each chapter, and hopefully provides a place to discuss where topic fit.
Where does it go?
- Resources – use and generation
- Using ORMs other than DataMapper
- Rake/Thor – built in tasks/ making you own
- Rack – and MiddleWare
- How to use the API Documentation
1. Front Matter
1. Foreword By Yehuda Katz
2. Preface by Matt Aimonetti
1. Ruby Language
2. Merb Web Framework
4. RSpec testing framework
3. Getting Started
1. Install Instructions
2. Generate an application
A description of each of the generated forms and when to use them.
3. Project structure
Q. Do we describe the structure of each of the generated forms or just the full structure?
A general overview of the MVC framework and why it is useful. Contains basic descriptions of each part and some advice on best practices.
A look at how Merb deals with controllers. What to put there and what not to. How to interact with models. Setting up the environment for views. How to use information about the request. How Merb generates the response, including layouts and status codes. How to use the generators. Examples
What views are. What to put in them and what not to. Introduction to both eRB and Haml which should each have their own more complete chapter. How Merb picks a view and layout. Using instance variable to pass data from controllers to views. How to use the generators. Examples
What models are. Breadth of possibilities. Options for ORM and SQL. Basics of setting up a model with DataMapper(?). How to use the generators. Examples
Q. What goes here and what goes in Chapter 4?
Q. Do things like presenter classes belong a)here, b)in their own chapter, c) not in this book?