O'Reilly logo

Lift in Action: The Simply Functional Web Framework for Scala by Timothy Perrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Customers, auctions, and bidding

 

This chapter covers

  • Binding queries from snippets
  • Implementing Comet
  • Bidding via AJAX

 

Now that you have the base of the application in place, the next thing to do is construct the frontend so that visiting customers can browse through the auction catalog and access details on any particular auction. By its very nature, an auction is a highly spontaneous affair, so it’s critical to get real-time feedback when other customers bid on the same auction as you, particularly if they placed a higher bid!

These updates will be delivered via Lift’s sophisticated Comet mechanism, so if a competing customer places a higher bid, all the other users viewing that auction will receive a notification telling ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required