Request object

By farcaller May 27th, 2008

6IeQau
Here’s how request object looks like at the moment. You can query the current request by a static current() method. You can resolve GET or POST entries or query request header value directly. There’s no way to process requests with several values with single key (is it really useful?) and no file uploads handling.
I’m still thinking of the way to construct Request object. The way you process CGI and FastCGI requests is very different.
Extensions like session or user support could be easily done with categories (so not hard-coding this features into request-response code).

This entry was posted on Tuesday, May 27th, 2008 at 20:43 and is filed under Prototyping. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply