Previous: Chapter
Up: Main page
Next: Chapter 1
Part I.
The Basics
Contents for Part I
Chapter 1: Welcome to Lift!
Section 1.1: Why Lift?
Section 1.2: What You Should Know before Starting
Section 1.3: Typographical Conventions
Section 1.4: For More Information about Lift
Section 1.5: Your First Lift Application
Chapter 2: PocketChange
Section 2.1: Defining the Model
Section 2.2: Our First Template
Section 2.3: Writing Snippets
Section 2.4: A Little AJAX Spice
Section 2.5: Conclusion
Chapter 3: Lift Fundamentals
Section 3.1: Entry into Lift
Section 3.2: Bootstrap
Subsection 3.2.1: Class Resolution
Section 3.3: A Note on Standard Imports
Section 3.4: Lift’s Main Objects
Subsection 3.4.1: S object
Subsection 3.4.2: SHtml
Subsection 3.4.3: LiftRules
Section 3.5: The Rendering Process
Section 3.6: Notices, Warnings, and Error Messages
Section 3.7: URL Rewriting
Section 3.8: Custom Dispatch Functions
Section 3.9: HTTP Redirects
Section 3.10: Cookies
Section 3.11: Session and Request State
Section 3.12: Conclusion
Chapter 4: Templates in Lift
Section 4.1: Template XML
Subsection 4.1.1: Locating Template XML
Subsection 4.1.2: Processing Template XML
Section 4.2: Designer-Friendly Templates
Subsection 4.2.1: Determining the Content Element
Subsection 4.2.2: Invoking Snippets Via the Class Attribute
Subsection 4.2.3: Binding via CSS transforms
Section 4.3: HTML5 Support
Section 4.4: Views
Section 4.5: Tags
Subsection 4.5.1: a
Subsection 4.5.2: bind
Subsection 4.5.3: bind-at
Subsection 4.5.4: children
Subsection 4.5.5: comet
Subsection 4.5.6: CSS
Subsection 4.5.7: embed
Subsection 4.5.8: form
Subsection 4.5.9: HTML5
Subsection 4.5.10: ignore
Subsection 4.5.11: lazy-load
Subsection 4.5.12: loc
Subsection 4.5.13: Menu
Subsection 4.5.14: Msgs
Subsection 4.5.15: SkipDocType
Subsection 4.5.16: snippet
Subsection 4.5.17: surround
Subsection 4.5.18: tail
Subsection 4.5.19: TestCond
Subsection 4.5.20: with-param
Subsection 4.5.21: with-resource-id
Subsection 4.5.22: VersionInfo
Subsection 4.5.23: XmlGroup
Section 4.6: Head and Tail Merge
Section 4.7: Binding
Chapter 5: Snippets
Section 5.1: The Snippet Tag
Section 5.2: Snippet Dispatch
Subsection 5.2.1: Implicit Dispatch Via Reflection
Subsection 5.2.2: Explicit Dispatch
Subsection 5.2.3: Per-request Remapping
Section 5.3: Snippet Methods
Subsection 5.3.1: Binding Values in Snippets
Subsection 5.3.2: CSS Selector Transforms
Subsection 5.3.3: Stateless versus Stateful Snippets
Subsection 5.3.4: Eager Evaluation
Section 5.4: Handling XHTML Attributes in Snippets
Subsection 5.4.1: Direct Manipulation in Code
Subsection 5.4.2: XHTML Attribute Pass-through
Chapter 6: Forms in Lift
Section 6.1: Form Fundamentals
Section 6.2: Attributes for Form Elements
Section 6.3: An Overview of Form Elements
Subsection 6.3.1: checkbox
Subsection 6.3.2: hidden
Subsection 6.3.3: link
Subsection 6.3.4: text and password
Subsection 6.3.5: textarea
Subsection 6.3.6: submit
Subsection 6.3.7: multiselect
Subsection 6.3.8: radio
Subsection 6.3.9: select
Subsection 6.3.10: selectObj
Subsection 6.3.11: untrustedSelect
Section 6.4: File Uploads
Chapter 7: SiteMap
Section 7.1: Basic SiteMap Definition
Subsection 7.1.1: The Link Class
Subsection 7.1.2: ExtLink
Subsection 7.1.3: Creating Menu Entries
Subsection 7.1.4: Nested Menus
Subsection 7.1.5: Setting the Global SiteMap
Section 7.2: Customizing Display
Subsection 7.2.1: Hidden
Subsection 7.2.2: Controlling the Menu Text
Subsection 7.2.3: Using <lift:Menu>
Section 7.3: Access Control
Subsection 7.3.1: If
Subsection 7.3.2: Unless
Section 7.4: Page-Specific Rendering
Subsection 7.4.1: The Template Parameter
Subsection 7.4.2: The Snippet and LocSnippets Parameters
Subsection 7.4.3: Title
Section 7.5: Miscellaneous Menu Functionality
Subsection 7.5.1: Test
Subsection 7.5.2: LocGroup
Section 7.6: Writing Your Own Loc
Subsection 7.6.1: Corresponding Functions
Subsection 7.6.2: Type Safe Parameters
Subsection 7.6.3: Dynamically Adding Child Menus
Subsection 7.6.4: Binding Your Custom Loc
Section 7.7: Conclusion
Chapter 8: The Mapper and Record Frameworks
Section 8.1: Introduction to Mapper and MetaMapper
Subsection 8.1.1: Adding Mapper to Your Project
Subsection 8.1.2: Setting Up the Database Connection
Subsection 8.1.3: Constructing a Mapper-enabled Class
Subsection 8.1.4: Object Relationships
Subsection 8.1.5: Indexing
Subsection 8.1.6: Schema Mapping
Subsection 8.1.7: Persistence Operations on an Entity
Subsection 8.1.8: Querying for Entities
Subsection 8.1.9: Comparison QueryParams
Subsection 8.1.10: Control QueryParams
Subsection 8.1.11: Making Joins a Little Friendlier
Section 8.2: Utility Functionality
Subsection 8.2.1: Display Generation
Subsection 8.2.2: Form Generation
Subsection 8.2.3: Validation
Subsection 8.2.4: CRUD Support
Subsection 8.2.5: Lifecycle Callbacks
Subsection 8.2.6: Base Field Types
Subsection 8.2.7: Defining Custom Field Types in Mapper
Subsection 8.2.8: ProtoUser and MegaProtoUser
Section 8.3: Advanced Features
Subsection 8.3.1: Using Multiple Databases
Subsection 8.3.2: Database Sharding
Subsection 8.3.3: SQL-based Queries
Section 8.4: Logging
Section 8.5: Summary
Previous: Chapter
Up: Main page
Next: Chapter 1
(C) 2012 Lift 2.0 EditionWritten by Derek Chen-Becker, Marius Danciu and Tyler Weir