|
Has anyone had any more thoughts on what is to be done with respond_to? I'm using it quite a lot now, and it really doesn't feel great, especially when you have quite a large action that has many responses. |
example.tar.bz2
Description: Binary data
I really liked the ideas with actions as classes... and was playing with syntax, for a router and app layout ... attached should be a prettymuch barebones app with some comments if anyone is interested. My routing idea basically hands over most of the routing logic to the app developer and simply provides a frame to say "if a url matches this regex"..."run this block"... "I expect to get an action class back" this would make the router code in any framework very small/fast and easy to follow, and put all the routing power in the hands of the dev, who wouldn't have to learn any special syntax. Regards Farms. Design & Dev On 22 Sep 2007, at 13:34, Chris Farmiloe wrote:
|
_______________________________________________ Merb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/merb-devel
