Painless Rails [Иван Немытченко]

Bot

Администратор
Команда форума
23 Янв 2020
197,770
3,124
113
«Painless Rails» book

Why another book about Ruby on Rails?

There are two kinds of books about Rails:

  • First ones are a description of Rails features.
  • Second ones provide a list of anti-patterns and recipes to fix them.
This book is different. The goal of this book is to describe a new integrated approach to Web-applications development using Rails. To achieve this goal we'll go through several "unlearning" and several "learning" chapters.
In "unlearning" chapters we discover how writing code in a conventional way makes our life harder. In "learning" chapters we describe "Painless Rails" approach piece by piece.

This book is here to help you achieve these things:


  1. Identify and fix most harmful flaws in your current Rails application
  2. Establish a solid foundation for your next Rails project
  3. Learn to look beyond code and realize how to organize concepts, not classes and methods
Спойлер
Table of contents*
Chapter 1: Controversial smoothness of Rails way approach
  1. Masking complexity with callbacks and conditional validations
  2. Mixing internal with external
  3. Ignoring layers in Rails
  4. Mixing Application Logic and Business Logic
  5. The time-bomb effect
Chapter 2: Painless Rails foundation
  1. Shapes
  2. Services
  3. Mutators
  4. Repositories
  5. Domain Models
Chapter 3: Painless Rails frame
  1. Hierarchy of models
  2. The key part of REST
  3. Hierarchy of controllers
  4. Testing
  5. Service Locator
Chapter 4: Painless Rails approach in practice
* The book structure and titles might differ in the final version


Продажник - painlessrails.com/book/