Ruby on Rails Tutorial: Learn Web Development with Rails, 3/e(Paperback)

Michael Hartl

買這商品的人也買了...

商品描述

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 diverse as Twitter, GitHub, Disney, and the Yellow Pages, 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, Third 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, focusing on the fundamental techniques in web development needed for virtually any kind of application. The updates to this edition include simplified installation via a standard development environment in the cloud, use of the default Rails stack throughout, a light-weight testing approach, an all-new section on image upload, and an all-new chapter on account activation and password resets, including sending email with Rails.

 

This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you’ll 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 a 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

商品描述(中文翻譯)

「Michael Hartl 的《Ruby on Rails™ 教程》已成為開發者學習如何建立 Rails 應用程式的必讀之作。」
—Peter Cooper,《Ruby Inside》編輯

Ruby on Rails 是最受歡迎的網頁應用程式開發框架之一,被 Twitter、GitHub、Disney 和黃頁等各種網站使用,但學習和使用它可能具有挑戰性。無論您是新手還是只是對 Rails 新手,《Ruby on Rails™ 教程,第三版》都是解決方案。

暢銷作家和領先的 Rails 開發者 Michael Hartl 通過引導您開發三個不斷增加複雜度的示例應用程式,教授 Rails,重點放在網頁開發的基本技術上,這些技術幾乎適用於任何類型的應用程式。本版的更新包括通過雲端中的標準開發環境簡化安裝、在整個過程中使用默認的 Rails 堆棧、輕量級測試方法、全新的圖片上傳部分以及全新的帳戶啟用和密碼重設章節,包括使用 Rails 發送電子郵件。

這本不可或缺的指南不僅提供了整合的教程,還涵蓋了開發網頁應用程式所需的基本 Ruby、HTML、CSS 和 SQL 技能。Hartl 解釋了每種新技術如何解決現實世界的問題,然後用簡單易懂但又有用的代碼進行演示。無論您之前的網頁開發經驗如何,本書都將引導您真正掌握 Rails。

本書將幫助您:
- 安裝和設置 Rails 開發環境,包括預安裝的雲端集成開發環境(IDE)
- 超越生成的代碼,真正理解如何從頭開始構建 Rails 應用程式
- 學習測試和測試驅動開發(TDD)
- 有效使用模型-視圖-控制器(MVC)模式
- 使用 REST 架構結構化應用程式
- 構建靜態頁面並將其轉換為動態頁面
- 掌握所有 Rails 開發者需要的 Ruby 編程技能
- 創建高質量的網站佈局和數據模型
- 實現註冊和身份驗證系統,包括驗證和安全密碼
- 更新、顯示和刪除用戶
- 在生產環境中使用雲端存儲服務上傳圖片
- 實現帳戶啟用和密碼重設,包括使用 Rails 發送電子郵件
- 添加社交功能和微博,包括 Ajax 簡介
- 使用 Git 記錄版本更改,並在 Bitbucket 創建安全的遠程存儲庫
- 使用 Heroku 提前且經常部署應用程式