Example project for a blog-post I wrote. It shows a clean and general purpose solution for async rendering in Liftweb 2.6
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src
.gitignore
README.md
build.sbt
lift_proto.db.lock.db
lift_proto.db.mv.db
sbt
sbt-launch-0.13.8.jar
sbt.bat

README.md

An example liftweb app for async snippets

This is sample code for a blog-post I wrote here

This is just a demo app that was developed using Lift 2.6 Final release, with one of the stock templates named 'lift_advanced_bs3' that comes with the downloads.

The app is a demo for rendering snippets in liftweb where you need to deal with Futures, but don't want to use blocking code.

The code contains enough comments, and should be self-explanatory.

Running The Code

This is standard Liftweb app, and can be run like any other such app.

  1. Clone the repo: git clone git@github.com:Bhashit/liftweb-async-snippet-sample.git
  2. cd liftweb-async-snippet-sample
  3. ./sbt
  4. container:start

The app will be running at localhost:8080.