[Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread catalyst . 20 . chsg
I really don't want to start a bashing session, but I have some concerns that those much more knowledgeable than me should hopefully be able to clarify. Recently, I saw this article via Catalyst Planet: http:// letsgetdugg.com/feed/view/Catalyst_vs_Rails_vs_Django_Cook_off Essentially,

Re: [Catalyst] Non-real world irrelevant benchmarks

2006-11-16 Thread Matt S Trout
[EMAIL PROTECTED] wrote: In victori's remarks, he calls for a change in Catalyst and points to the other advantages to to this framework, mostly related to ease of coding. While the whole reason I came to Catalyst is because I'm comfortable with Perl and don't want to learn Ruby, I'm worried

Re: Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Cory Watson
On 11/16/06, Carl Franks [EMAIL PROTECTED] wrote: On 16/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Essentially, according to his test, which doesn't take into account ORM performance, Rails Django knock the socks of Catalyst. snip The first thing I noticed was that the content

Re: [Catalyst] Non-real world irrelevant benchmarks

2006-11-16 Thread Nilson Santos Figueiredo Junior
On 11/16/06, Matt S Trout [EMAIL PROTECTED] wrote: Besides which, I've never yet seen a production application (and between Shadowcat's client portfolio I've seen not a small number thereof) where the dispatch overhead was even statistically significant to the overall performance - the

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Christopher H. Laco
Carl Franks wrote: On 16/11/06, Cory Watson [EMAIL PROTECTED] wrote: On 11/16/06, Carl Franks [EMAIL PROTECTED] wrote: On 16/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Essentially, according to his test, which doesn't take into account ORM performance, Rails Django knock the

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Carl Franks
On 16/11/06, Christopher H. Laco [EMAIL PROTECTED] wrote: Carl Franks wrote: On 16/11/06, Cory Watson [EMAIL PROTECTED] wrote: On 11/16/06, Carl Franks [EMAIL PROTECTED] wrote: On 16/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Essentially, according to his test, which doesn't

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Christopher H. Laco
Carl Franks wrote: On 16/11/06, Christopher H. Laco [EMAIL PROTECTED] wrote: Carl Franks wrote: On 16/11/06, Cory Watson [EMAIL PROTECTED] wrote: On 11/16/06, Carl Franks [EMAIL PROTECTED] wrote: On 16/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Essentially, according to

Re: [Catalyst] Non-real world irrelevant benchmarks

2006-11-16 Thread Brandon Black
On 11/16/06, Nilson Santos Figueiredo Junior [EMAIL PROTECTED] wrote: On 11/16/06, Matt S Trout [EMAIL PROTECTED] wrote: Besides which, I've never yet seen a production application (and between Shadowcat's client portfolio I've seen not a small number thereof) where the dispatch overhead was

[Catalyst] Re: [Perl Plat_Form] Geneva team confirmed for the plat_form contest

2006-11-16 Thread Zbigniew Lukasiak
Hi all, This might be a shameless plugin - but I wander if you consider using Catalyst::Example::InstantCRUD for fast bootstrapping a bare bones app. I imagine that in the limited time it should be usefull. -- Zbyszek On 11/16/06, Dami Laurent (PJ) [EMAIL PROTECTED] wrote: Hi all, This

Re: Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Cory Watson
On 11/16/06, Carl Franks [EMAIL PROTECTED] wrote: snip It shows that in one circumstance, Catalyst is sadly slow. Let's fix that. Matt has just pointed out that Cat's optimised for large applications with lots of paths, and for flexible programming. Only fix it if that doesn't compromise

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Paul Makepeace
On 11/16/06, Christopher H. Laco [EMAIL PROTECTED] wrote: Regardless of whether the test is 'real world', and regardless of whether the frameworks 'were meant to serve more complicated things', Catalyst is slower in this instance. All things being unequal, if I tell my boss we have 3 frameworks

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Christopher H. Laco
Paul Makepeace wrote: On 11/16/06, Christopher H. Laco [EMAIL PROTECTED] wrote: Regardless of whether the test is 'real world', and regardless of whether the frameworks 'were meant to serve more complicated things', Catalyst is slower in this instance. All things being unequal, if I tell my

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Christopher H. Laco
Christopher H. Laco wrote: Paul Makepeace wrote: On 11/16/06, Christopher H. Laco [EMAIL PROTECTED] wrote: Regardless of whether the test is 'real world', and regardless of whether the frameworks 'were meant to serve more complicated things', Catalyst is slower in this instance. All things

[Catalyst] Cannot create a cache

2006-11-16 Thread Ian Docherty
I am trying to implement a cache with a Catalyst app running under Apache2 mod-perl and as far as I can tell the cache is clear at the start of each request. I have a hash which is acting as my cache but even if I put values into it, on the next request the hash is empty. Have I configured

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Jonathan Rockway
Paul Makepeace wrote: What world is this? The world that doesn't realise programmers are far more expensive than hardware? The world where bosses don't realise the cost of inflexibility? Bad programmers are cheap. Mediocre, unmaintainable, and inflexible applications are what the market

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Jonathan Rockway
Cory Watson wrote: My original intent was to prod someone that is knowledgeable enough of Catalyst's internals to criticize this benchmark's methods to create a benchmark that is more friendly to Catalyst's strengths. We've established that serving static content is not a fitting use. We've

Re: Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Cory Watson
On 11/16/06, Jonathan Rockway [EMAIL PROTECTED] wrote: Cory Watson wrote: My original intent was to prod someone that is knowledgeable enough of Catalyst's internals to criticize this benchmark's methods to create a benchmark that is more friendly to Catalyst's strengths. We've established

Re: [Catalyst] Non-real world irrelevant benchmarks

2006-11-16 Thread Nilson Santos Figueiredo Junior
On 11/16/06, Brandon Black [EMAIL PROTECTED] wrote: If template rendering speed might be a bottleneck for you, you may want to investigate ClearSilver. I haven't tried it yet myself, but I've heard good things about its performance, and there's already a Cat View for it. Its a bit different

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Jonathan Rockway
Cory Watson wrote: Rather than make an exhaustive reply to your response I'll attempt to put this to bed by merely stating that I think providing the Intarweb with a 'better' way to measure Catalyst's pefromance is more constructive than dismissing the way that results that were proffered.

[Catalyst] uri_for (or lack thereof) in static pages

2006-11-16 Thread Cédric Bouvier
I have a ѕimple yet thorny problem, which I expect most of you also have or had. It has several possible solutions, but I'm chiefly interested in knowing how *you* would solve it and why. We're developing a Catalyst application. It serves HTML, CSS, JavaScript, and images. HTML is the output of

[Catalyst] [ANNOUNCE] DBIx-Class-0.07003

2006-11-16 Thread Brian Cassidy
I'm pleased to announce that a new bugfix release of DBIx::Class is on its way to CPAN. Until it's indexed, you can grab the tarball at: http://pause.perl.org/incoming/DBIx-Class-0.07003.tar.gz http://files.danieltwc.com/DBIx-Class-0.07002.tar.gz This release contains the following changes

Re: [Catalyst] uri_for (or lack thereof) in static pages

2006-11-16 Thread apv
Something I have done and will probably do again (but I'm not using right now) is having static pages like that served by Catalyst the first time they are requested and then writing them to disk (as part of the end handler to let apache serve) them as static going forward. To update files, erase

Re: [Catalyst] uri_for (or lack thereof) in static pages

2006-11-16 Thread Ash Berlin
Cédric Bouvier wrote: I have a ѕimple yet thorny problem, which I expect most of you also have or had. It has several possible solutions, but I'm chiefly interested in knowing how *you* would solve it and why. We're developing a Catalyst application. It serves HTML, CSS, JavaScript, and images.

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread A. Pagaltzis
* Cory Watson [EMAIL PROTECTED] [2006-11-16 14:40]: I respectfully suggest that those who criticize his work should use their energies to /improve/ his test rather than merely dismissing it as worthless. Using his code as a base, couldn't one create a test that was more fair? Then someone

Re: [Catalyst] Cannot create a cache

2006-11-16 Thread Perrin Harkins
Ian Docherty wrote: I have a hash which is acting as my cache but even if I put values into it, on the next request the hash is empty. Are you aware that apache runs multiple processes and that each process has a different copy of your %cache variable? You will not get the same process each

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-11-16 16:45]: It's a world where PHBs often look at web stats and ask What the hell is this slow a lot more than they ask Why isn't the system flexible. If he decides it’s because the framework is slow and makes you switch, that means two things:

Re: [Catalyst] Non-real world irrelevant benchmarks

2006-11-16 Thread Perrin Harkins
Nilson Santos Figueiredo Junior wrote: Anyone knows how Mason compares to TT, performance-wise? There are some very old benchmarks here: http://chamas.com/bench/#2000 These are not ideal though, because they compare the cost of using Mason as your controller and templating system to the cost

[Catalyst] Re: using Plugin::Singleton and testing

2006-11-16 Thread A. Pagaltzis
* Daniel McBrearty [EMAIL PROTECTED] [2006-11-16 01:35]: a wonderful rant. except : he doesn't answer one basic question - what do you do when you genuinely do want only one instance to ever exist? A singleton is nothing but a global variable, except the identifier comes from the class

Re: [Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Cory Watson
On 11/16/06, A. Pagaltzis [EMAIL PROTECTED] wrote: * Cory Watson [EMAIL PROTECTED] [2006-11-16 14:40]: I respectfully suggest that those who criticize his work should use their energies to /improve/ his test rather than merely dismissing it as worthless. Using his code as a base, couldn't

[Catalyst] Re: Catalyst vs Rails vs Django Cook off

2006-11-16 Thread A. Pagaltzis
* Cory Watson [EMAIL PROTECTED] [2006-11-17 03:20]: On 11/16/06, A. Pagaltzis [EMAIL PROTECTED] wrote: If I say I'm afraid this pasta tastes so awful I just can't eat it, would you respond well at least [the cook] did prepare something! maybe you should stop mouthing off and do it better?

Re: [Catalyst] Re: using Plugin::Singleton and testing

2006-11-16 Thread Jonathan Rockway
On Thursday 16 November 2006 20:08, A. Pagaltzis wrote: A singleton is nothing but a global variable, except the identifier comes from the class namespace rather than the variable namespace. Put it in a global variable already. Not entirely true. Try this: $global = Oops, accidentally

Re: [Catalyst] Re: using Plugin::Singleton and testing

2006-11-16 Thread Adam Clarke
On 17/11/2006, at 4:37 PM, Jonathan Rockway wrote: On Thursday 16 November 2006 20:08, A. Pagaltzis wrote: A singleton is nothing but a global variable, except the identifier comes from the class namespace rather than the variable namespace. Put it in a global variable already. Not entirely