Most technical books overwhelm you with theory about all the various features and functionality that a given library or tool provides, yet gives you precious little hands-on knowledge of how to use those features to actually build something.
You find yourself thinking: "Well it's nice that I know about all of these things, but how do I actually use them?", and getting frustrated wanting to start building an app, but all you have is a warm and fuzzy feeling and a head full of theory.
This book doesn't do that!
First, you’ll find out what a micro-framework is, so that you’re in the right mindset for the rest of the book.
Then, you’ll get a rapid overview of Mezzio, specifically it’s core concept, PSR-15 (or Middleware).
After that, you’ll learn about the four core components: Routing, Dependency Injection, Templating, and Error Handling. In this chapter, you’ll learn why Mezzio strikes the right balance between too much and too little functionality.
With that foundation in place, you’re going to build a Mezzio application — by hand! Why would you do this? So that you know exactly what’s going on under the hood. While doing so, you’ll also learn the most powerful aspect of Mezzio applications - middleware.
Now that you’ve built an Mezzio application manually, you'll learn how to save time and effort by using the Skeleton Installer and its tooling support. You’ll learn how to save time and effort by choosing the options that are right for you, and having a core application generated for you, from tried and tested templates. You’ll then learn how it’s composed, and how it improves upon the one you created by hand.
With knowledge of how to build an application manually and with the skeleton installer, you’ll next learn about how to extend its power by adding support for databases. The Mezzio framework starts off lean, but can be augmented rapidly, as your needs demand. So here, you’ll learn how to add more power when the time comes.
Finally, with all this knowledge at your disposal, you’ll finish up by learning how to compose powerful middleware pipelines, ones that suit exactly the situations that you need, dare I say perfectly! You’ll learn to create powerful, flexible, reusable, and maintainable pipelines that scale with you.
Mezzio Essentials teaches you all of this, so that you stay focused on learning what you need to know to start creating real-world, marketable applications as soon as possible — ones you can charge money for.
"Matt not only shows you how to build a middleware based PHP app, he also explains how it works under the hood As always, understanding how the pieces fit together makes us better problem solvers/devs."
Not quite ready to buy your copy of the book, yet? Why not download a preview copy which includes two chapters from the book — completely free? It will give you a glimpse as to what you get in the full book and kick-start your journey with PHP's Mezzio Framework.
Here's what you get:
Hi, I'm Matthew Setter - the book's author. I'm a long-time user of the Zend Framework and Zend Expressive, the precursors to the Mezzio framework. I even maintained a blog dedicated to them for some years, called Master Zend Framework.
I've been writing software since 1996, and working with PHP since version 3, before it even had OOP support. In that time, I've worked on all kinds of applications in Australia, the United Kingdom, and Germany.
In this book, I'm excited to share with you just how easy it is to create applications with the Mezzio framework, a micro-framework for PHP; whether small, one-page applications, or enterprise-grade applications.
It's currently valid for version 3.5.0, but is regularly updated to match the most recent release.
Sure do. Once you've purchased a copy of the book, all updates are free.
Sure can! There'll be one in the email that you receive, after purchasing the book.
Email me at [email protected], with your details, and I'll get that fixed up for you.
Sure can! Email me at [email protected], and let's work something out.