Re: [Catalyst] Handling configuration outside the Catalyst application

2009-08-28 Thread Matthias Dietrich
Hi, Am 28.08.2009 um 04:58 schrieb Bill Moseley: But, now I'm thinking about making all access go through Catalyst. That is, a cron job would log in via the API and then use and API method to do its work. Wouldn't need to be a web request, of course. Then I've got one access layer to the appli

[Catalyst] Catalyst Book

2009-08-28 Thread Kieren Diment
Who wants to write a review of the book for slashdot? ___ 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://

Re: [Catalyst] Handling configuration outside the Catalyst application

2009-08-28 Thread Sebastian Willert
On Fri, 2009-08-28 at 12:10 +1000, Daniel Austin wrote: > Hello > > How are you handling configuration for applications or code that run > outside of Catalyst? > > [snip] If you are just trying to emulate Catalyst's config loading mechanism to connect the schema yourself then have a look at Confi

RE: [Catalyst] Catalyst Book

2009-08-28 Thread Dami Laurent (PJ)
Hi, I just started reading the book, I can do a review. Let me know where/when/how long. Cheers, Laurent Dami >-Message d'origine- >De : Kieren Diment [mailto:dim...@gmail.com] >Envoyé : vendredi, 28. août 2009 11:15 >À : The elegant MVC web framework >Objet : [Catalyst] Catal

Re: [Catalyst] Catalyst Book

2009-08-28 Thread Kieren Diment
On 28/08/2009, at 10:17 PM, Dami Laurent (PJ) wrote: Hi, I just started reading the book, I can do a review. Let me know where/when/how long. Cheers, Laurent Dami Well in this case I specifically want to see it reviewed on slashdot, because it's a big popular website (still) an

Re: [Catalyst] Splitting up a large application: Shared config and templates for multiple applications

2009-08-28 Thread Matt Whipple
Bill Moseley wrote: I'm exploring the idea of breaking up a large application into a number of separate Catalyst apps. The application currently exists of a base application and a number of optional "products." For example, one product might be to add a calendar and scheduling to the applicati

Re: [Catalyst] Splitting up a large application: Shared config and templates for multiple applications

2009-08-28 Thread Bill Moseley
On Fri, Aug 28, 2009 at 6:41 AM, Matt Whipple wrote: > > >> Anyone building applications out of multiple small Catalyst applications >> like this? How do you set up the apps to share templates and a config? >> Anything more interesting than passing in paths? >> One downside of this approach is

Re: [Catalyst] Splitting up a large application: Shared config and templates for multiple applications

2009-08-28 Thread fREW Schmidt
On Fri, Aug 28, 2009 at 9:08 AM, Bill Moseley wrote: > > > On Fri, Aug 28, 2009 at 6:41 AM, Matt Whipple wrote: > >> >> >>> Anyone building applications out of multiple small Catalyst applications >>> like this? How do you set up the apps to share templates and a config? >>> Anything more inter

Re: [Catalyst] Splitting up a large application: Shared config and templates for multiple applications

2009-08-28 Thread Tomas Doran
fREW Schmidt wrote: Interestingly, I think the Rails guys (or was it Merb?) made something kindav like this. Basically they made it so that you can drop a Rails app into an existing Rails app and things "just work." That's the idea. I don't know enough about Rails to say how well it works

Re: [Catalyst] Splitting up a large application: Shared config and templates for multiple applications

2009-08-28 Thread Rodrigo
> Anyone building applications out of multiple small Catalyst applications > like this? How do you set up the apps to share templates and a config? > Anything more interesting than passing in paths? > > I have a working module called CatalystX::Featurizer that I've been using in an app at $work. I

Re: [Catalyst] Problem flattening arrays in Catalyst/Helper/Model/DBIC/Schema

2009-08-28 Thread pablo marin-garcia
Hello Tom, thanks for your answer On Thu, Aug 27, 2009 at 11:45 PM, Tomas Doran wrote: > > On 27 Aug 2009, at 21:52, pablo marin-garcia wrote: > Nono, that isn't a Moose feature at all.. > > It's the use of Moose::Autobox which allows you to lexically call stuff... > So for example: > > use Moos

[Catalyst] ActionClass vs. Moose Role?

2009-08-28 Thread Bill Moseley
I was starting to implement a custom ActionClass (similar to RenderView) and then wondered if it would be better written as a Moose role. Is there a reason to use one over another? Last I looked, an action is limited to a single ActionClass (although it's easy to deal with that), but depending on

Re: [Catalyst] ActionClass vs. Moose Role?

2009-08-28 Thread Tomas Doran
On 28 Aug 2009, at 18:25, Bill Moseley wrote: I was starting to implement a custom ActionClass (similar to RenderView) and then wondered if it would be better written as a Moose role. Maybe - depends what you're doing. They're doing different things really, and I'd need more details to m

Re: [Catalyst] Problem flattening arrays in Catalyst/Helper/Model/DBIC/Schema

2009-08-28 Thread Tomas Doran
On 28 Aug 2009, at 18:11, pablo marin-garcia wrote: Hello Tom, thanks for your answer On Thu, Aug 27, 2009 at 11:45 PM, Tomas Doran wrote: On 27 Aug 2009, at 21:52, pablo marin-garcia wrote: Nono, that isn't a Moose feature at all.. It's the use of Moose::Autobox which allows you to l

Re: [Catalyst] ActionClass vs. Moose Role?

2009-08-28 Thread Bill Moseley
On Fri, Aug 28, 2009 at 10:29 AM, Tomas Doran wrote: > > On 28 Aug 2009, at 18:25, Bill Moseley wrote: > > I was starting to implement a custom ActionClass (similar to RenderView) >> and then wondered if it would be better written as a Moose role. >> > > Maybe - depends what you're doing. They'r

Re: [Catalyst] Problem flattening arrays in Catalyst/Helper/Model/DBIC/Schema

2009-08-28 Thread pablo marin-garcia
On Fri, Aug 28, 2009 at 6:26 PM, Tomas Doran wrote: > > On 28 Aug 2009, at 18:11, pablo marin-garcia wrote: >> Am I in the right path of reasoning or I have missed something? I am >> new to all this 'perl6' magic like autobox implementation and 'modern >> perl'. > > Please stop making up random na

Re: [Catalyst] Problem flattening arrays in Catalyst/Helper/Model/DBIC/Schema

2009-08-28 Thread pablo marin-garcia
Finally (for the records) Found the problem: the autobox module installed in the system perl works (without my perl5lib)! my non root installation of autobox was not working when run from the shell (but it worked from make_test during installation in the build dir??!!). Anyway the problem started