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 | RT @rands: This poem is stunning. @TheAmandaGorman
  • Tweeted | New mask, who dis? [pic.twitter.com/jHIPdPCi60]
  • Tweeted | code is neat and everything but the satisfaction from fixing a sagging rv gate is :magnifique:
  • Tweeted | RT @freezydorito: react is bad because it uses javascript, which is also bad (stay with me here) because it’s a programming language for co…
  • Tweeted | RT @kvlly: Slack going down the first day back to work in 2021 is how we all feel about today
View more activities…