Re: [Catalyst] Beginner question: View directory

2007-11-08 Thread Kieren Diment
On 8 Nov 2007, at 20:22, Ash Berlin wrote: Similarly, I setup subs that I always want available in the TT stash, such as format_datetime (which formats a DateTime object according do the currently logged in user's preference.) I also accessing VMethods to $Template::Whatever::SCALAR_OPS

Re: [Catalyst] Beginner question: View directory

2007-11-08 Thread Ash Berlin
Dave Rolsky wrote: On Thu, 8 Nov 2007, Kieren Diment wrote: Good call, my mistake. Goes to show that there's not usually much (or any) extra stuff that needs to be done in the View class. I was actually struggling to think of code related things (rather than config) which you might want

Re: [Catalyst] [OT] Search Solution

2007-11-08 Thread Pedro Melo
Hi, On Nov 8, 2007, at 8:23 AM, Fayland Lam wrote: Sorry for a bit off topic. I just wonder how to build a search engine for a heavy traffic site? use KinoSearch or Plunce? or just get result from MySQL? If you are using MySQL, checkout Sphinx also. They have some interesting numbers on

Re: [Catalyst] [OT] Search Solution

2007-11-08 Thread Felix Antonius Wilhelm Ostmann
Other solution is Xapian Catalyst::Model::Xapian Pedro Melo schrieb: Hi, On Nov 8, 2007, at 8:23 AM, Fayland Lam wrote: Sorry for a bit off topic. I just wonder how to build a search engine for a heavy traffic site? use KinoSearch or Plunce? or just get result from MySQL? If you are

[Catalyst] [OT] Search Solution

2007-11-08 Thread Fayland Lam
Sorry for a bit off topic. I just wonder how to build a search engine for a heavy traffic site? use KinoSearch or Plunce? or just get result from MySQL? how those big sites build their search engine? like facebook, hi5, digg? use SQL to get results instead of build a file index like

Re: [Catalyst] [OT] Search Solution

2007-11-08 Thread David Morel
Le 8 nov. 07 à 10:25, Felix Antonius Wilhelm Ostmann a écrit : Other solution is Xapian Catalyst::Model::Xapian There was a discussion on this topic not so long ago. I suggest to have a look at the list archive, some interesting discussion went on at that time David Morel

[Catalyst] Directory layout

2007-11-08 Thread Gerda Shank
Thanks for the responses to my question about the View Directory. I'm still trying to figure out the reasons for the rest of the directory layout. The templates are not in the View directory, because the lib hierarchy is just for Perl code. Is that right? Is root kind of the equivalent of

Re: [Catalyst] Directory layout

2007-11-08 Thread Cory Watson
On Nov 8, 2007, at 8:47 AM, Gerda Shank wrote: The templates are not in the View directory, because the lib hierarchy is just for Perl code. Is that right? Yes. The Model, Controller and View directories house the respective perl classes that handle those functions. Is root kind of the

Re: [Catalyst] Beginner question: View directory

2007-11-08 Thread Dave Rolsky
On Thu, 8 Nov 2007, Ash Berlin wrote: Similarly, I setup subs that I always want aviabale in the TT stash, such as format_datetime (which formats a DateTime object according do the currently logged in user's prefernce.) I also assing VMethods to $Template::Whatever::SCALAR_OPS here, since

Re: [Catalyst] Directory layout

2007-11-08 Thread Jonas Alves
On 11/8/07, Gerda Shank [EMAIL PROTECTED] wrote: Thanks for the responses to my question about the View Directory. I'm still trying to figure out the reasons for the rest of the directory layout. The templates are not in the View directory, because the lib hierarchy is just for Perl code. Is

Re: [Catalyst] loading modules before the server forks

2007-11-08 Thread Octavian Rasnita
Ok, thank you. I know how to load the modules, but I just wanted to know if all dependencies are loaded before server fork. Octavian - Original Message - From: Andy Grundman [EMAIL PROTECTED] To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Thursday, November 08,

[Catalyst] Anybody in socal fancy doing some perl pimping?

2007-11-08 Thread Matt S Trout
http://www.socallinuxexpo.org/blog/2007/11/08/calling-all-free-open-source-projects/ -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] loading modules before the server forks

2007-11-08 Thread Andy Grundman
On Nov 8, 2007, at 2:32 PM, Octavian Rasnita wrote: Hi, If I have a Catalyst application and I use PerlResponseHandler Application::Name in httpd.conf and I load that module in a startup.pl file, what happends with the modules that might be loaded by that Catalyst app? Are they also

[Catalyst] loading modules before the server forks

2007-11-08 Thread Octavian Rasnita
Hi, If I have a Catalyst application and I use PerlResponseHandler Application::Name in httpd.conf and I load that module in a startup.pl file, what happends with the modules that might be loaded by that Catalyst app? Are they also loaded before the server forks? Or I will need to load them

Re: [Catalyst] loading modules before the server forks

2007-11-08 Thread Andy Grundman
On Nov 8, 2007, at 4:21 PM, Octavian Rasnita wrote: Ok, thank you. I know how to load the modules, but I just wanted to know if all dependencies are loaded before server fork. Yeah, they are. Catalyst will load all your controllers, models, etc, and those will load all their modules, and

Re: [Catalyst] Directory layout

2007-11-08 Thread Kieren Diment
On 9 Nov 2007, at 01:47, Gerda Shank wrote: Thanks for the responses to my question about the View Directory. I'm still trying to figure out the reasons for the rest of the directory layout. The templates are not in the View directory, because the lib hierarchy is just for Perl code. Is

[Catalyst] Re: [OT] Search Solution

2007-11-08 Thread Fayland Lam
David Morel wrote: Le 8 nov. 07 à 10:25, Felix Antonius Wilhelm Ostmann a écrit : Other solution is Xapian Catalyst::Model::Xapian There was a discussion on this topic not so long ago. I suggest to have a look at the list archive, some interesting discussion went on at that time I