David Baird wrote:
Yes! Much better, better name too, are you going to commit it?

OK, I'll see if I can figure out how to do that :)

BTW, have we agreed that $r should be $self?

My prejudice is that we should use $self where we're referring to the 'controller' (i.e. generally when we're invoking a method) and $r when we're referring to the 'request' (i.e. the data attributes - headers, params, template vars etc etc). Simon Flack posted a controller vs request breakdown once upon a time.

But it might look different to people with an Apache/mod_perl background? And I haven't thought about it too much, so I could be wrong. Or confused - I'm reevaluating what I think of the whole framework at the moment and my head is full of contradictory ideas. What's a model, what's a view, where does validation belong, that kind of stuff.

Cheers, Dave



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to