售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Lift Application Development Cookbook
Table of Contents
Lift Application Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Lift Basics
Introduction
Creating a Lift application using SBT
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a Lift application using Maven
Getting ready
How to do it...
How it works...
See also
Defining a SiteMap
Getting ready
How to do it...
How it works...
There's more...
See also
Logging using logback
Getting ready
How to do it...
How it works...
There's more...
See also
Sending e-mails using Gmail's SMTP server
Getting ready
How to do it...
How it works...
There's more...
See also
2. Working with HTML
Introduction
Transforming HTML elements using their IDs
Getting ready
How to do it...
How it works...
See also
Creating an HTML list using CSS selectors
Getting ready
How to do it...
How it works...
There's more...
See also
Creating an HTML table with dynamically defined columns
Getting ready
How to do it...
How it works...
See also
Nesting snippets
Getting ready
How to do it...
How it works...
See also
Dynamic menu rendering
Getting ready
How to do it...
How it works...
See also
Localizing templates
Getting ready
How to do it...
How it works...
There's more...
See also
Testing snippets using Specs2
Getting ready
How to do it...
How it works...
There's more...
See also
Creating custom error pages
Getting ready
How to do it...
How it works...
There's more...
Sending JavaScript commands from the server
Getting ready
How to do it...
How it works...
There's more...
See also
Invoking server-side functions from the client
Getting ready
How to do it...
How it works...
See also
3. Working with Forms
Introduction
Creating forms
Getting ready
How to do it...
How it works...
There's more...
See also
Validating forms
Getting ready
How to do it...
How it works...
There's more...
Creating an Ajax form
Getting ready
How to do it...
How it works...
There's more...
Creating multipage forms
Getting ready
How to do it...
How it works...
There's more...
See also
Defining a relation between form fields
Getting ready
How to do it...
How it works...
There's more...
4. Working with REST
Introduction
Getting data from the server
Getting ready
How to do it...
How it works...
There's more...
Creating data using the REST service
Getting ready
How to do it...
How it works...
There's more...
See also
Modifying data using the REST service
Getting ready
How to do it...
How it works...
Deleting data using the REST service
Getting ready
How to do it...
How it works...
Testing a REST service using Specs2
Getting ready
How to do it...
How it works...
There's more...
See also
Uploading a file using the REST service
Getting ready
How to do it...
How it works...
Creating an RSS feed
Getting ready
How to do it...
How it works...
See also
5. Working with Databases
Introduction
Configuring a connection to database
Getting ready
How to do it...
How it works...
There's more...
See also...
Mapping a table to a Scala class
Getting ready
How to do it...
How it works...
There's more...
See also...
Creating one-to-many relationships
Getting ready
How to do it...
How it works...
See also...
Creating many-to-many relationships
Getting ready
How to do it...
How it works...
See also...
Creating CRUD features with CRUDify
Getting ready
How to do it...
How it works...
There's more...
Paginating result sets
Getting ready
How to do it...
How it works...
There's more...
Using an in-memory database in application tests
Getting ready
How to do it...
How it works...
There's more...
6. Working with Record
Introduction
Configuring a connection to a database using Squeryl
Getting ready
How to do it...
How it works...
There's more...
See also
Mapping a table to a Scala class
Getting ready
How to do it...
How it works...
There's more...
See also
Migrating the database using Liquibase
Getting ready...
How to do it...
How it works...
See also
Creating one-to-many relationships
Getting ready
How to do it...
How it works...
Creating many-to-many relationships
Getting ready
How to do it...
How it works...
Paginating result sets using Record
Getting ready
How to do it...
How it works...
See also
Testing your application using an in-memory database
Getting ready
How to do it...
How it works...
See also
7. Working with MongoDB
Introduction
Connecting to MongoDB using record
Getting ready
How to do it...
How it works...
Mapping a MongoDB collection to a Scala class
Getting ready
How to do it...
How it works...
See also
Mapping embedded objects
Getting ready
How to do it...
How it works...
There's more...
See also
Mapping referenced objects
Getting ready
How to do it...
How it works...
See also...
Querying with Rogue
Getting ready
How to do it...
How it works...
See also...
8. Integrating Lift with Social Media
Introduction
Signing up using a Facebook account
Getting ready
How to do it...
How it works...
There's more...
See also...
Fetching a user's Facebook data
Getting ready
How to do it...
How it works...
See also...
Signing up using a Gmail account
Getting ready
How to do it...
How it works...
See also...
Fetching a user's Gmail data
Getting ready
How to do it...
How it works...
See also...
Signing up using a LinkedIn account
Getting ready
How to do it...
How it works...
See also...
Fetching a user's LinkedIn data
Getting ready
How to do it...
How it works...
Signing up using a Twitter account
Getting ready
How to do it...
How it works...
See also...
Fetching a user's Twitter data
Getting ready
How to do it...
How it works...
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜