[Catalyst] two Catalyst flaws

2008-01-03 Thread Fayland Lam
please don't blame me if I'm wrong here. just point it out and I'll apologize :-) the first is to load all modules at beginning. I want to ask why? for $c-forward()? I think $c-model() can load when called. why I hate this is because it eats too many memory. one of my App has 80+ pm then it

Re: [Catalyst] two Catalyst flaws

2008-01-03 Thread Knut-Olav Hoven
On Thursday 03 January 2008 10:51:47 Fayland Lam wrote: please don't blame me if I'm wrong here. just point it out and I'll apologize :-) the first is to load all modules at beginning. I want to ask why? for $c-forward()? I think $c-model() can load when called. why I hate this is because it

Re: [Catalyst] two Catalyst flaws

2008-01-03 Thread Simon Wilcox
Fayland Lam wrote: the first is to load all modules at beginning. I want to ask why? for $c-forward()? I think $c-model() can load when called. why I hate this is because it eats too many memory. one of my App has 80+ pm then it takes 150+M. I can't afford that! You don't mention how you are

RE: [Catalyst] two Catalyst flaws

2008-01-03 Thread Peter Edwards
Simon Catalyst is a web application framework. You have two choices: 1. Use a simple LWP type script in cron to call the necessary web URI and let the server do the heavy lifting; or 2. Make sure you encapsulate the business logic in the model and not in the controller, then you can just load

Re: [Catalyst] two Catalyst flaws

2008-01-03 Thread Mike Whitaker
A normal mistake of managing web servers these days is to put tons of web applications onto one server and letting them fight over resources. Servers (and memory in particular) is a low cost factor (compared to development costs). Then why not give your lovely web application some GB's of

[Catalyst] Re: two Catalyst flaws

2008-01-03 Thread kevin montuori
FL == Fayland Lam [EMAIL PROTECTED] writes: FL the second one is hard to use model in cron pl. check out jonathan rockway's book [1], specifically, the section Using Components from Outside Catalyst [sic], page 60 or so. (the book, essentially an extended catalyst tutorial with good

Re: [Catalyst] Re: two Catalyst flaws

2008-01-03 Thread Matija Grabnar
kevin montuori wrote: (the book, essentially an extended catalyst tutorial with good coverage of DBIC and TT thrown in, is a good read and covers ground that one cannot find elsewhere without piecing bits together from various sources. however, whoever packt, the publisher, found to write the

Re: [Catalyst] Re: Launch of new (to Catalyst) site

2008-01-03 Thread Jason Kohles
On Jan 3, 2008, at 1:34 AM, Fayland Lam wrote: Dave Rolsky wrote: I finally was able to launch my first major project using Catalyst yesterday, the latest version of my VegGuide.Org site. This version uses Catalyst with Mason and Alzabo. One of the great things about this project was that

[Catalyst] Re: two Catalyst flaws

2008-01-03 Thread KH
Message: 7 Date: Thu, 3 Jan 2008 11:27:49 + From: Mike Whitaker [EMAIL PROTECTED] Subject: Re: [Catalyst] two Catalyst flaws To: The elegant MVC web framework catalyst@lists.scsys.co.uk Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed

RE: [Catalyst] two Catalyst flaws

2008-01-03 Thread Dave Rolsky
On Thu, 3 Jan 2008, Peter Edwards wrote: In the latter case there's still some work to do if you want to have a shared config file but that's not too hard to figure out. There's a Catalyst advent calendar article showing how to do this: http://catalyst.perl.org/calendar/2007/14 I did

Re: [Catalyst] Re: two Catalyst flaws

2008-01-03 Thread J. Shirley
On Jan 3, 2008 7:42 AM, KH [EMAIL PROTECTED] wrote: I think you may be doing this person a disservice with that advice without first understanding more about what he is trying to accomplish. I can off-hand think of several scenarios where it would be far most cost effective to optimize the

[Catalyst] static files without extensions

2008-01-03 Thread Emily Heureux
(I am starting a brand new email, not replying to an existing one, which I now realize I have been doing, but maybe not every time. Am I sending these to the wrong place? The address I have is [EMAIL PROTECTED] Did I do it right this time?) My question: I have a directory under root:

[Catalyst] Re: two Catalyst flaws

2008-01-03 Thread Aristotle Pagaltzis
* Fayland Lam [EMAIL PROTECTED] [2008-01-03 11:00]: the first is to load all modules at beginning. I want to ask why? If you load the modules on demand, then each child will have its own duplicate copy of all demand-loaded modules, which adds up to much higher memory consumption across

RE: [Catalyst] How Catalyst views files without extensions

2008-01-03 Thread Emily Heureux
I am calling the applet from within test.tt2, and loading the file also from within test.tt2. I did some further reading, and it seems that what I need to do is designate a directory as static that contains the files (with no extensions). I found this code: MyApp-config-{static}-{dirs} = [

Re: [Catalyst] How Catalyst views files without extensions

2008-01-03 Thread Michael Higgins
On Thu, 3 Jan 2008 15:19:35 -0800 Emily Heureux [EMAIL PROTECTED] wrote: I am calling the applet from within test.tt2, and loading the file also from within test.tt2. I did some further reading, and it seems that what I need to do is designate a directory as static that contains the files

Re: [Catalyst] Web hosting?

2008-01-03 Thread Jon Schutz
On Fri, 2008-01-04 at 09:28 +0800, Martin Ellison wrote: Dreamhost have refused to accept our site on the grounds of their frad detection system. No explanation given, and I have no idea why as this is a legitimate business. Did you contact a human at Dreamhost and ask why? In contrast to

Re: [Catalyst] Web hosting?

2008-01-03 Thread Toby Corkindale
On Fri, Jan 04, 2008 at 02:05:17PM +0800, Martin Ellison wrote: OK, I am discussing this with DreamHost, and hope to be able to resolve the issue. But... when I originally started this thread, several posters suggested various hosting companies at around the USD 50-100/month level, which was