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 t

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 ove

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: > I tire of being repeatedly berated for thinking it would be > cool for someone to create a benchmark based on the criticisms > of those of you that can lend advice. Oh, no doubt that would be cool. Ponies are also cool. ;-) And since I'm n

[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 >>

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

[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 nam

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: 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 t

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
* 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 someon

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.

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

[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 TT

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] [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 This release contains the following changes f

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 t

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

2006-11-16 Thread Robert 'phaylon' Sedlacek
Cory Watson said: > It's more than > his naysayers have to done to show us how fast Catalyst is. 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 c

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 > establi

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'

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 d

[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 m

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.

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 te

Re: Re: [Catalyst] Non-real world irrelevant benchmarks

2006-11-16 Thread Marcus Ramberg
I've written high-traffic sites for my employer. TT hasn't really been a bottleneck for us. In my opinion, the most important thing is that stuff scale in a linear fashion, and that's usually easy to achive with Catalyst. Marcus On 11/16/06, Nilson Santos Figueiredo Junior <[EMAIL PROTECTED]> w

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: Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Cory Watson
On 11/16/06, Carl Franks <[EMAIL PROTECTED]> wrote: > 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 thi

[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: [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 overhea

[Catalyst] Geneva team confirmed for the plat_form contest

2006-11-16 Thread Dami Laurent \(PJ\)
Hi all, This is to confirm that I have the agreement of my organization for submitting a Geneva team for the plat_form contest (http://www.plat-forms.org/). The deadline for submission is in 2 weeks, so other teams, please wake up, so that we can show to the world that Perl is alive! Our prop

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: >> >> >

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 h

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 performanc

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 bottlene

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

2006-11-16 Thread Carl Franks
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 socks of

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. The first thing I noticed was that the content

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 t

[Catalyst] Re: Dojo madness

2006-11-16 Thread Toby Corkindale
On Wed, Nov 15, 2006 at 01:12:25PM -0800, John Costello wrote: > On Wed, 15 Nov 2006, Toby Corkindale wrote: > > > I'm totally stumped. I have two extremely simple webpages, one of which > > causes IE to crash with an error "Operation aborted", and another that > > works fine. > >[snip] I'll hunt

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

2006-11-16 Thread Carl Franks
On 16/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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/C

[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, acc