Page 1 of 1
Events in PHP
Posted: Tue Oct 13, 2015 1:15 pm
by gautamz07
I never knew something called events existed in PHP , just saw it HERE
https://github.com/PhileCMS/Phile/wiki/ ... ent-System , is it a fundamental concept to understand in PHP ? , are EVENTS really important in php ?
Re: Events in PHP
Posted: Tue Oct 13, 2015 1:44 pm
by Celauran
Looks like you've just encountered the
observer pattern. It's not something that exists in PHP per se, but rather a pattern that can be implemented. If you're interested in learning more about design patterns, I recommend giving the so-called Gang of Four book a read:
http://www.amazon.com/Design-Patterns-E ... B000SEIBB8
Re: Events in PHP
Posted: Tue Oct 13, 2015 2:36 pm
by gautamz07
Ohhh yesss , heard alot about that pattern ! and want to learn it too

, will google and see what i can find , will save the book for a future read
