Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread kakimoto
Hello, Dermot and Alejandro, Thanks for your help. Yes, they are very good hints :) I tried them and I learnt more about the Catalyst framework. I looked at how I executed the script and I think I figured out why. I ran myApp_create.pl within the script subdirectory. For some reason, the

Re: [Catalyst] Where to put use

2009-02-18 Thread Erik Wasser
On Wednesday 18 February 2009, Dermot wrote: One of my controller is starting to use a lot of other modules like File::Find...etc but they are usually confined to one subroutine or method. It's most common to see all the use statements at the top of the package but I have seen instances where

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread kakimoto
Hello, Dermot, Replies are as per below. Quoting Dermot paik...@googlemail.com: myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static dbi:Pg:dbname=myApp myAdminUser mypassword Your command says Create a schema under the directory 'myAppDB', so they should be under

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread Dermot
2009/2/18 kakim...@tpg.com.au: lib/myApp/myAppDB/ I beg to differ. The files are created within myApp/lib/myApp/Schema and myApp/lib/myApp/Schema.pm What not Schema/myAppDB? All of these question really belong on the DBIc mailing list which is here:

Re: [Catalyst] Where to put use

2009-02-18 Thread Jose Luis Martinez
Dermot escribió: Hi, This might be a daft question but I'll chance it. One of my controller is starting to use a lot of other modules like File::Find...etc but they are usually confined to one subroutine or method. It's most common to see all the use statements at the top of the package but I

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-18 Thread Stuart Watt
I've actually done the reverse switch. Although I was a Perl developer for a good while, I previously used Apache::ASP and real ASP on Windows, with raw DBI and a hand-crafted search engine for most of this time. I then had to pick up Java and Spring with Hibernate for a while, for a second

Re: [Catalyst] RFC: New to Catalyst questions

2009-02-18 Thread J. Shirley
On Tue, Feb 17, 2009 at 6:06 PM, Trevor Phillips trevor.phill...@gmail.com wrote: On Tue, Feb 17, 2009 at 5:32 AM, Jay Kuri j...@ion0.com wrote: My working list is as follows (in no particular order.) 1) 'Getting' DBIx::Class (starting from a straight SQL-users point of view) I'm new to

[Catalyst] Re: Where to put use

2009-02-18 Thread Aristotle Pagaltzis
* Jose Luis Martinez jlmartinez-lists-catal...@capside.com [2009-02-18 15:35]: I tend to use Module::Load to load seldom used modules at runtime to reduce loading time and memory footprint. This is counterproductive in a long-running, fork()ing server. If you load all modules up front then

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread kakimoto
Reply is as per below I'm going to do something horrid and point you at the documentation: http://search.cpan.org/~ribasushi/DBIx-Class-0.08012/lib/DBIx/Class/Relationship.pm#has_many and http://search.cpan.org/~ribasushi/DBIx-Class-0.08012/lib/DBIx/Class/Schema.pm You created

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread Tomas Doran
On 18 Feb 2009, at 10:43, kakim...@tpg.com.au wrote: In short: Never ever myApp_create.pl in the scripts directory level. Don't know why it is such (which I think is silly cause we should be able to run the any damn script in the directory level which it is made in without problems).

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-18 Thread bill hauck
--- On Wed, 2/18/09, Kieren Diment dim...@gmail.com wrote: From: Kieren Diment dim...@gmail.com Subject: Re: [Catalyst] RFC: The paradox of choice in web development To: The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Wednesday, February 18, 2009, 7:41 AM On 18/02/2009, at

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-18 Thread Dermot
2009/2/19 * Template::Toolkit * Text::Template * Text::FastTemplate * Text::Templar * HTML::Template * HTML::KTemplate * HTML::Mason * HTML::Seamstress * dTemplate * Jemplate Yes there is, at first glance, a lot of choice but is there. I would say TT and

Re: [Catalyst] RFC: New to Catalyst questions

2009-02-18 Thread Kenny Gatdula
On Feb 17, 2009, at 9:06 PM, Trevor Phillips wrote: I'm pretty new to the Catalyst community, and still very much a Catalyst newbie. I don't know how open this list is to having the same n00b questions asked over over again. I'd be happy to write up a few howto's myself, as I discover stuff,

[Catalyst] Where am I? ;-)

2009-02-18 Thread Jens Schwarz
Hi, with this somewhat philosophic question, I want to know, how a Controller knows, which of its action is currently active (p.ex. displayed to the user). And a similar question: How does the root controller know what other controllers are available in the app? Thanks Jens -- Pt! Schon

Re: [Catalyst] New version of InstantCRUD

2009-02-18 Thread Zbigniew Lukasiak
Just one more thought on collaboration in general: let's find some elements in each other work that we would like to collaborate on, let's not strive to steer the other project in full into the direction of our wishes. Let's divide the projects so that later each of us will be able to assemble

Re: [Catalyst] Where am I? ;-)

2009-02-18 Thread Felix Antonius Wilhelm Ostmann
I think more interesting is the question about: which action can the user visit? With different roles not every user could visit /admin, but it would be great to know that while building the navigation/links. And only configurate that at one point! sub admin :Local :ACL('role:admin') {...}

Re: [Catalyst] Where to put use

2009-02-18 Thread Thomas Klausner
Hi! On Wed, Feb 18, 2009 at 10:51:06AM +, Dermot wrote: One of my controller is starting to use a lot of other modules like File::Find...etc but they are usually confined to one subroutine or method. It's most common to see all the use statements at the top of the package but I have