Re: [development] Deletion API hits core
This sounds like a transaction... http://en.wikipedia.org/wiki/Database_transaction Michelle On 6/22/2007 10:23:21 PM, Chad Phillips -- Apartment Lines (chad@apartmentlines.com) wrote: sorry about that. i really wasn't sure what else to call it. i'm happy to pick a better name if it avoids confusion. :) package == 'logical set of deletions that happen together' as in, when you delete a node, you also delete the associated comments, associated revisions, etc. they happen as a logical unit. the API keeps the logical units together, and presents the logical units to the hooks so that outside modules may have a look.
This sounds like a transaction... http://en.wikipedia.org/wiki/ Database_transaction
Part of the reason I committed this patch is because, while it definitely solves some annoyances and adds useful hooks for contrib, it is also subtly the beginning of a transaction API. I think it will be interesting to see the kind of things modules do with it, and like Form API, it will possibly get refactored (Form API 2/3) as well as branch out to other areas (Node/profile rendering arrays). Steven Wittens
participants (2)
-
Michelle Cox -
Steven Wittens