I am going over the book with grep. The problems are these: 1) crud checks permission, SQLFORM does not. 2) crud is used in welcome 3) in chapter 13 we say plugins can rely on crud.
So on a second thought we cannot easily remove it form the book. I will remove some examples to avoid using crud. I will provide examples of how to enforce permissions with SQLFORM without using crud. I add a notice at the beginning of the crud chapter to suggest using SQLFORM instead of crud. We cannot remove it from welcome app because plugins require it. Therefore we cannot remove it from book quote yet. I am not too happy about this but I cannot think of a better solution. Massimo On Saturday, 22 December 2012 13:48:39 UTC-6, Jonathan Lundell wrote: > > On 22 Dec 2012, at 11:44 AM, Massimo Di Pierro > <massimo....@gmail.com<javascript:>> > wrote: > > I am finishing up the book 5th edition. I was to remove every mention of > the crud API. Almost all of the functionality has been moved into > SQLFORM(...).process(). The latter is in fact better. The crud code has not > been updated in long time and should be deprecated. > > The code will stay and we are not breaking it. > > Should we remove it form the book completely or simply leave the chapter > and mark is as "reprecated". > > > If we mark it deprecated, we should define (in the book) exactly what we > mean by that. > --