top | item 9073411 (no title) whatthemick | 11 years ago Neither Sequelize nor Bookshelf has persistence ignorance as far as i know. discuss order hn newest mackwic|11 years ago Ok, after a lookup, "persistence ignorance" is the ability to have implicit save of the models when things change.Bookshelf has events, which make very easy to wire some kind of persistence ignorance (we implement it in our base Model class). whatthemick|11 years ago I would expect those events to be triggered by action though, then it wouldn't be persistence ignorance. load replies (1)
mackwic|11 years ago Ok, after a lookup, "persistence ignorance" is the ability to have implicit save of the models when things change.Bookshelf has events, which make very easy to wire some kind of persistence ignorance (we implement it in our base Model class). whatthemick|11 years ago I would expect those events to be triggered by action though, then it wouldn't be persistence ignorance. load replies (1)
whatthemick|11 years ago I would expect those events to be triggered by action though, then it wouldn't be persistence ignorance. load replies (1)
mackwic|11 years ago
Bookshelf has events, which make very easy to wire some kind of persistence ignorance (we implement it in our base Model class).
whatthemick|11 years ago