
| Bruce Tate是一位知名的作者、发言人和独立咨询师。他的专长在于轻量级开发技术,尤其是Ruby和Ruby on Rails。他的O’Reilly作品中包括获得Jolt大奖的“Better,Faster,Lighter Java”(影印版由东南大学出版社出版)和“Beyond Java”(中文版即将由东南大学出版社出版)。 |
| Preface 1. Zero to Sixty: Introducing Rails Rails Strengths Putting Rails into Action Organization The Web Server Creating a Controller Building a View Tying the Controller to the View Under the Hood What's Next? 2. Active Record Basics Active Record Basics Introducing Photo Share Schema Migrations Basic Active Record Classes Attributes Complex Classes Behavior Moving Forward 3. Active Record Relationships belongs_to has_many has_one What You Haven't Seen Looking Ahead 4. Scaffolding Using the Scaffold Method Replacing Scaffolding Generating Scaffolding Code Moving Forward 5. Extending Views The Big Picture Seeing Real Photos View Templates Setting the Default Root Stylesheets Hierarchical Categories Styling the Slideshows 6. Ajax How Rails Implements Ajax Playing a Slideshow Using Drag-and-Drop to Reorder Slides Drag and Drop Everything (Almost Everything) Filtering by Category 7. Testing Background Ruby's Test: :Unit Testing in Rails Wrapping Up A. Installing Rails B. Quick Reference Index |
商品评论(0条)