Skip to content

Bhashit/liftweb-async-snippet-sample

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
sbt
 
 
 
 

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.

About

Example project for a blog-post I wrote. It shows a clean and general purpose solution for async rendering in Liftweb 2.6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published