Paul James

Results 35 comments of Paul James

Hi, thanks for your contribution, this case is so cool. I don't really know anything about 3D printing, are there any steps or instructions that would be worth adding to...

What advantage would this give over simply using the $_GET and $_POST superglobals?

True but it seems like an unlikely scenario that you'd want to do anything to the response based on the data within a POST request since POST data is supposed...

So then you could just use the $_GET superglobal. If we did want to provide a processed querystring to the response then the best way I think would be to...

Taking the $_GET array and pushing it into the Request object makes sense from a completeness perspective. The querystring is part of the request so it should be in the...

For me, the Response should be dumb. If you want a different response based upon something (the request or the resource) then your Resource should be returning a different Response...

I agree, what would you suggest?

I've had problems getting the environment order correct to work for all servers, I can't remember how we arrived at the current ordering. You can pass in the correct request...

This is definitely something that is useful and should be possible, although I'm not sure it should be part of the core as the output format requirements will be different...

Tonic requires that resource classes are already loaded so that it can reflect upon them. You either need to require your class before instantiating Tonic\Application, or get Tonic to require...