Diagram of common before and after hooks

8 views
Skip to first unread message

mltsy

unread,
Jan 24, 2012, 4:07:34 PM1/24/12
to DataMapper
Hey all,

I've created a loose flow chart diagram illustrating when before and
after hooks actually get fired for save, create, update and destroy
(and valid? when it's implemented), and how all the crud methods
relate. I think it could be very useful for newcomers to DataMapper
(it took me a long time to understand).

https://www.lucidchart.com/documents/view#4307-531c-4f1f159f-ace0-1ca90a7a4df5?branch=9cd86b38-93fa-4432-ac0d-b351706819de

I'd love any advice on how to improve/correct it, and also any ideas
about a good place to publish it as a link, PDF or image. I thought
about posting a link in the Wiki for dm-core, but that's supposedly
mainly for contributors, not users.

Well, here's one place it can hopefully help someone ;)
Reply all
Reply to author
Forward
0 new messages