PHP Classes

eg of usage ?

Recommend this page to a friend!

      PHP Event Mediator  >  All threads  >  eg of usage ?  >  (Un) Subscribe thread alerts  
Subject:eg of usage ?
Summary:eg of usage ?
Messages:5
Author:Andrzej
Date:2016-02-10 13:05:47
 

  1. eg of usage ?   Reply   Report abuse  
Picture of Andrzej Andrzej - 2016-02-10 13:05:47
eg of usage ?

  2. Re: eg of usage ?   Reply   Report abuse  
Picture of Michael Cummings Michael Cummings - 2016-02-11 00:47:01 - In reply to message 1 from Andrzej
I'm working on a future blog post on how to use Event Mediator but if you want a live example where I'm using it you can look at my Yapeal-ng project on Github.

github.com/Yapeal/yapeal-ng

I extend Mediator to use it with my logging and the main processing dispatcher system which passes around a wrapper class for a complex third party XML API object so it can be processed in my app from the raw XML into inserts for a database with full transforming, validating and caching of the XML along the way. Just look in lib/Event/ directory for the extended class and the trait that I use as well for emitting (triggering) the events.

  3. Re: eg of usage ?   Reply   Report abuse  
Picture of Michael Cummings Michael Cummings - 2016-02-16 22:59:25 - In reply to message 1 from Andrzej
I've started writing some documentation have a look in docs/. There's also link from the updated README.md now as well. Comments and suggestions welcome as always if they aren't clear. I'll probably do a blog post as well but mostly just to point people to the docs.

  4. Re: eg of usage ?   Reply   Report abuse  
Picture of Andrzej Andrzej - 2016-02-16 23:48:10 - In reply to message 3 from Michael Cummings
nice thanks i'm looking...

  5. Re: eg of usage ?   Reply   Report abuse  
Picture of Andrzej Andrzej - 2016-02-16 23:51:02 - In reply to message 3 from Michael Cummings
yup gr8 i think about exactly docs like u attach ! thank you very much ill try use ur lib!