Viewing posts about Middleware.

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 @HillaryClinton: Justice Ginsburg paved the way for so many women, including me. There will never be another like her. Thank you RBG.
  • Tweeted | RT @rands: COVID standard time: [covidstandardtime.com]
  • Favorited Dune Trailer #1 (2020) | Movieclips Trailers on YouTube.
  • Read Sapiens: A Brief History of Humankind by Yuval Noah Harari.
  • Created tag v1.0.26 at shutterstock/public-api-javascript-sdk.
View more activities…