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!
CRUD is an acronym for the four basic functions performed to databases and persistent storage, and it stands for Create, Read, Update, and Destroy.
To demonstrate how the
CRUDify trait works, we will ...