Lift Cookbook (Paperback)
暫譯: Lift 食譜 (平裝本)

Richard Dallaway

  • 出版商: O'Reilly
  • 出版日期: 2013-08-06
  • 定價: $825
  • 售價: 8.0$660
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1449362680
  • ISBN-13: 9781449362683
  • 相關分類: JVM 語言
  • 立即出貨 (庫存 < 3)

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

商品描述

If you need help building web applications with the Lift framework, this cookbook provides scores of concise, ready-to-use code solutions. You’ll find recipes for everything from setting up a coding environment to creating REST web services and deploying your application to production.

Built on top of the Scala JVM programming language, Lift takes a different—yet ultimately easier—approach to development than MVC frameworks such as Rails. Each recipe in this book includes a discussion of how and why each solution works, not only to help you complete the task at hand, but also to illustrate how Lift works.

  • Set up an environment and run your first Lift application
  • Generate HTML, using Lift’s View First approach
  • Submit forms and work with form elements
  • Build REST web services with the framework’s RestHelper trait
  • Take advantage of Lift’s support for Ajax and Comet
  • Get examples for modifying Lift’s request pipeline
  • Convert Scala classes into tables, rows, and columns in a relational database
  • Send email, call URLs, and schedule tasks from your application
  • Package and deploy your application to various hosted services

商品描述(中文翻譯)

如果您需要幫助使用 Lift 框架構建網頁應用程式,本食譜提供了大量簡潔、隨時可用的程式碼解決方案。您將找到從設置編碼環境到創建 REST 網路服務以及將應用程式部署到生產環境的所有食譜。

Lift 建立在 Scala JVM 程式語言之上,與 MVC 框架(如 Rails)相比,採取了一種不同但最終更簡單的開發方法。本書中的每個食譜都包括了每個解決方案的運作方式和原因的討論,不僅幫助您完成當前任務,還能說明 Lift 的運作原理。

- 設置環境並運行您的第一個 Lift 應用程式
- 使用 Lift 的 View First 方法生成 HTML
- 提交表單並處理表單元素
- 使用框架的 RestHelper 特性構建 REST 網路服務
- 利用 Lift 對 Ajax 和 Comet 的支持
- 獲取修改 Lift 請求管道的範例
- 將 Scala 類轉換為關聯資料庫中的表、行和列
- 從您的應用程式發送電子郵件、調用 URL 和安排任務
- 將您的應用程式打包並部署到各種託管服務