Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish
From: "Tomas Doran" On 28 Jul 2009, at 18:21, Octavian Râsnita wrote: MooseX::TheSchwartz I haven't even looked at this, other than to note that it wins the worst named module EVAR prize (as MooseX:: is a namespace for Moose extensions, which this blatantly isn't). Cheers t0m Well, yes, but unlike TheSchwartz... it can be installed under Windows. Octavian ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish
On 28 Jul 2009, at 18:21, Octavian Râsnita wrote: MooseX::TheSchwartz I haven't even looked at this, other than to note that it wins the worst named module EVAR prize (as MooseX:: is a namespace for Moose extensions, which this blatantly isn't). Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish
From: "Ashley" Since we're on the subject, #9 TheSchwartz, is pretty clean now, in part thanks to Oleg Kostyuk who just alerted me to a problem. And the git depot has downloads with all the stuff working (once you do the dependencies): http://github.com/pangyre/p5-myapp-10in10/tree/master TheSchwartz model was the only one I needed to delete in order to be able to test the app, because I couldn't install TheSchwartz module under Windows. I have tried to just replace TheSchwartz with MooseX::TheSchwartz with no other changes, but this way I couldn't make the reminder work. Octavian ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish
On Jul 27, 2009, at 7:16 AM, Octavian Râsnita wrote: From: "Ashley" > Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) Hi, Thank you for it. In the first model (Random quotes), I've seen the following line: sub get_one : method { Can you tell what does ": method" is used for and what happends if we don't use it? Is it ok if I will have more questions like this about the next models? Hi Octavian (and anyone curious). It's attributes, similar to Cat dispatch stuff, and it's one of the only ones built-in to Perl. Check out http://perldoc.perl.org/perlsub.html and http://perldoc.perl.org/ attributes.html for a real description. I'm not sure how useful the declaration actually is. It can help disambiguate certain calls when names in the global/core collide but I think that's about all it does here. Since we're on the subject, #9 TheSchwartz, is pretty clean now, in part thanks to Oleg Kostyuk who just alerted me to a problem. And the git depot has downloads with all the stuff working (once you do the dependencies): http://github.com/pangyre/p5-myapp-10in10/tree/master Wrap-up was yesterday: http://sedition.com/a/2744 And since it's been mentioned: my copy of the new book came from Amazon (US) on the cheap-o, free shipping in 4 days. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish
From: "Ashley" > Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) Hi, Thank you for it. In the first model (Random quotes), I've seen the following line: sub get_one : method { Can you tell what does ": method" is used for and what happends if we don't use it? Is it ok if I will have more questions like this about the next models? Thank you. Octavian ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/