contents

preface
acknowledgments
about this book
about the author
about the cover illustration

Part 1 Getting started

Chapter 1 Introducing Lift
What is Scala?
What is Lift?
Lift features
Summary
Chapter 2 Hello Lift
Getting started with SBT
Your first Lift application
Snippets and templating overview
Summary

Part 2 Application tutorial

Chapter 3 The auction application
Application requirements
Template structure
Data models
Scaffolding
Validation
Summary
Chapter 4 Customers, auctions, and bidding
Building an auction catalog
Displaying auctions
Summary
Chapter 5 Shopping basket and checkout
Order creation
Implementing the basket and checkout process
Collecting payment with PayPal
Summary

Part 3 Lift in detail

Chapter 6 Common tasks with Lift WebKit
Templates, snippets, and views
Managing state
Forms with LiftScreen and Wizard
Widgets
Summary
Chapter 7 SiteMap and access control
Menus and locations
Location parameters
Customizing SiteMap
Summary
Chapter 8 HTTP in Lift
HTTP pipeline
URL rewriting
Dispatching and web services
Summary
Chapter 9 AJAX, wiring, and Comet
AJAX
Wiring
Comet
Summary
Chapter 10 Persistence with Mapper
Setting up a database
Interacting with Mapper
Advanced Mapper
Summary
Chapter 11 Persistence with Record
Common Record functionality
Record for relational databases
Record for NoSQL stores
Summary
Chapter 12 Localization
Implementing localization
Defining localized resources
Summary
Chapter 13 Distributed messaging and Java enterprise integration
Distributed programming
Integrating Lift into existing Java infrastructure
Summary
Chapter 14 Application testing
Scala testing frameworks
Writing testable code
Testing strategies
Summary
Chapter 15 Deployment and scaling
Choosing a servlet container
Handling state
Choosing a configuration
Deployment tools and techniques
Case studies
Summary
appendix A Introduction to Scala
appendix B Configuring an IDE
appendix C Options and boxes
                    index