Agile Web Development with Rails, 2/e

Dave Thomas, David Hansson, Leon Breedt, Mike Clark, James Duncan Davidson, Justin Gehtland, Andreas Schwarz

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2006-12-24
  • 定價: $1,280
  • 售價: 2.3$299
  • 語言: 英文
  • 頁數: 720
  • 裝訂: Paperback
  • ISBN: 0977616630
  • ISBN-13: 9780977616633
  • 相關分類: RubyAgile Software
  • 立即出貨(限量) (庫存=1)

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

商品描述

Description

The definitive, Jolt-award winning guide to learning and using Rails is now in its Second Edition. Rails is a new approach to web-based application development that enables developers to create full-featured, sophisticated web-based applications using less code and less effort. Now programmers can get the job done right and still leave work on time.

NEW IN THE SECOND EDITION: The book has been updated to take advantage of all the new Rails 1.2 features. The sample application uses migrations, Ajax, features a REST interface, and illustrates new Rails features. There are new chapters on migrations, active support, active record, and action controller (including the new resources-based routing). The Web 2.0 and Deployment chapters have been completely rewritten to reflect the latest thinking. Now you can learn which environments are best for your style application, and see how Capistrano makes managing your site simple. All the remaining chapters have been extensively updated. Finally, hundreds of comments from readers of the first edition have been incorporated, making this book simply the best available.

Rails is a full-stack, open-source web framework that enables you to create full-featured, sophisticated web-based applications with a twist...you can create a full Rails application using less code than the setup XML you'd need just to configure some other frameworks.

With this book, you'll learn how to use Rails Active Record to connect business objects and database tables. No more painful object-relational mapping. Just create your business objects and let Rails do the rest. You'll learn how to use the Action Pack framework to route incoming requests and render pages using easy-to-write templates and components. See how to exploit the Rails service frameworks to send emails, talk to web services, and interact dynamically with Javascript applications running in the browser (the "Ajax" architecture).

You'll see how easy it is to deploy Rails. You'll be writing applications that work with your favorite database (MySQL, Oracle, Postgres, and more) in no time at all.

 

商品描述(中文翻譯)

描述

學習和使用Rails的權威指南,該書獲得了Jolt獎,現在已經出版第二版。Rails是一種新的基於網絡的應用程序開發方法,使開發人員能夠使用更少的代碼和更少的努力創建功能齊全、複雜的網絡應用程序。現在,程序員可以正確完成工作,並且還能按時下班。

第二版的新功能:該書已經更新,以充分利用所有新的Rails 1.2功能。示例應用程序使用遷移、Ajax,具有REST接口,並展示了新的Rails功能。新增了有關遷移、活動支持、活動記錄和操作控制器(包括基於資源的新路由)的章節。Web 2.0和部署章節已經完全重寫,以反映最新的思想。現在,您可以了解哪些環境最適合您的應用程序風格,並了解Capistrano如何使您的網站管理變得簡單。所有其餘章節都已經廣泛更新。最後,將讀者對第一版的數百條評論納入其中,使本書成為最好的選擇。

Rails是一個全棧、開源的Web框架,使您能夠使用比配置其他框架所需的設置XML更少的代碼創建功能齊全、複雜的網絡應用程序。

通過本書,您將學習如何使用Rails Active Record來連接業務對象和數據庫表。不再需要痛苦的對象關係映射。只需創建您的業務對象,讓Rails完成其餘工作。您將學習如何使用Action Pack框架來路由傳入請求並使用易於編寫的模板和組件呈現頁面。了解如何利用Rails服務框架來發送電子郵件、與Web服務對話,以及與在瀏覽器中運行的JavaScript應用程序('Ajax'架構)動態交互。

您將看到部署Rails有多麼簡單。您將很快就能夠編寫與您喜歡的數據庫(MySQL、Oracle、Postgres等)一起使用的應用程序。