Lift Tutorials
From LiftWiki
Contents |
Setup Environment
Dev
- IDEs
- Eclipse (Plugin)
- Netbeans (Plugin, Blog/screenshots)
- IDEA (Plugin)
- Editors
- SetUp_jEdit
- Emacs (scala-mode.el distributed with Scala)
- Set up tags with Vim
- Others
Requirements
While not necessarily requirements of using /lift/, the following HowTo sections assume the following software is installed on the development machines:
- Java 5+ (1.5+) (http://java.sun.com)
- Maven 2.0.8 or higher (http://maven.apache.org) + Maven_Mini_Guide
Scala or Jetty don't need to be installed for the tutorials. Maven manage Scala and Jetty through plugins.
HowTo ?
- HowTo get/store data in session
- HowTo set response data
- HowTo generate binary data (pdf, image,...)
- HowTo hook into the lift's request processing cycle
- HowTo create simple controls
- HowTo use redirect with state
- HowTo to dynamically *fix* CSS resources
- HowTo configure logging
Getting Started
- HowTo run examples
- HowTo Making changes to the samples
- HowTo use maven for lift's user
- HowTo use maven archetypes
- HowTo start a new liftwebapp
- How to set up jEdit
- How to set up tags with Vim
Templating
The Site Map
Clientside
Forms
- HowTo use JSON forms
- HowTo handle form (basic) : see Hello Darwin#add form
- HowTo get data from request : see Hello Darwin#add form
Web Services
Database
- HowTo create a basic CRUD
- HowTo integrate the jQuery TableSorter
- HowTo setup composite keys
- HowTo configure lift with MySQL
- How to configure lift with PostgreSQL
- HowTo Log DB queries
- HowTo configure a JNDI data source for lift and Jetty
- HowTo configure a JNDI data source for lift and Tomcat
Failing Gracefully
Localization
Documentation
Lift by examples
- Hello Darwin
- Using eclipse hotdeploy
- Hello1 (this is a "bare metal" example that doesn't reflect how easy lift is to use, but is helpful for people who want to see how to hand-roll their own configuration files.)
- CookBook
How Lift works
User diaries
Third part integration
Hibernate
- Lift_and_JPA_(javax.persistence) Lift and JPA (javax.persistence)
- More Hibernate In Scala: Annotations versus external XML versus inline XML by Steve Yen (jan 2008)
- Hibernate with Scala by Frank Sommers (jan 2008)
- More Scala with Hibernate by Matt Hellige (oct 2007)
- lucene
- ??? (your favorite lib)
Db4o
- LiftYourDb4o Sample Application using Db4o and Lift
Liftweb planet
Java Script integration in Lift
LiftWeb framework provide and excellent support for building Java Script expressions on server side via Scala code. Please see JsExp, JsCmd from net.liftweb.http.js package.
LiftWeb widgets
LiftWeb framework contains a separate project lift-widgets that holds various widgets to be used out of the box. This is an incremental effort of building rich web components a.k.a widgets that can be used out of the box.

