Lift Cookbook

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

Table of Contents
Chapter 1. Installing and Running Lift
Chapter 2. HTML
Chapter 3. Forms Processing in Lift
Chapter 4. REST
Chapter 5. JavaScript, Ajax, and Comet
Chapter 6. Request Pipeline
Chapter 7. Relational Database Persistence with Record and Squeryl
Chapter 8. MongoDB Persistence with Record
Chapter 9. Around Lift
Chapter 10. Production Deployment
Chapter 11. Contributing, Bug Reports, and Getting Help

Book Details

  • Paperback: 256 pages
  • Publisher: O’Reilly Media (June 2013)
  • Language: English
  • ISBN-10: 1449362680
  • ISBN-13: 978-1449362683
Download [11.0 MiB]

You may also like...

Leave a Reply