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 ...

Get Lift in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.