Skip to main content

Timeline for About clean code

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jan 30, 2013 at 4:29 comment added resting @WinstonEwert Ah...there actually is. I'll give that a thought too. :)
Jan 30, 2013 at 4:27 comment added Winston Ewert @resting, I don't know CakePHP, but I wonder if there isn't a way to hook into an api that would let you override the process.
Jan 30, 2013 at 4:01 comment added resting Interesting. Your guess is fairly correct. I'm using Cakephp, its not exactly the same, but works roughly as what you assumed. handleFoobarRequest is the controller action, and $requestObject is the request. To output the response is simply return produceResponse($requestObject). Based on your last statement, there's no one calling this function. Its triggered when the url is accessed. So I don't think that would work.
Jan 30, 2013 at 2:45 comment added Nathan C. Tresch +1 because your answer obviously has more effort put into it than mine.
Jan 30, 2013 at 2:43 history answered Winston Ewert CC BY-SA 3.0