Viewing posts about Middleware.

Middleware and API Gateways

After spending quite a few years working with services, and, more recently, API gateways, I've become intimately familiar with the desire to add layers and layers of middleware. When a service is initially designed it focuses only on pure functionality - each endpoint offering a unique business…

  • Category Web Development
  • Posted October 28, 2020
  • read more

A Middleware for Swagger Resolution

A few months ago I started building a Swagger resolver library, with the intention of having a parser that understood different inheritance properties of the spec. About halfway through I realized that this library was going to be huge, with dozens of objects, and that it wasn't going to work the…

  • Category Web Development
  • Posted November 29, 2016
  • read more

Using peel for HTTP Exceptions

Middleware is a powerful concept that modern frameworks use to bridge between separate parts of a stack - namely, a HTTP layer and application. A request comes in, is validated/manipulated by middleware, triggers behavior in the application, and then the response goes back out through the same…

  • Category Web Development
  • Posted November 15, 2016
  • read more

JSON Responses in Guzzle 6

Guzzle is a wildly popular PHP client that makes it simple to perform HTTP requests. The latest version, Guzzle v6, implements PSR-7 standards when handling requests and responses. By enforcing this standard HTTP messaging protocol it is now easier to have inter operable exchanges between packages,…

  • Category Web Development
  • Posted January 14, 2016
  • read more

Activity Stream

  • Tweeted | @passionsmynorth Yessssssssss
  • Tweeted | RT @FrogandToadbot: 'Tomorrow!' cried Toad. 'I will do it all tomorrow!'
  • Blogged about hiking | Reavis Ranch Loop.
  • Tweeted | RT @cassidoo: code, amirite
  • Read Mind of My Mind (Patternmaster, #2) by Octavia E. Butler.
View more activities…