Ruby on Rails Tutorial 4/e | 拾書所

Ruby on Rails Tutorial 4/e

$ 990 元 原價 1,650

<About>

Features
A thorough introduction to web development with Ruby on Rails
By widely respected Rails expert Michael Hartl, creator of RailsSpace and the Rails-based Inoshi social networking platform
Dramatically lowers the barrier to getting started with Rails
Fully updated for Rails 5

<Description>

“Ruby on Rails™ Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps.”

— Peter Cooper, Editor of Ruby Inside

Used by sites as varied as Twitter, GitHub, Disney, and Airbnb, Ruby on Rails is one of the most popular frameworks for developing web applications, but it can be challenging to learn and use. Whether you’re new to web development or new only to Rails, Ruby on Rails™ Tutorial, Fourth Edition, is the solution.
Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three example applications of increasing sophistication. The tutorial’s examples focus on the general principles of web development needed for virtually any kind of website. The updates to this edition include full compatibility with Rails 5, a division of the largest chapters into more manageable units, and a huge number of new exercises interspersed in each chapter for maximum reinforcement of the material.

This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code that’s simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery.

This book will help you

Install and set up your Rails development environment, including pre-installed integrated development environment (IDE) in the cloud
Go beyond generated code to truly understand how to build Rails applications from scratch
Learn testing and test-driven development (TDD)
Effectively use the Model-View-Controller (MVC) pattern
Structure applications using the REST architecture
Build static pages and transform them into dynamic ones
Master the Ruby programming skills all Rails developers need
Create high-quality site layouts and data models
Implement registration and authentication systems, including validation and secure passwords
Update, display, and delete users
Upload images in production using a cloud storage service
Implement account activation and password reset, including sending email with Rails
Add social features and microblogging, including an introduction to Ajax
Record version changes with Git and create a secure remote repository at Bitbucket
Deploy your applications early and often with Heroku

<Sample Content>

Table of Contents

Foreword to the First Edition by Derek Sivers xvii

Foreword to the Third Edition by Obie Fernandez xix

Acknowledgments xxi

About the Author xxiii

Chapter 1: From Zero to Deploy 1

1.1 Introduction 4

1.2 Up and Running 10

1.3 The First Application 14

1.4 Version Control with Git 31

1.5 Deploying 45

1.6 Conclusion 51

Chapter 2: A Toy App 53

2.1 Planning the Application 54

2.2 The Users Resource 58

2.3 The Microposts Resource 74

2.4 Conclusion 89

Chapter 3: Mostly Static Pages 93

3.1 Sample App Setup 93

3.2 Static Pages 99

3.3 Getting Started with Testing 110

3.4 Slightly Dynamic Pages 118

3.5 Conclusion 134

3.6 Advanced Testing Setup 136

Chapter 4: Rails-Flavored Ruby 145

Brand Slider