Re: [Catalyst] testing catalyst app - need context

2009-03-02 Thread Ian Docherty
Kate Yoak wrote: Hi there, Here is a newbie question: I like to test my functionality in bits and pieces as I write it. How do I go about getting myself the context object in a test script? For example, one of the tests catalyst installs is t/model_App.t where it loads the model. I'd love

Re: [Catalyst] testing catalyst app - need context

2009-03-02 Thread David Wright
Ian Docherty wrote: Kate Yoak wrote: Hi there, Here is a newbie question: I like to test my functionality in bits and pieces as I write it. How do I go about getting myself the context object in a test script? For example, one of the tests catalyst installs is t/model_App.t where it loads

[Catalyst] New config plugin (MultiState)

2009-03-02 Thread Oleg Pronin
Greetings! This post can be intresting for those who ever wanted to make theirs configs more flexible / more supportable. Through 1.5 year evolution of my config plugin i ended up with ConfigLoader::MultiState. Now it is extracted from our company's framework and moved to CPAN as

Re: [Catalyst] testing catalyst app - need context

2009-03-02 Thread David Wright
J. Shirley wrote: On Mon, Mar 2, 2009 at 5:00 AM, David Wright dave-catal...@dexy.org mailto:dave-catal...@dexy.org wrote: Ian Docherty wrote: Kate Yoak wrote: Hi there, Here is a newbie question: I like to test my functionality in bits and

[Catalyst] How to save timestamps using DBIx::CLASS?

2009-03-02 Thread kakimoto
hello, everybody (simpsons doctor tone), How to save timestamps using DBIx::CLASS in a Catalyst app? For example, assume there is a database table named Subscriptions which has the following definitions: id (primary key), name, type, costs, activation_status, created_by, created_on,

Re: [Catalyst] How to save timestamps using DBIx::CLASS?

2009-03-02 Thread Kieren Diment
On 03/03/2009, at 1:43 PM, kakim...@tpg.com.au wrote: hello, everybody (simpsons doctor tone), How to save timestamps using DBIx::CLASS in a Catalyst app? http://search.cpan.org/dist/DBIx-Class-TimeStamp/ also http://search.cpan.org/perldoc?DBIx::Class::InflateColumn::DateTime further

Re: [Catalyst] How to save timestamps using DBIx::CLASS?

2009-03-02 Thread kakimoto
Hello, Kieren! Thanks for that. Yeah, I was googling again after I posted the previous email and I did find DBIx::Class::TimeStamp on cpan. ah, http://search.cpan.org/perldoc?DBIx::Class::InflateColumn::DateTime looks interesting. Just had a glance and will check it out. Cheers! K. akimoto.

Re: [Catalyst] Google Summer of Code: mentors, projects

2009-03-02 Thread Kieren Diment
I'm still keen on the idea of an easy Perl/Catalyst installer. Something that might encompass local::lib, PAR and deployable on the three or four main OSs windows (strawberry perl), OS X (10.4 and 10.5, using the system provided perl) and linux (maybe debian and red hat based distros -