Lift Cookbook: Recipes from the Community for Building Web Applications with Scala

· "O'Reilly Media, Inc."
Ebook
256
Pages
Eligible

About this ebook

If you need help building web applications with the Lift framework, this cookbook provides scores of concise, ready-to-use code solutions. You’ll find recipes for everything from setting up a coding environment to creating REST web services and deploying your application to production.

Built on top of the Scala JVM programming language, Lift takes a different—yet ultimately easier—approach to development than MVC frameworks such as Rails. Each recipe in this book includes a discussion of how and why each solution works, not only to help you complete the task at hand, but also to illustrate how Lift works.

  • Set up an environment and run your first Lift application
  • Generate HTML, using Lift’s View First approach
  • Submit forms and work with form elements
  • Build REST web services with the framework’s RestHelper trait
  • Take advantage of Lift’s support for Ajax and Comet
  • Get examples for modifying Lift’s request pipeline
  • Convert Scala classes into tables, rows, and columns in a relational database
  • Send email, call URLs, and schedule tasks from your application
  • Package and deploy your application to various hosted services

About the author

Richard Dallaway is a partner at Underscore Consulting, working on client software projects. He's a Lift committer, where he has focused on the module system. Prior to Underscore, Richard gained his PhD from the School of Cognitive Science at the University of Sussex, worked on machine learning projects, before moving to consultancy and software engineering. He lives with his wife and one small terrier in Brighton, UK.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.