New: psr14All contenthive-129948hive-196917krzzanhive-183959steemhive-150122hive-185836hive-180932hive-183397hive-101145hive-144064photographyuncommonlabhive-166405hive-188619hive-184714bitcoinhive-145157hive-103599krsuccesshive-180301hive-193637hive-193186hive-179660TrendingNewHotLikerscrell (53)in php • 6 years agoI was wrong about PSR-11Back in January 2017, the PHP Framework Interoperability Group (FIG) reviewed and passed PSR-11 , the "Container Interface" specification. It was a very simplistic 2-method interface for…crell (53)in php • 6 years agoPSR-14: Example - layered cachingSo far we've looked at a number of complete, practical examples of using PSR-14 Events in various ways, both conventional and unconventional. In our final (probably) installment, I want to…crell (53)in php • 6 years agoPSR-14: Example - PSR-14 in a non-blocking application serverWe continue our exploration of PSR-14 's potential with a guest post. Cees-Jan Kiewiet was the Sponsor of PSR-14 (meaning the member of the Core Committee who bridged from the Working Group…crell (53)in php • 6 years agoPSR-14: Example - Delayed Events, Queues, and AsynchronicityOne of the long-running debates while designing PSR-14 was how to handle events that were inherently mono-directional. Often, a library will trigger an Event that is, from its point of view…crell (53)in php • 6 years agoPSR-14: Example - plugin registrationIn Content Management Systems and similar highly-configurable applications, a common pattern is to have a registration mechanism of some sort. That is, some part of the system asks other parts of…crell (53)in php • 6 years agoPSR-14: Example - Access votingSo far in our 5 part series we've dug into the details of Events, Dispatchers, and Providers. An awful lot of flexibility can be had from just three simple methods. But how does it work out in…crell (53)in php • 6 years agoPSR-14: Compound ProvidersIn part 3 of this series we looked at the more common patterns of Providers that may be used with a PSR-14 Event Dispatcher. In part 4 we looked at some more complex cases of…crell (53)in php • 6 years agoPSR-14: Advanced ProvidersIn part 3 of our series we looked at some common Provider patterns for PSR-14 . But the flexibility and complexity of Providers is limited only by your imagination. Today we'll look at a…crell (53)in php • 6 years agoPSR-14: Being a good ProviderAs mentioned back in part 1 , PSR-14 splits the core mediator into two objects: The Dispatcher and the Provider. The Dispatcher is fairly straightforward and most implementations will be…crell (53)in php • 6 years agoPSR-14: All about EventsIn the last installment we discussed the overall structure of PSR-14 . Today I'd like to dive into the key aspect of any event system: The Events themselves. Various different event…crell (53)in php • 6 years agoPSR-14: A Major Event in PHPThe PHP Framework Interoperability Group ( PHP-FIG ) has released a number of new specifications in the last year. The latest, PSR-14 , covers Event Dispatching. Like many PSRs it's a fairly…