[Catalyst] Draft Catalyst quick reference card
Jose Nyimi
josenyimi at skynet.be
Fri Jul 22 23:44:50 CEST 2005
> -----Message d'origine-----
> De : Andrew Ford [mailto:A.Ford at ford-mason.co.uk]
> Envoyé : jeudi 21 juillet 2005 16:15
> À : The elegant MVC web framework
> Cc : josenyimi at skynet.be
> Objet : Re: RE : [Catalyst] Draft Catalyst quick reference card
>
>
> Thanks for the feedback. I've addressed all these items apart from
> indicating the url corresponding to the actions.
>
> As I said the card is still sketchy. I want to see what raw
> information
> I can get onto six sides (i.e. a trifold card) then I'll
> tweak the brief
> explanatory texts.
>
> Revision 0.03 is now up on refcards.com.
>
> Andrew
Additional feedback:
1) Correct me if i'm wrong but i think levels, enable, disable,
is_debug, debug, info, warn, is_error, error, is_fatal, fatal ... are
not context methods. So typo on your following statements ?
Log methods
$log = $c->log
$c->levels(@levels)
$c->enable(@levels)
$c->disable(@levels)
$bool = $c->is_debug
$c->debug($message)
$bool = $c->is_info
$c->info($message)
$bool = $c->is_warn
$c->warn($message)
$bool = $c->is_error
$c->error($message)
$bool = $c->is_fatal
$c->fatal($message)
Shouldn't be $c->log->debug for instance ?
2) you still have following statements repeated in the doc,
once in context methods section, once in request and response methods
section.
I thought you wanted to gain spaces ;)
$req = $c->request
$resp = $c->response
Rgds,
José.
More information about the Catalyst
mailing list