O'Reilly logo

Lift Application Development Cookbook by Gilberto T. Garcia Jr.

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

Creating CRUD features with CRUDify

Another interesting feature offered by Lift is the CRUDify trait. Imagine if there was a way to get your mappings and generate all the pages necessary to perform CRUD operations without you having to manually create them one by one. What I am saying is that, given a mapping, your application will automatically have all the pages needed to perform the CRUD operations. Wouldn't it be nice if we had such a feature? Well, it happens that we do have such a feature, as the CRUDify trait does exactly this!

Note

CRUD is an acronym for the four basic functions performed to databases and persistent storage, and it stands for Create, Read, Update, and Destroy.

Getting ready

To demonstrate how the CRUDify trait works, we will ...

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