stephanfx — 2012-01-10T02:47:41-05:00 — #1
I am looking to add this pattern to a db table. I looked at the code but i noticed an observer.php in the codebase, which is basically the same as the event.php but it has some differences. My question is which one is correct? which is will be better to implement. Personally i like the observer.php one more.
molona — 2012-01-10T04:50:06-05:00 — #2
Well, if you want to save the information, then you need it... event.php doesn't have any code for saving data whereas observer.php does have it. Since you're talking about db... I assume that you want to keep the information in your database that is, save it
I have read the book but haven't had the time to go through it properly but that's the main difference I see between both.
system — 2014-10-07T21:45:11-04:00 — #3
This topic is now closed. New replies are no longer allowed.