Re: framework for modperl applications

2008-07-24 Thread Aaron Trevena
2008/7/17 Perrin Harkins <[EMAIL PROTECTED]>: > On Thu, Jul 17, 2008 at 11:52 AM, <[EMAIL PROTECTED]> wrote: >> Other than Catalyst, do you have any other framework suggested for MP >> applications? > > http://perl.apache.org/products/app-server.html I would also suggest : http://www.perlfoundat

Re: Help write the mod_perl wiki page at the perl 5 wiki

2008-05-15 Thread Aaron Trevena
2008/5/15 Perrin Harkins <[EMAIL PROTECTED]>: >> it would be good if we could add more information about mod_perl and how to >> use it : >> * Good Articles >> * Relevent Books >> * Recomended Techniques and Practices (i.e. reverse proxy, Apache::DBI, >> gotchas) >> * Differences between API of 1.

Help write the mod_perl wiki page at the perl 5 wiki

2008-05-15 Thread Aaron Trevena
Hi all, I've added a little to the stub at http://www.perlfoundation.org/perl5/index.cgi?mod_perl, but it would be good if we could add more information about mod_perl and how to use it : * Good Articles * Relevent Books * Recomended Techniques and Practices (i.e. reverse proxy, Apache::DBI, gotch

Re: Amazon

2008-03-02 Thread Aaron Trevena
On 29/02/2008, Fred Moyer <[EMAIL PROTECTED]> wrote: > Jonathan Vanasco wrote: > > > > i see a lot more ruby jobs right now. > > ruby is getting a big rise in usage, perl has plateaued > > > http://blog.timbunce.org/2008/02/12/comparative-language-job-trend-graphs/ > > 'It turns out tha

Re: Amazon

2008-02-26 Thread Aaron Trevena
On 26/02/2008, Michael Lackhoff <[EMAIL PROTECTED]> wrote: > Of course you are right, Perl is totally up to the task, that's why we > are here, aren't we? ;-) > The other posters are also right, there is lots of community, lots of > CPAN and still enough books... > > ...but > Perl is no longer

Re: Amazon

2008-02-26 Thread Aaron Trevena
On 23/02/2008, Michael Lackhoff <[EMAIL PROTECTED]> wrote: > - Perl usage is declining. I read some statistics from O'Reilly and > they showed that Perl book sales are going down. > A few years ago the 'P' in LAMP clearly was 'Perl', now it is 'PHP' > in most cases. Developers tend to

Apache::Upload / tempname vs link vs slurping fh

2007-10-30 Thread Aaron Trevena
Hi all, I'm planning on changing an existing mod_perl application to distribute images across the cluster as they are uploaded rather than using rsync afterwoods. Currently the code uses the "slurp fh, print to another file" recipe which seems incredibly inefficient. The "correct" way seems to b

Re: mod_perl MVC framework.

2007-10-30 Thread Aaron Trevena
On 24/10/2007, Tyler Bird <[EMAIL PROTECTED]> wrote: > We are having difficulty finding a good MVC framework for perl. Um...? There are an abundance, listed in CPAN, articles about them are on perl.com, and the mod_perl page has a list. > I have looked at HTML::Mason and the template toolkit toda

Re: Memory usage

2007-09-13 Thread Aaron Trevena
Hi Will, How many keys will your hashes contain? The main memory wastage with hashes isn't due to the size of what you keep in them but the number of keys. If you are using integers as keys, why not just use an array? Bare in mind that the 'hashspace' is shared between your hashes, so if you ha

Re: mod_perl forking and DBD::Pg prepared statement problem

2007-05-31 Thread Aaron Trevena
On 31/05/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: aaron- I think this may be more of a Maypole design issue than a mod_perl issue -- although there may also be a bit of an application design issue on your part ( which some of your wording suggests ) , and there may be a dbd::pg issue as

mod_perl forking and DBD::Pg prepared statement problem

2007-05-31 Thread Aaron Trevena
Hello you wonderful helpful people :) I've just moved a web application (maypole/c::dbi) from one development server to another, previously the code worked fine but now I get : 'prepared statement "dbdpg_1" does not exist' on every (prepared) query to the database. There only are two difference

Re: Sample Web Application that uses mod_perl

2007-02-22 Thread Aaron Trevena
On 22/02/07, David Scott <[EMAIL PROTECTED]> wrote: mod_perl has been out for over 10 years. There are a couple of O'Reilly books that describe it in detail. The book you probably want to look at is "Writing Apache Modules with Perl and C" by Lincoln Stein and Doug MacEachern, which came out in

Re: Sample Web Application that uses mod_perl

2007-02-21 Thread Aaron Trevena
On 21/02/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: On 2/21/07, Aaron Trevena <[EMAIL PROTECTED]> wrote: > Who do I prod to get it updated? http://perl.apache.org/contribute/docs.html :) ooh SVN... Bugger, now I'll have to write it myself won't I. A. -- http

re: Sample Web Application that uses mod_perl

2007-02-21 Thread Aaron Trevena
On 20/02/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: On 2/19/07, aqua <[EMAIL PROTECTED]> wrote: > Could you please let me know if there are any simple sample (complete) application available on the net with a HTML form and update the same in a (MySQL) database. This is a good place to look:

Re: using subrequest to different server

2006-12-07 Thread Aaron Trevena
On 06/12/06, Marc Lambrichs <[EMAIL PROTECTED]> wrote: I'm trying to change a subrequest to do a request to a different server than the originating one. I'm not sure if this is possible. Anyway, I've skipped the internal_redirect because - am I correct? - this is bound to the originating server.

Re: Can't locate "FIRSTKEY" error

2006-09-13 Thread Aaron Trevena
On 13/09/06, Perrin Harkins <[EMAIL PROTECTED]> wrote: On Wed, 2006-09-13 at 16:27 +0100, Aaron Trevena wrote: > Currently I don't have mp2 installed anywhere to hand, and the mp2 > code was all tested when I was developing against an mp2 system. Maybe the guy who reported

Re: Can't locate "FIRSTKEY" error

2006-09-13 Thread Aaron Trevena
On 13/09/06, Randy Kobes <[EMAIL PROTECTED]> wrote: On Wed, 13 Sep 2006, Aaron Trevena wrote: > ..Which means installimg mod_perl 2.x in various ways and hoping to > replicate the error. Oh Joy. I don't think this suggestion involves reinstalling mp2, or even altering an

Re: Can't locate "FIRSTKEY" error

2006-09-13 Thread Aaron Trevena
On 13/09/06, Randy Kobes <[EMAIL PROTECTED]> wrote: Within Apache::MVC, at the start where it requires a bunch of mp2 modules, does adding require APR::Table; help? I'll try it. ..Which means installimg mod_perl 2.x in various ways and hoping to replicate the error. Oh Joy. A. -- http://

Can't locate "FIRSTKEY" error

2006-09-12 Thread Aaron Trevena
Hello funky mod_perl people, I've had a few people report the following problem when using mod_perl 2.x and Maypole. As far as I can see Maypole isn't doing anything wrong yet we get the following error: Can't locate object method "FIRSTKEY" via package "APR::Table" at /usr/src/maypole/lib/Apac