Lift Cookbook (Paperback)

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程式語言之上的,它與Rails等MVC框架採取不同但更簡單的開發方式。本書中的每個食譜都包含了解每個解決方案如何以及為何運作的討論,不僅幫助您完成手頭的任務,還能說明Lift的運作方式。

以下是本書中的一些範例:
- 建立環境並執行您的第一個Lift應用程式
- 使用Lift的View First方法生成HTML
- 提交表單並處理表單元素
- 使用框架的RestHelper特性建立REST網路服務
- 利用Lift對Ajax和Comet的支援
- 修改Lift的請求管道的範例
- 將Scala類別轉換為關聯式資料庫中的表格、列和欄位
- 從應用程式中發送電子郵件、呼叫URL並安排任務
- 將應用程式打包並部署到各種託管服務中

以上是本書的內容概述,提供了豐富的範例和解決方案,幫助您在使用Lift框架開發網頁應用程式時更加得心應手。