[Catalyst] FormFu vs. FormBuilder ...

2009-06-10 Thread Kiffin Gish
What are the advantages/disadvantages for choosing between Catalyst::Controller::FormBuilder and Catalyst::Controller::HTML:FormFu? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] FormFu vs. FormBuilder ...

2009-06-10 Thread Zbigniew Lukasiak
On Wed, Jun 10, 2009 at 9:00 AM, Kiffin Gishkiffin.g...@planet.nl wrote: What are the advantages/disadvantages for choosing between Catalyst::Controller::FormBuilder and Catalyst::Controller::HTML:FormFu? Those two are not the only options. Have a look at:

Re: [Catalyst] FormFu vs. FormBuilder ...

2009-06-10 Thread Carl Franks
2009/6/10 Kiffin Gish kiffin.g...@planet.nl: What are the advantages/disadvantages for choosing between Catalyst::Controller::FormBuilder and Catalyst::Controller::HTML:FormFu? CGI::FormBuilder, HTML::FormFu and the myriad other form modules each approach the problem in rather different ways,

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
On Tue, Jun 9, 2009 at 10:26 PM, Tomas Doran bobtf...@bobtfish.net wrote: This (and the ugly password box) is why most 'internet' websites implement auth with a login form - you can be a lot more flexible about the level of user-authenticity you require at each stage... Thanks for the

[Catalyst] SOLVED Re: 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
2009/6/9 Francesc Romà i Frigolé francesc.roma+catal...@gmail.comfrancesc.roma%2bcatal...@gmail.com I'm trying the new feature $c-req-remote_user introduced in 5.80005. I'd like to know if it is possible to tell apache, in a .htaccess file, to not ask authentication for a certain set of URIs

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Charlie Garrison
Good evening, On 10/06/09 at 10:40 AM +0200, Francesc Romà i Frigolé francesc.roma+catal...@gmail.com wrote: 1) static performance: serving static files directly from apache is much faster than through catalyst. I find it specially noticeable with big files like large pictures and pdfs. Some

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Tomas Doran
On 10 Jun 2009, at 06:23, kmx wrote: Erm, no - $c-authenticate will _always_ succeed if you're using Credential::Remote, as the web server above you will have always authenticated you already.. In fact there are some situations where Credential::Remote's authenticate(..) can fail: One

Re: [Catalyst] Session id creation

2009-06-10 Thread Tomas Doran
On 6 Jun 2009, at 23:57, Bill Moseley wrote: In other words, it provides a way for users to generate their own session ids as long as it passes the validate_session_id method, which doesn't take much. http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session/

Re: [Catalyst] FormFu vs. FormBuilder ...

2009-06-10 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 9:00 AM, Kiffin Gish kiffin.g...@planet.nl wrote: What are the advantages/disadvantages for choosing between Catalyst::Controller::FormBuilder and Catalyst::Controller::HTML:FormFu? FormBuilder is popular because is an older and stable project. It doesn't seem very

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 11:07 AM, Charlie Garrison garri...@zeta.org.auwrote: You might be looking for mod_auth_tkt. There is also x-sendfile but I don't have experience with that one. mod_auth_tkt looks interesting but I wonder if it would interrupt the normal flow of the application in

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 11:17 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 10 Jun 2009, at 09:40, Francesc Romà i Frigolé wrote: 1) static performance: serving static files directly from apache is much faster than through catalyst. I find it specially noticeable with big files like large

Re: [Catalyst] SOLVED Re: 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 11:20 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 10 Jun 2009, at 10:04, Francesc Romà i Frigolé wrote: Also, in the static directory I could leave some things public ( css, javascript, icons...) but make other private ( uploads, reports, ...) by placing a

[SPAM] Re: [Catalyst] Session id creation

2009-06-10 Thread kmx
http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session/0.00/trunk/t/live_session_fixation.t I specifically wrote a test for this, however it's a test and not comprehensive, and I can't see without spending time to take a detailed look again if your case is proved or disproved

Re: [Catalyst] FormFu vs. FormBuilder ...

2009-06-10 Thread Dermot
2009/6/10 Francesc Romà i Frigolé francesc.roma+catal...@gmail.com: HTML:FormFu? FormBuilder is popular because is an older and stable project. It doesn't seem very active anymore though. It's my understanding that the developer of FormBuilder does not work with Perl any more. FormBuilder is

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Tomas Doran
Francesc Romà i Frigolé wrote: It looks very interesting but I wonder if my shared host provider (asmallorange) would agree to install it. You're worrying about the efficiency of pushing bytes around, but you're using shared hosting. Surely this is premature optimisation? Cheers t0m

Re: [Catalyst] Session id creation

2009-06-10 Thread Bill Moseley
On Wed, Jun 10, 2009 at 10:26:36AM +0100, Tomas Doran wrote: I specifically wrote a test for this, however it's a test and not comprehensive, and I can't see without spending time to take a detailed look again if your case is proved or disproved by this test. This is a problem in our code

[Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Patricio A. Bruna
wich methods do you use to distribute a catalyst application from on box to another. and suposse this box has diferent operating system, i ment one has suse and the other redhat. what are you recomendations Patricio Bruna V. IT Linux Ltda.

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 1:55 PM, Tomas Doran bobtf...@bobtfish.net wrote: You're worrying about the efficiency of pushing bytes around, but you're using shared hosting. Surely this is premature optimisation? t0m, The applications I'm writing are expected to have a relatively small number

Re: [Catalyst] Session id creation

2009-06-10 Thread Bill Moseley
On Wed, Jun 10, 2009 at 07:40:44AM -0700, Bill Moseley wrote: [1] Yes, it's a store, not a cache. Ha! Morning post. It's a cache not a store. But we use it as a store. -- Bill Moseley. mose...@hank.org Sent from my iMutt ___ List:

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Tomas Doran
Francesc Romà i Frigolé wrote: The applications I'm writing are expected to have a relatively small number of users. From my experience so far the performance is quite good on a shared hosting as long as I serve the static content from outside Catalyst. Otherwise performance degrades

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 5:33 PM, Tomas Doran bobtf...@bobtfish.net wrote: Francesc Romà i Frigolé wrote: The applications I'm writing are expected to have a relatively small number of users. From my experience so far the performance is quite good on a shared hosting as long as I serve the

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Tomas Doran
Patricio A. Bruna wrote: wich methods do you use to distribute a catalyst application from on box to another. and suposse this box has diferent operating system, i ment one has suse and the other redhat. what are you recomendations Don't do that. Having an app balanced across two totally

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-10 Thread Tomas Doran
Francesc Romà i Frigolé wrote: I did my tests some months ago with smaller files (1-5 MB) and I don't remember the exact results now, but I clearly remember that it made a very significant difference. Hmm, well, with smaller files you have tcp slow start, and other effects that can cloud

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Patricio A. Bruna
Maybe i explain wrong. I did not mean load balance, i meant deployment. i develop my app on my box, and then i need to deploy it on the production server, with the same operating system. downloading all the modules from cpan is time consuming, are any better way?

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Tomas Doran
Patricio A. Bruna wrote: Maybe i explain wrong. I did not mean load balance, i meant deployment. i develop my app on my box, and then i need to deploy it on the production server, with the same operating system. downloading all the modules from cpan is time consuming, are any better way?

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Hans Dieter Pearcey
On Wed, Jun 10, 2009 at 08:14:10PM +0300, Octavian Râşniţă wrote: BTW, regarding local::lib, does anyone know how can I force install a module that gives an error under Windows when I use it? The same way you force install anything using the CPAN shell. CPAN force install Some::Module hdp.

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Octavian Râşniţă
From: Tomas Doran bobtf...@bobtfish.net Patricio A. Bruna wrote: Maybe i explain wrong. I did not mean load balance, i meant deployment. i develop my app on my box, and then i need to deploy it on the production server, with the same operating system. downloading all the modules from cpan is

Re: [Catalyst] Best practice: How to build app parts reusable?

2009-06-10 Thread Robert Krimen
On Tue, Jun 9, 2009 at 1:39 PM, Tomas Doran bobtf...@bobtfish.net wrote: This is neat, but in no way taking advantage of the new Moose code. I have some code in the CatalystX::DynamicComponent namespace meant to solve this problem:

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Octavian Râşniţă
From: Stuart Watt Why would you do that? If the module you're installing fails its tests, you should file a bug report. What kind of error? IME you shouldn't ever want to or need to force install a module. This should be a *colossal* red flag to you. ... /joel It is very possible

Re: [Catalyst] how do you distribute a catalyst app

2009-06-10 Thread Hans Dieter Pearcey
On Wed, Jun 10, 2009 at 10:33:26PM +0300, Octavian Râşniţă wrote: When using this syntax, where can I specify the local path where I want to install the Some::Module? You never do that with local::lib. It sets up the env variables for you (PERL_MM_OPT and MODULEBUILDRC) -- CPAN.pm doesn't