Christopher Pitt PRO
Writer and coder, working at indiefin.com
Maintaining open source is a bit like being a monk. You give up your time and effort for "the greater good", and often have to deal with rudeness and entitlement along the way. It doesn't have to be like that. I want to talk to you about the how and why of creating open source code. Together, we'll look at what a good open source library looks like, and how it can pay for itself.
You've probably been to a couple talks, about how to do "asynchronous things" with PHP. What the experts don't tell you is that the hard part starts when you need to build an application. Sure, there are tools for starting an HTTP server or connecting to a web socket. But what about when you need to write to a database or send an email. You go searching for good tutorials, and all you get is API documentation; about how to use each component in isolation. Say goodbye to that frustration. In this workshop, I'm going to show you how to build an entirely asynchronous, high-concurrency PHP application. We'll bring those isolated components together, to build a real application.
Many developers get lost in the hype of object-oriented design. They miss how expressive and succinct their code could be if they tried functional programming. Take Monads, for instance. Many developers have not even heard the name, much less have the ability to describe what Monads are and how they can be useful in every-day code. In this talk, we will gain a clear, simple understanding of what Monads are and how they can help us refactor our code to be clear and concise.
Have you ever used the yield keyword? It's the hidden-wardrobe-entrance into a magical world of generators. This magical world is inhabited by beings called iterators and coroutines. Roll some epic battle-music...
I’m going to introduce you to a library that will allow you to use preprocessor macros, to turn your desired bit of syntax into valid PHP syntax. Then I’m going to show you a few libraries that use those macros to bring fresh and interesting new syntax to everyday PHP applications.