As an example, the nickel.rs micro-framework in Rust uses the same sort of handler signature that we discuss moving away from here of passing the request and the response into the handler rather than having the handler return the response. Many things based on the servlet model do as well. This pattern is common in Go and Node.js (like express) as well. IHttpHandler in asp.net is also largely this way.
As an example, the nickel.rs micro-framework in Rust uses the same sort of handler signature that we discuss moving away from here of passing the request and the response into the handler rather than having the handler return the response. Many things based on the servlet model do as well. This pattern is common in Go and Node.js (like express) as well.
IHttpHandlerin asp.net is also largely this way.Interestingly, it isn’t how Flask works.
If you like me clicked through to the previous post and were intrigued by this new thing “machines”, check out http://stackoverflow.com/questions/17281556/whats-the-conceptual-difference-between-machines-and-conduits-or-other-similar (Edward Kmett, of lens fame)