Rails for PHP Developers

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的基礎,我們將通過在現有的PHP基礎上進一步建立,教您Ruby語言。我們將通過平行的代碼示例來探索Ruby,這些示例說明了兩種語言之間的差異,並幫助您理解Ruby的慣用語和它們與流行的PHP代碼和風格的不同之處。

然後,您將通過逐步構建一個完整的應用程序來學習Rails框架,從首頁到最終產品。在此過程中,您將通過學習Rails的基礎知識,如MVC結構、領域建模和測試,來提升自己作為Rails開發者的技能。

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