Rails Solutions: Ruby on Rails Made Easy

Justin Williams

  • 出版商: Friends of Ed
  • 出版日期: 2007-01-24
  • 定價: $1,190
  • 售價: 5.0$595
  • 語言: 英文
  • 頁數: 268
  • 裝訂: Paperback
  • ISBN: 1590597524
  • ISBN-13: 9781590597521
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=2)

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

商品描述

Description

In this book you’ll learn:

  • How to develop web applications quickly and easily with the Ruby on Rails framework
  • The basics of programming principles and Ruby syntax, so you can begin to understand what’s going on under the hood
  • How to implement must-have web application features, such as user accounts, data validation, sending e-mail, image uploading, and more
  • How to use Ajax techniques with Rails and when not to use them
  • How to implement other Web 2.0 features in Rails, such as tag clouds and microformats

If you’re a web designer or developer who thinks that the coding involved in developing dynamic web applications is too difficult, think again. This book, and the framework it covers, is the perfect solution to your needs. Ruby on Rails provides an easy-to-use method for quickly developing web applications, simplifying potentially complicated subjects such as web architecture, JavaScript, and SQL/database creation. The simplicity of Rails belies its power, though—this technology is used by major companies such as 37Signals and Google.

The book provides an introduction to Ruby on Rails with the web designer in mind. Instead of focusing on the intricate syntax of each method, the book focuses on the tasks you’ll want to perform on your website and then walks you through how to implement that functionality with Rails. Design and usability are kept in mind throughout, ensuring that your site both looks and works great.

The book begins by covering how to set up your computer as a Rails development environment (including the MySQL database) and then follows with an introduction to Ruby and the basics of the Rails framework. Next, you are taken through several practical examples that work together to build up a complete modern web application, covering essential and useful website features such as user login, adding and editing data, data validation, image uploading, and much more. The book even covers more-advanced Rails topics such as the Rails test suite, plug-ins and components, debugging techniques, and deploying your web applications using Capistrano.

 

Table of Contents

  • Chapter 1: Introduction to Ruby on Rails
  • Chapter 2: Installing Rails
  • Chapter 3: Ruby for Rails Developers
  • Chapter 4: Getting Started with Rails
  • Chapter 5: More Advanced Rails
  • Chapter 6: Formatting Data
  • Chapter 7: Introduction to Ajax
  • Chapter 8: Bringing Forms to Life with Ajax
  • Chapter 9: Uploading Files and Sending Attachments
  • Chapter 10: User Authentication and Session Management
  • Chapter 11: Customizing Rails Views
  • Chapter 12: Using Rails Plug-ins and Engines
  • Chapter 13: Deploying with Capistrano
  • Appendix A: Caching Your Content
  • Appendix B: Testing Rails

商品描述(中文翻譯)

描述

本書將教你:

- 如何使用Ruby on Rails框架快速輕鬆地開發網頁應用程式
- 程式設計原則和Ruby語法的基礎,讓你能夠理解底層的運作原理
- 如何實現必備的網頁應用程式功能,例如使用者帳戶、資料驗證、寄送電子郵件、圖片上傳等
- 如何在Rails中使用Ajax技術,以及何時不應使用它們
- 如何在Rails中實現其他Web 2.0功能,例如標籤雲和微格式

如果你是一位認為開發動態網頁應用程式所需的編碼過於困難的網頁設計師或開發人員,那麼請重新考慮。本書及其所涵蓋的框架是滿足你需求的完美解決方案。Ruby on Rails提供了一種易於使用的方法,快速開發網頁應用程式,簡化了可能複雜的主題,如網頁架構、JavaScript和SQL/資料庫建立。然而,Rails的簡單性掩蓋了其強大性,這項技術被37Signals和Google等大公司使用。

本書針對網頁設計師介紹了Ruby on Rails。與其專注於每個方法的複雜語法不同,本書專注於你想在網站上執行的任務,然後指導你如何使用Rails實現該功能。設計和可用性貫穿始終,確保你的網站既美觀又功能完善。

本書首先介紹如何將你的電腦設置為Rails開發環境(包括MySQL資料庫),然後介紹Ruby和Rails框架的基礎知識。接下來,你將通過幾個實際示例一起建立一個完整的現代網頁應用程式,涵蓋了必要和有用的網站功能,如使用者登錄、添加和編輯資料、資料驗證、圖片上傳等。本書還涵蓋了更高級的Rails主題,如Rails測試套件、插件和組件、調試技術以及使用Capistrano部署網頁應用程式。

目錄

- 第1章:Ruby on Rails簡介
- 第2章:安裝Rails
- 第3章:針對Rails開發人員的Ruby
- 第4章:開始使用Rails
- 第5章:更高級的Rails