[Catalyst] Need the request object when auto logging debug messages

2010-11-17 Thread Steve Nolte
I've enhanced logging to do my own with a Moose 'after' using: Moose::Util::apply_all_roles(MyApp->log, 'My::Logger'); which inserts warn, error, and fatal messages into a DB. But I want to also include info about the request they came from and the active user. Any suggestions on how to get at

[Catalyst] How to get from

2010-09-18 Thread Steve Nolte
Agreed that this is a DBIx::Class question, but I think you want something like: $self->result_source->schema->resultset('NAME_OF_RESULTSET_YOU_WANT')->find($id) ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/li

RE: [Catalyst] Suggestions for iPhone version of app

2010-04-26 Thread Steve Nolte
> HTTP::BrowserDetect gives you the detection, and you could setup a > separate view for those templates with a fallback to the previous > templates. > > You configure the secondary view with multiple paths (INCLUDE_PATH), > so you can override any template (just by it existing in the first > dir)

RE: [Catalyst] Suggestions for iPhone version of app

2010-04-26 Thread Steve Nolte
> On 4/26/2010 10:22 AM, Steve Nolte wrote: > > And any frameworks, such as jQTouch, to recommend or stay away from? > > I've heard good things about http://www.phonegap.com/ Thanks for the PhoneGap suggestions, but to clarify I'm looking for something to first help me

[Catalyst] Suggestions for iPhone version of app

2010-04-26 Thread Steve Nolte
We have a Catalyst app that we are looking to also make available through an iPhone interface. Does anyone have any suggestions or experiences to share on how to implement this? For example, since we're using TT, would a duplicate set of templates that are updated for a mobile version be smart