So I’ve been on the whole researching techniques for better architecture and run time performance and streams have come up, reading through the documentation and a blog post I am now only dimly aware of using streams. My question is how would you explain streams,streamWrappers, and what’s the cleanest O-O implementation ?
I currently think that I might be able to use a stream function object that could improve the speed of returning application views, and client request handling. but I don’t know how.
anyway… does anyone understand what I’m getting at? I don’t think it’s neccesisarily trivial.
Streams are simple enough really, being only a resource object that acts like a stream: readable and writable in linear fashion, so I/we are dealing with streams if only obliquely every time we code something that specifies what and how we serve in response to requests. While there’s a lot more to it than that there’s a pear extension named pecl_http which really simplifies working http.