Re: [Catalyst] Using Catalyst with mod_per or FastCGI on heavy traffic web application

2010-01-30 Thread Hans Dieter Pearcey
Excerpts from xenoterrac...@gmail.com's message of Fri Jan 29 22:36:53 -0500 2010: Hmm. Perhaps i misunderstand the concept. I was thinking there was the third option of using a psgi server or mod psgi I didn't see any reference to either, but it doesn't matter; comparing either of those as

Re: [Catalyst] Using Catalyst with mod_per or FastCGI on heavy traffic web application

2010-01-29 Thread Hans Dieter Pearcey
Excerpts from xenoterrac...@gmail.com's message of Fri Jan 29 20:22:48 -0500 2010: Enlightening how do you feel about fastcgi vs psgi? This question makes no sense. How do you feel about HTML vs. HTTP? PSGI is an interface for Perl code. FastCGI is an interface for network communications.

Re: [Catalyst] mod_fcgid on win32

2010-01-28 Thread Hans Dieter Pearcey
Excerpts from Alexander Hartmaier's message of Thu Jan 28 09:00:28 -0500 2010: I'm running mod_fcgid on debian because it comes as a distro package while mod_fastcgi doesn't. Yes it does: http://packages.debian.org/search?keywords=libapache2-mod-fastcgi hdp.

Re: [Catalyst] mod_fcgid on win32

2010-01-28 Thread Hans Dieter Pearcey
Excerpts from Alexander Hartmaier's message of Thu Jan 28 09:29:42 -0500 2010: I've looked *multiple* times for it, but not in the non-free repo. Do you know why it is there? Probably because it has a weird license:

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread Hans Dieter Pearcey
Excerpts from Bill Moseley's message of Wed Jan 27 19:14:29 -0500 2010: I see. So you are saying that Content-Type: application/json might need to be deserialized differently in different applications that share the same interpreter? Obviously, json could decode into an array ref so that

Re: [Catalyst] How to de-serialize json?

2010-01-23 Thread Hans Dieter Pearcey
Excerpts from Bill Moseley's message of Sat Jan 23 19:45:28 -0500 2010: On Sat, Jan 23, 2010 at 1:40 PM, J. Shirley jshir...@gmail.com wrote: If I assume that decoding is synonymous with de-serialization, it makes more sense. At first thought, I just don't think they're that similar,

Re: [Catalyst] How to de-serialize json?

2010-01-23 Thread Hans Dieter Pearcey
Excerpts from Bill Moseley's message of Sat Jan 23 21:47:00 -0500 2010: On Sat, Jan 23, 2010 at 5:39 PM, Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.net wrote: Excerpts from Bill Moseley's message of Sat Jan 23 19:45:28 -0500 2010: With a jpeg I assume the content type would

Re: [Catalyst] Fat Model Methodology?

2010-01-21 Thread Hans Dieter Pearcey
Excerpts from Jeff Albert's message of Thu Jan 21 12:37:41 -0500 2010: should I create a separate 'application object' model which brokers requests from the Controllers and uses the DBIC model to implement them if they fit the application's logic? I'm a big fan of this; when your application

Re: [Catalyst] Catalyst::View::Email stopped working

2010-01-19 Thread Hans Dieter Pearcey
Excerpts from Charlie Garrison's message of Tue Jan 19 10:21:58 -0500 2010: Is this a bug with C::V::Email or Email::Sender, or am I doing something wrong? It's a bug in C::V::Email. I'm not sure who's fixing it. Downgrading to 0.13 should fix it. hdp.

Re: [Catalyst] lib question

2010-01-15 Thread Hans Dieter Pearcey
Excerpts from Dermot's message of Fri Jan 15 12:44:49 -0500 2010: I guess it just a matter of approach. The Makefile.PL has all_from 'lib/MyApp.pm'; so I guess that's what you mean by setting up @INC. I tend to execute prove from the top level directory as `prove -r t`. I guess I will

Re: [Catalyst] Bugzilla REST API in Catalyst

2010-01-11 Thread Hans Dieter Pearcey
Excerpts from Gervase Markham's message of Mon Jan 11 09:10:38 -0500 2010: hg co http://hg.mozilla.org/webtools/bzapi bzapi that's hg clone http://hg.mozilla.org/webtools/bzapi bzapi I suspect. hdp. ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-22 Thread Hans Dieter Pearcey
On Tue, Jun 23, 2009 at 01:33:01PM +1000, kakim...@tpg.com.au wrote: I ran perl Makefile.PL --bootstrap PREFIX=/home/kakimoto -- went OK Nothing in the documentation for local::lib OR the calendar entry you linked to says to use a PREFIX= parameter here. hdp.

Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-22 Thread Hans Dieter Pearcey
On Tue, Jun 23, 2009 at 01:45:09PM +1000, kakim...@tpg.com.au wrote: Yes, I actually tried doing it without PREFIX but it still didn;t work. Then I thought that since I installed perl modules into my home directory, maybe that's using the PREFIX would do the trick. If all you tell us about is

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

2009-06-12 Thread Hans Dieter Pearcey
On Fri, Jun 12, 2009 at 08:43:08AM +0300, Octavian Rasnita wrote: Could it be possible to use local::lib and specify that I want to skip the tests for the current module? This also doesn't have anything to do with local::lib. Look for 'notest' in the CPAN.pm docs. (This is a potentially bad

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread Hans Dieter Pearcey
On Fri, Jun 12, 2009 at 02:19:19PM +0100, Stefan Washietl wrote: The obvious thing exit(0); does not work. Any ideas how to do this? purl Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Is it making faces at you? Does it want more money? Is

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

2009-06-11 Thread Hans Dieter Pearcey
On Thu, Jun 11, 2009 at 09:23:41PM +0300, Octavian Râşniţă wrote: perl -MCPAN -Mlocal::lib=support -e CPAN::install(HTML::FormFu) The result: Database was generated on Thu, 11 Jun 2009 17:08:37 GMT HTML::FormFu is up to date (0.05000). But HTML::FormFu is not installed under the

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

2009-06-11 Thread Hans Dieter Pearcey
On Thu, Jun 11, 2009 at 10:46:49PM +0300, Octavian Râşniţă wrote: I discovered the problem. Moose requires a newer version of Class::MOP than the one I had it installed. I don't know why cpan didn't try to install the newer version, because I've seen that the newer version was required in

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

Re: [Catalyst] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

2009-06-09 Thread Hans Dieter Pearcey
On Tue, Jun 09, 2009 at 06:57:19PM +0100, Tomas Doran wrote: However most people don't actually install their applications (in a make install type way), and so this isn't so much of an issue for them... This is so strange to me; I *always* install my applications with make install, or make

Re: [Catalyst] Re: Lighttpd and mod_perlite

2009-06-08 Thread Hans Dieter Pearcey
On Mon, Jun 08, 2009 at 11:09:24PM +0200, Aristotle Pagaltzis wrote: What sort of requirements does FastCGI cover better in your experience? I don't know what Matt has in mind, but doing zero-downtime restarts with FastCGI over a unix socket is pretty easy because of filesystem semantics. hdp.

Re: [Catalyst] Mason + DBI + Catalyst?

2009-05-25 Thread Hans Dieter Pearcey
On Tue, May 26, 2009 at 12:35:45AM +0200, Daniel Carrera wrote: Is there any good documentation for Catalyst that is based on Mason? http://search.cpan.org/~flora/Catalyst-View-Mason-0.17/lib/Catalyst/View/Mason.pm Any suggestions? Nothing's stopping you from just using DBI.

Re: [Catalyst] Mason + DBI + Catalyst?

2009-05-25 Thread Hans Dieter Pearcey
On Mon, May 25, 2009 at 04:00:38PM -0700, J. Shirley wrote: The view should just be thin templates, in that regard I would recommend using Catalyst::View::MicroMason (http://search.cpan.org/~jrockway/Catalyst-View-MicroMason-0.05/lib/ Catalyst/View/MicroMason.pm) which wraps

Re: [Catalyst] Mason + DBI + Catalyst?

2009-05-25 Thread Hans Dieter Pearcey
On Tue, May 26, 2009 at 01:37:40AM +0200, Daniel Carrera wrote: Btw, why is it called DBIC if CPAN says DBIx::Class? For the same reason Mason isn't called HTML and Class::DBI isn't called Class. The first part of a module's namespace is not necessarily how people refer to it. Being able to

Re: [Catalyst] Run the test server on a different port than 3000

2009-05-21 Thread Hans Dieter Pearcey
On Thu, May 21, 2009 at 09:23:12PM +0300, Octavian Râşniţă wrote: I have Catalyst::Devel 1.15 and I have also force installed it again, but it gives the same error. You forgot to read the whole message: Update Catalyst::Devel to at least 1.15 and regenerate your scripts,

Re: [Catalyst] How to bind an array using my own schema

2009-05-13 Thread Hans Dieter Pearcey
On Wed, May 13, 2009 at 11:10:01AM -0700, Jakub Tutaj wrote: Is it possible to bind an array in code like below? Binding simple variables works perfectly... You meant to ask this question on the dbix-class mailing list; there isn't any Catalyst-related content here. hdp.

Re: [Catalyst] Handling of keywords for controller methods

2009-05-11 Thread Hans Dieter Pearcey
On Mon, May 11, 2009 at 06:13:19PM +0100, Matt S Trout wrote: That's a bug, the attribute should -not- be called 'actions'. Or, at least, its accessor shouldn't. (Naming the attribute itself 'actions' vs. '_actions' is a matter of taste.) hdp. ___

Re: [Catalyst] unknown resource

2009-05-02 Thread Hans Dieter Pearcey
On Sat, May 02, 2009 at 06:17:19PM +0300, Octavian Râşniţă wrote: Yes, this was the problem. I made some tests and I came to the conclusion that Catalyst responds to all those URIs which don't have a distinct Alias when it is used with fastcgi, no matter if they are handled by other

Re: [Catalyst] website member urls

2009-04-29 Thread Hans Dieter Pearcey
On Wed, Apr 29, 2009 at 05:31:43PM -0300, Fernan Aguero wrote: On Wed, Apr 29, 2009 at 5:23 PM, Charles cshtr...@yahoo.com wrote: I'd like someone w/ better catalyst-fu to recommend how I could implement urls for members a la myspace and youtube ( ie  http://websiteurl.com/membername ) .

Re: [Catalyst] website member urls

2009-04-29 Thread Hans Dieter Pearcey
On Wed, Apr 29, 2009 at 04:42:08PM -0400, Hans Dieter Pearcey wrote: sub member : Chained(/) Args(1) { my ($self, $c, $id) = @_; ... } duh, with PathPart('') also. hdp. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Migrating mod_perl app to Catalyst

2009-04-27 Thread Hans Dieter Pearcey
On Mon, Apr 27, 2009 at 01:54:12PM -0500, Michael Reddick wrote: Does anyone have any advice for migrating a large mod_perl app that has no tests to catalyst? Write some tests with Test::WWW::Mechanize first; they should be relatively easy to port to Catalyst tests once you swap it in. hdp.

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread Hans Dieter Pearcey
On Sat, Apr 25, 2009 at 06:29:50AM -0700, Bill Moseley wrote: The SSL decryption is happening on Apache and Apache is proxying the request to Catalyst. What? No it isn't. It's using mod_perl; there's no reverse proxying going on from the config snippet pasted. Also, this means that

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread Hans Dieter Pearcey
On Sat, Apr 25, 2009 at 05:46:55PM -0700, seasproc...@gmail.com wrote: Dear original poster: is Apache2::ModSSL installed? No, it's not. Should it be? Other than to avoid this issue? I have no idea; the code I pasted from Engine::Apache uses it as its preferred method of determining

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-23 Thread Hans Dieter Pearcey
On Thu, Apr 23, 2009 at 08:46:29AM -0700, John Napiorkowski wrote: And in particular my first swing at something we can use as a press release and send to all the usual suspect (Slashdot, Digg, etc): http://dev.catalystframework.org/wiki/releaseannouncements/58pressrelease Most of your

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-23 Thread Hans Dieter Pearcey
On Thu, Apr 23, 2009 at 10:19:50AM -0700, John Napiorkowski wrote: I'm not sure what you mean by tl;dr too long, didn't read. Big blocks of text. You could probably split each of those paragraphs up so that people's eyes don't get lost in the middle. Moose Object Development Environment:

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-23 Thread Hans Dieter Pearcey
On Fri, Apr 24, 2009 at 12:14:00AM +0200, Zbigniew Lukasiak wrote: ... the revolutionary Moose Object system, the most advanced Object Oriented framework for any major scripting language I would change that to 'one of the most advanced' - less flame igniting (and by the way Perl 6 probably

Re: [Catalyst] Catalyst::Controller::REST + use Catalyst qw/Server Server::XMLRPC/ = Error

2009-04-08 Thread Hans Dieter Pearcey
On Wed, Apr 08, 2009 at 06:00:36PM -0700, Bruce McKenzie wrote: Note that if you have a custom request class in your application, and it does not inherit from CCatalyst::Request::REST, your application will fail with an error indicating a conflict the first time it tries to use

Re: [Catalyst] How to do REST without deserializing uploaded files (PUT)

2009-03-31 Thread Hans Dieter Pearcey
On Tue, Mar 31, 2009 at 09:03:15PM -0700, Bruce McKenzie wrote: Is there a way to declare some paths as NOT subject to deserialization? The reason I ask is that I want it for most everything...just not for a few paths. Instead of deserializing in begin() (as C::C::REST does for you), this might

Re: [Catalyst] DELETE through REST and Jemplate

2009-03-30 Thread Hans Dieter Pearcey
On Mon, Mar 30, 2009 at 10:46:57AM -0700, J. Shirley wrote: On Mon, Mar 30, 2009 at 10:31 AM, Emmanuel Quevillon t...@pasteur.fr wrote: function remove_item(id){ Jemplate.process('test.tt2', '[% Catalyst.uri_for(/rest/item/) %]'+id,

[Catalyst] Re: Catalyst::Controller::REST and Data::Denter

2009-03-25 Thread Hans Dieter Pearcey
On Thu, Mar 26, 2009 at 01:11:13AM -0400, Hans Dieter Pearcey wrote: Data::Denter was last uploaded in 2002, when it was marked with a big DEPRECATED warning. Does anyone actually use it? I'd like to remove support for it from C::C::REST. Whether or not anyone uses it, I'm removing

[Catalyst] Catalyst::Controller::REST and Data::Denter

2009-03-25 Thread Hans Dieter Pearcey
Data::Denter was last uploaded in 2002, when it was marked with a big DEPRECATED warning. Does anyone actually use it? I'd like to remove support for it from C::C::REST. hdp. ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] Re: (OT) Navigation parameters in session

2009-02-26 Thread Hans Dieter Pearcey
On Fri, Feb 27, 2009 at 08:12:55AM +0100, Zbigniew Lukasiak wrote: Thanks for you all for the arguments. The crazy thing is that they believe that with some Javascript magic we'll be able to manage the multiple tabs and back button problem. And now you have three problems. hdp.