Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

6.5. Summary

Wow, we covered a lot in this chapter! Hopefully you’re still with us and managed to follow along for the duration. This chapter should have given you a good insight into how Lift differs from other frameworks and how you can go about implementing common operations in Lift, from the aspects of templating, through to making complex multiscreen forms. Ultimately, Lift is a rich infrastructure for doing many things, and these are just some of the items that are important to cover.

In this chapter, you’ve seen how to utilize Lift’s built-in snippets to perform common operations, and you’ve seen when and where the different types of snippets should be used when designing your own applications. Snippets can come in many different forms, but it’s generally better to use manually wired dispatch snippets when you can, so you have the safety of compile-time checks on the snippet-to-template mapping. You’ve also seen how to make use of session and request variables, right through to using full-blown stateful snippets to retain entire snippet instances for further computation.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial