Lift Cookbook
Author | : Richard Dallaway |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 256 |
Release | : 2013-06-24 |
ISBN-10 | : 9781449365073 |
ISBN-13 | : 1449365078 |
Rating | : 4/5 (73 Downloads) |
Book excerpt: Annotation If you need help building web applications with the Lift framework, this cookbook provides scores of concise, ready-to-use code solutions. Youll 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 differentyet ultimately easierapproach 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 applicationGenerate HTML, using Lifts View First approachSubmit forms and work with form elementsBuild REST web services with the frameworks RestHelper traitTake advantage of Lifts support for Ajax and CometGet examples for modifying Lifts request pipelineConvert Scala classes into tables, rows, and columns in a relational databaseSend email, call URLs, and schedule tasks from your applicationPackage and deploy your application to various hosted services.