Rails for PHP Developers
暫譯: PHP 開發者的 Rails 入門指南

Derek DeVries, Mike Naberezny

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2008-02-21
  • 定價: $1,290
  • 售價: 1.5$199
  • 語言: 英文
  • 頁數: 430
  • 裝訂: Paperback
  • ISBN: 1934356042
  • ISBN-13: 9781934356043
  • 相關分類: PHPRuby
  • 立即出貨 (庫存 < 4)

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

相關主題

商品描述

As a PHP developer, you have some great tools for developing web applications. Ruby on Rails is another key tool to add to your web development toolbox. Rails is a high-level web development framework that emphasizes high productivity and clean code. However, the Ruby language and Rails framework take a different approach from the way many PHP developers write applications.

Ruby lies at the foundation of Rails, and we'll teach you the Ruby language from the beginning by building on your existing foundation of PHP. We'll explore Ruby through parallel code examples that illustrate the differences between the languages, and help you understand the Ruby idioms and how they differ from popular PHP code and style.

You'll then learn the Rails framework by iteratively building a complete application, starting from the home page through to a finished product. Along the way, you'll build your skills as a Rails developer by learning the Rails fundamentals such as MVC structure, domain modeling, and testing.

In addition to serving as a guide to learning both Ruby and Rails from a PHP developer's perspective, this book includes two extensive reference chapters. They map the most common PHP tasks to their equivalents in the Ruby and Rails world, giving you at-a-glance information that you'll refer to often.

商品描述(中文翻譯)

作為一名 PHP 開發者,您擁有一些優秀的工具來開發網頁應用程式。Ruby on Rails 是另一個關鍵工具,可以加入您的網頁開發工具箱。Rails 是一個高階的網頁開發框架,強調高生產力和乾淨的程式碼。然而,Ruby 語言和 Rails 框架採取的方式與許多 PHP 開發者撰寫應用程式的方式有所不同。

Ruby 是 Rails 的基礎,我們將從頭開始教您 Ruby 語言,並以您現有的 PHP 基礎為基礎。我們將通過平行的程式碼範例來探索 Ruby,這些範例將說明兩種語言之間的差異,並幫助您理解 Ruby 的慣用語及其與流行的 PHP 程式碼和風格的不同之處。

接著,您將通過逐步構建一個完整的應用程式來學習 Rails 框架,從首頁開始,直到完成產品。在這個過程中,您將通過學習 Rails 的基本概念,如 MVC 結構、領域建模和測試,來提升作為 Rails 開發者的技能。

除了從 PHP 開發者的角度作為學習 Ruby 和 Rails 的指南外,本書還包括兩個廣泛的參考章節。這些章節將最常見的 PHP 任務對應到 Ruby 和 Rails 世界中的等效任務,為您提供一目了然的信息,您將經常參考這些內容。