On Thu, 2006-06-22 at 14:01 -0500, [EMAIL PROTECTED] wrote:
Or have the first hit after the expire set the expire time counter to the
next interval so the next hit does not even think to rebuild. Then you can
also rebuild the cache to a temp name and overwrite the current cache when
it is
Toby Corkindale wrote:
Perrin Harkins wrote:
FYI, that's how Mason does it.
What is the behaviour for the first and second requests, before there is
*any* cached content available?
In Mason? The same as any other request for un-cached content. You can
read the code and docs here:
http
Toby Corkindale wrote:
One of the aims of my patch is to avoid the expense of having numerous
processes produce the same code simultaneously. So on the initial bunch
of requests, I'll still try and have the code delay all-but-one of them
from building the page.
Presumably this only happens
A. Pagaltzis wrote:
Yes. I take his argument as being that FastCGI has the
application running in a separate process that can’t be
communicated with in absence of a webserver because there aren’t
any utilities that speak FastCGI directly, and if the connection
between the webserver and the
On Tue, 2006-08-08 at 12:33 -0400, Christopher H. Laco wrote:
http://weblog.rubyonrails.org/2006/8/7/ruby-on-rails-will-ship-with-os-x-10-5-leopard
If the experience of Perl being shipped with OS X is any indication,
about 30 seconds after the release of Leopard they can expect to see
hundreds
Matt S Trout wrote:
Axkit2 looks like it'll be a lovely candidate for a production-quality
scalable standalone server, although it's a single-process affair with
optional forking so we'll need to figure out how to manage that appropriately
to maximise performance.
I've been having some
Len Jaffe wrote:
Isn't that the whole point of this architecture.
The lightweight daemon that listens on port 80 either serves static
content,
or asks the heavy app server process to do some work.
That way you have a whole bunch of light processes serving the static
stuff,
and fewer
FYI, I asked about this in the journal comments and it sounds like
shipping off database queries (and presumably any other blocking I/O) to
a separate mod_perl/PPerl/whatever is the likely route.
http://use.perl.org/comments.pl?sid=32713cid=49605
- Perrin
Matt S Trout wrote:
Perrin Harkins wrote:
FYI, I asked about this in the journal comments and it sounds like
shipping off database queries (and presumably any other blocking I/O) to
a separate mod_perl/PPerl/whatever is the likely route.
That's not really what he says; the idea is to have
On Thu, 2006-09-14 at 06:33 -0700, Bill Moseley wrote:
My current suggestion is for them (well, me) to put all their content
under subversion and bite the bullet and learn how to use the shell
(ok, the Windows users can use TortoiseSVN). [1]
TortoiseSVN is pretty nice, and should be similar
On Thu, 2006-09-14 at 11:22 -0700, Bill Moseley wrote:
On Thu, Sep 14, 2006 at 01:45:39PM -0400, Perrin Harkins wrote:
TortoiseSVN is pretty nice, and should be similar enough to FTP for them
to get it. They will not be able to use it from internet cafes though.
What's that limitation
Peter Karman wrote:
Patch below allows Compress::Deflate plugin to play nicely with
Static::Simple
and to allow for skipping deflation based on browser. Specifically, we found
issues with older versions of IE that claimed to deal with the deflate
encoding
but balked.
Does this mean you
Nilson Santos Figueiredo Junior wrote:
I've got pages that take 3-4 seconds to render with a single user
using the application while the database query takes something between
0.15-0.20s to complete.
How are you measuring those query times? The DBI profiler is a good
idea, if you haven't
Jonathan Rockway wrote:
Maybe it'd be nice if someone came up with a faster drop-in
replacement for TT... any volunteers? ;-)
I also noticed that TT is way too slow and am already working on it.
I think you'll have a very hard time doing it, unless you drop some of
the most popular
On Fri, 2006-10-27 at 10:56 -0500, Jonathan Rockway wrote:
Keep in mind that although ClearSilver isn't as syntactically
expressive, it is *much* faster. There's a reason Google and Yahoo use
ClearSilver and not TT.
I had lunch with Rasmus Lerdorf at ApacheCon a couple weeks ago and he
told
On Fri, 2006-10-27 at 11:41 -0500, [EMAIL PROTECTED] wrote:
I guess: s/Google and Yahoo use ClearSilver and not TT./Google uses
ClearSilver and Yahoo is no where near #1 in search (php)./
The only thing I see mention of Google using it for is Google Groups,
their Usenet thing. Yahoo gets
On Fri, 2006-10-27 at 13:14 -0400, Max Afonov wrote:
Why don't I _ever_ hear about Mason on this list?
Possibly because if you already use Mason, you don't have much use for
Catalyst, and vice versa? There's a lot of overlap in functionality
between the two, especially in terms of controller
A. Pagaltzis wrote:
TT2 provides a single minilanguage for both, which is
unnecessarily powerful and verbose for the 18% and way
underpowered for the 2%.
You're only supposed to use the TT language for simple things. Hairy
things are supposed to be encapsulated in plugins, written in Perl.
On Sun, 2006-10-29 at 18:05 +, Jon Warbrick wrote:
If considering Mason as a templating language for Catalyst, it's worth
looking at Text::MicroMason (and Catalyst::View::MicroMason).
Agreed. Mason is not just a templating system but rather a full web
development framework, and you will
On Wed, 2006-11-01 at 17:17 +0100, A. Pagaltzis wrote:
* Perrin Harkins [EMAIL PROTECTED] [2006-10-28 06:05]:
You're only supposed to use the TT language for simple things.
Hairy things are supposed to be encapsulated in plugins,
written in Perl.
That makes a certain amount of sense; I
On Fri, 2006-11-03 at 15:29 +0100, A. Pagaltzis wrote:
I know I wouldn’t miss plugins. If expressions were Perl, I’d
simply be using modules. Plugins are just an artifact of having
an extensive mini language.
When I say plugins, I mean it in the broadest sense. I usually just
use modules.
On Tue, 2006-11-07 at 13:31 -0800, Andrew Peebles wrote:
Want to run apache on bare machine inside DMZ.
Want to run MyApp on second machine, outside the DMZ.
Will use FastCgiExternalServer to accomplish this.
MyApp's static content is on second machine, not visible on apache
machine's file
On Fri, 2006-11-10 at 12:08 -0200, Nilson Santos Figueiredo Junior
wrote:
On 11/10/06, Matt S Trout [EMAIL PROTECTED] wrote:
Don't believe so, and it's audreycode so *usually* works first time. Plus I
know a few active users in the Cat community and it's getting lots of use in
Jifty, so I'm
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
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
Daniel McBrearty wrote:
Some of my tests give this warning, lots :
Called UNIVERSAL::can() as a function, not a method at
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi/Template/Provider.pm
line 277
This is because you have installed chromatic's UNIVERSAL::can module.
Maybe
Tobias Kremer wrote:
This sounds like a cool idea. However, I must admit that I don't fully
understand it. Can you give an example of what your metadata files contain?
Sure. In some cases, we let people use the CMS to choose which fields
will be required on a form. The application needs to
Michael Reece wrote:
PerlModule MyApp
Try this instead:
Perl
use MyApp;
/Perl
Or do that in a separate startup.pl script called from httpd.conf with
PerlScript.
- Perrin
___
List: Catalyst@lists.rawmode.org
Listinfo:
Michael Reece wrote:
that works! do you know why this makes a difference?
I believe it's a bug in the way PerlModule works. It should be the same
thing as a use but it doesn't seem to respect the module already being
in %INC in the same way. This may be fixed in recent versions of
John Napiorkowski wrote:
One thing that would help with this is if there was
some clear instructions about how to add external perl
modules to a global namespace in Catalyst. I find I
end up with:
package myapp::Controller::foo;
use Other::Module;
use Another::Usefull::Module;
at the top of
Ian Docherty wrote:
Is it possible to do coverage tests in a Catalyst application? If so
how? I can't find any references that help.
If you're using mod_perl, there is a brief section in the Devel::Cover
man page that tells you how to do it.
- Perrin
Nilson Santos Figueiredo Junior wrote:
c) write a TT plugin.
[...]
c is arguably clumsy and not practical at all.
It can be really easy to add custom view code to TT templates. You can
immediately load any class and just call it:
[% USE MyView %]
[% MyView.method(arg) %]
If it supports
Nilson Santos Figueiredo Junior wrote:
On 12/5/06, Perrin Harkins [EMAIL PROTECTED] wrote:
It can be really easy to add custom view code to TT templates. You can
immediately load any class and just call it:
[% USE MyView %]
[% MyView.method(arg) %]
Yes, but you'd need to manually use
Octavian Rasnita wrote:
Which of Fast CGI and mod_perl do you recommend for using with Catalyst?
This has been discussed before on the list pretty thoroughly. Please
see the archives.
- Perrin
___
List: Catalyst@lists.rawmode.org
Listinfo:
Xavier Robin wrote:
I mean, my application died once before the rollback and everything went
wrong. I think this is because Catalyst connects only once, so all the work
is done under the same connexion.
That doesn't really make sense. It can't use the same connection from
different
Ian Docherty wrote:
I used URI session variables previously where cookies were not
available. It occurs to me that if the are being used to have separate
sessions for each tab or window then the security issues could be
eliminated by making the session a combination of a cookie (fixed for
all
Octavian Rasnita wrote:
Well, it seems that Internet Explorer doesn't work that way.
Sometimes it does. It depends on whether you open new windows from the
File menu or an existing browser (or right click on a link) or by
starting a new browser from your IE icon.
No cookie file was
On Mon, 2007-01-08 at 23:34 +0200, Octavian Rasnita wrote:
And I think this is what is wanted, because I can't see other needs for
having 2 separate sessions on the same computer.
Go back and read the original post again. The problem is with storing
non-global information, like the current
Carl Franks wrote:
Can you describe how to replicate this behaviour?
You just did. You had two windows open, and both of them worked.
When I clicked the View edit your browsing history link in each
window, they both displayed all the books I had viewed in /both/
windows - which as far as I
On Wed, 2007-01-10 at 22:20 +0200, Octavian Rasnita wrote:
I guess that authorizing the users, then read() -ing the selected file and
serving to the browser is not very efficient, especially under mod_perl.
Is there a better way?
Yes. Writing an auth handler and then letting the normal
On Wed, 2007-01-10 at 23:36 +0200, Octavian Rasnita wrote:
Ok, thanks for suggestion.
Unfortunately I don't know how to use a proxy - reverse proxy server at all,
so I'll need to also learn that.
If you're serving static files and running mod_perl without a reverse
proxy, that should be the
On Thu, 2007-01-11 at 00:38 +0200, Octavian Rasnita wrote:
Sorry for off topicness, but please tell me, does it have a bad effect if
the files are just some files sitting in a directory, and they are served by
apache directly, with no relations with the directories that are handled by
a
On Mon, 2007-01-15 at 11:35 +0100, Robert 'phaylon' Sedlacek wrote:
To summarize (again): The benchmark doesn't benchmark Catalyst, only
it's dispatcher
I think it's a lame benchmark too, but isn't a dispatcher mostly what
Catalyst is? DBIx::Class and TT are not Catalyst, as people often
On Mon, 2007-01-15 at 13:24 +0100, Robert 'phaylon' Sedlacek wrote:
Daniel McBrearty wrote:
Personally, I don't care about templating and ORM benchmarks,
why not?
Well, templating benchmarks maybe, but for an ORM I just have the
feeling the larger factor is how you use it, not which.
On Mon, 2007-01-15 at 14:51 +0200, Octavian Rasnita wrote:
I would like to say that it is not true, but I cannot see any benchmarks
I don't think anyone disputes that Perl (and Python and Java) are much
faster than Ruby. You can find benchmarks showing that all over the
web. The RoR boosters
Robert 'phaylon' Sedlacek wrote:
Perrin Harkins wrote:
I think it's a lame benchmark too, but isn't a dispatcher mostly what
Catalyst is? DBIx::Class and TT are not Catalyst, as people often
mention on the list.
I wouldn't say so. You can build applications that only use the
dispatcher
Thomas Hartman wrote:
If the only with your script is the user has to know to accept the
defaults, you may want to have a look at:
http://search.cpan.org/~mschilli/Sysadm-Install-0.22/lib/Sysadm/Install.pm
See also Expect. We use it in our installer script to deal with
chatty module
On Wed, 2007-01-17 at 15:03 +0100, Thomas Hartman wrote:
Is your cat installer script available to the public?
It's not a Cat installer, but it is available to the public. This is
the installer for the Krang CMS, and you can see an example of how it
uses Expect here:
On Wed, 2007-01-17 at 15:12 +0100, Robert 'phaylon' Sedlacek wrote:
When I request a resource from a Catalyst application, two things are
executed: The framework logic, and my application logic. But this is not a
first the one, then the other execution. During the request, the
framework calls
On Wed, 2007-01-17 at 19:24 +0100, Sébastien Wagener wrote:
On my production server, database requests are usually quite fast, so
most of the time is spent in perl code, and here are the first lines of
a dprofpp -r on my local 2.8 Ghz Laptop (production database,
Algorithm::C3 0.06, mod_perl
On 2/8/07, Fayland Lam [EMAIL PROTECTED] wrote:
I want to ask you guys how many memory usage for your Catalyst App? and
is FastCGI any better?
It's Perl itself taking the memory, so I doubt you'll see much
difference, but go ahead and try it. I'd be curious.
There is plenty of documentation
On 2/8/07, Jeffrey Ng [EMAIL PROTECTED] wrote:
I have read practical mod_perl. I tried to preload many of our modules in
startup.pl. But the shared memory value doesnt change at all. Also, doesnt
5.7M shared memory usage sound too small comparing to the 92.6M total size?
You're not looking at
On 2/8/07, Jeffrey Ng [EMAIL PROTECTED] wrote:
when i run this free test, should i run it on the live server, or on a
test server with single process apache mode?
I wouldn't mess with things on your live server, but you want to run
in normal mode, not single-process.
here's the result on a
On 2/9/07, Jeffrey Ng [EMAIL PROTECTED] wrote:
here's the result on a live server:
total used free sharedbuffers
cached
Mem: 415097226540161496956 0
275481313344
-/+ buffers/cache:13131242837848
Swap: 8385912
On 2/9/07, Fernan Aguero [EMAIL PROTECTED] wrote:
Now, if I want to have this session data stored into a
diffent db table and with additional data, I imagine I'd have
to write my own Session-Store-DBIC workalike ... or perhaps
it's easier to just dump the structure, encode it somehow
(base64?)
On 2/28/07, Jeffrey Ng [EMAIL PROTECTED] wrote:
we have just improved our session implementation. instead of storing
our session table in mysql database, we stored them in memcache.
Memcached does things like silently drop your data when it runs out of
room. If the daemon stops for any
On 2/28/07, Jeffrey Ng [EMAIL PROTECTED] wrote:
right! thanks for reminding. we probably will put it on a separate
dedicated memcache server then.
That won't help. If you want reliable session storage with caching,
use memcached as a write-through cache for your database, i.e. when
you write,
On 3/9/07, Bill Moseley [EMAIL PROTECTED] wrote:
I just checked and on some pages I'm calling uri_for a few hundred
times. If that's a bottle neck then optimization would be most
welcome.
I'm sure it depends on your usage, but for Jim Spath it was only about
4% of his time. It would help,
On 3/13/07, Mesdaq, Ali [EMAIL PROTECTED] wrote:
I like the idea of OO based modules and systems. Is that the main
difference between TT and Mason? That is that Mason is OO based and TT
is not?
No. The main difference is that TT is usually used with it's own
templating language (it supports
On 3/13/07, vti [EMAIL PROTECTED] wrote:
I have something strange happening while using PageCache plugin and Apache
server.
If you have apache, you'd probably be better off using mod_cache. It
will be a lot faster.
- Perrin
___
List:
On 3/19/07, Toby Corkindale [EMAIL PROTECTED] wrote:
ie. Where apache would spawn more and more processes, chew loads of
memory, and then hit MaxClients and stop accepting connections
Incidentally, apache doesn't stop accepting connection when it hits
MaxClients. It just stops spawning
On 3/22/07, Jim Spath [EMAIL PROTECTED] wrote:
I was just wondering if anyone here had used Swish-e in a Catalyst
application before.
I have used it from CGI::Application, but not from Catalyst. It's a
great search system. Very fast, easy to configure and customize,
indexes large sets of
On 3/22/07, Jim Spath [EMAIL PROTECTED] wrote:
What about Xapian?
Never used it.
I noticed that it has some Catalyst support in the form of
Catalyst::Model::Xapian.
As long as a module has a decent perl API, you don't really need a
Catalyst::Model class to use it. You should be able to
On 4/10/07, Jimmy Cooksey [EMAIL PROTECTED] wrote:
I'm looking for a way to redirect STDOUT from an external application
directly into my website, updating in real time.
Randal Schwartz wrote a good example of how to do this with a forked
process and some kind of shared data store:
On 4/12/07, Brian Kirkbride [EMAIL PROTECTED] wrote:
Now I'd like to avoid tying up the heavy procs for slow uploads. Many suggest
to run upload handlers as CGI rather than mod_perl because the 1s startup time
is negligent compared to the time required to upload. I have tried this and it
On 4/12/07, Brian Kirkbride [EMAIL PROTECTED] wrote:
It doesn't look like mod_proxy, which I am currently using, supports this. It
looks like Perlbal does however. Any other suggestions?
Since I always use mod_proxy, I can't vouch for any others. I've seen
people mention nginx, pound, and
On 5/8/07, Luis Azevedo [EMAIL PROTECTED] wrote:
What I still not understand is why he says RoR isn't MVC O:).
The way most people use Rails and Catalyst is somewhat different from
the MVC concept. The traditional role of the controller is just to
map user input to a method, and nothing more.
On 5/8/07, Dave Rolsky [EMAIL PROTECTED] wrote:
There's a little more than just mapping input to a method. I think of it
as a translation layer between how the web server presents data and how my
model API wants it. And then there's reverse mapping, for example
translating exceptions thrown by
On 5/14/07, Dave Rolsky [EMAIL PROTECTED] wrote:
eval
{
$user-update( %bunch_of_stuff );
};
if ( my $e = Exception::Class-caught( 'My::App::Exception::DataValidation') )
{
# $e-errors contains multiple data validation error messages
# stuff them in the session
On 5/15/07, John Goulah [EMAIL PROTECTED] wrote:
I would assume 256 MB is enough to start apache.
It is. Apache's memory requirements are pretty light and mod_perl
doesn't have much overhead either. It's really the perl interpreter
and the code you're loading that matters, as well as
On 5/15/07, mla [EMAIL PROTECTED] wrote:
And where do you handle the validation? Only in the controller or in
both the model and controller?
In the form processing code. This system has a CMS where users get to
generate forms and decide which fields will be on specific forms, so
the required
On 5/15/07, Ian Docherty [EMAIL PROTECTED] wrote:
What would you suggest for multiple instances of the same application?
MyApp = 'first.example.com'
MyApp = 'second.example.com'
I presume there would be no choice in this case but to use an fcgi
handler for each one and mod-perl can't be used
On 5/21/07, Cookie [EMAIL PROTECTED] wrote:
But I don't think when I modify my lib files,the modification seems not any
effect.And I must restart my apache to make it available.
My question is:
Is there any way to configurate my apache configuration files to be
available that I don't need to
On 5/22/07, mla [EMAIL PROTECTED] wrote:
If I may ask, Perrin, what do you use?
I have a large system that was started back when Class::DBI was a hot
new thing. It still uses CDBI and hasn't really had a good reason to
change, since we use a lot of custom SQL and that's pretty easy to do
with
On 5/22/07, Bill Moseley [EMAIL PROTECTED] wrote:
So, what have you found that works nicely?
use MyApp::Const qw/ cart_pending /; # potentially long list
cart_status = cart_pending # runtime checking
use MyApp::Const qw/ :cart /; # Shorter list :)
cart_status =
On 5/24/07, Randy J. Ray [EMAIL PROTECTED] wrote:
PerlModule Bylines# This is line 259
This recommended way to do this in mod_perl is actually to make a
separate startup.pl file that loads your modules, not to list them in
httpd.conf. Then you call it with PerlRequire. You can find
On 5/26/07, Bill Moseley [EMAIL PROTECTED] wrote:
Perhaps an easier way to show the problem with duplicate created
sessions would help.
Do you mean duplicate or multiple? The session ID generation code in
Catalyst::Plugin::Session does look like it could generate duplicates
to me, but that
On 5/26/07, Jonathan Rockway [EMAIL PROTECTED] wrote:
Please keep in mind that by rare, he means that you would have to generate
2317195645184714165087019331424 sessions per second for 100 years in
order to have a 50% chance of colliding with an existing session.
Or you could have it
Hi guys,
I believe Template::Plugin::Cache will do what you want. Perrin (the author) has
a patch from me that lets you pass in the Cache object from Catalyst and use
that, so any supported backend is available. If you bug him, I'll bet he'll get
a new version up on CPAN. ;)
Yes, sorry I
On 5/31/07, John Goulah [EMAIL PROTECTED] wrote:
Thanks for the feedback. Yes I was looking more for a way to cache the
compiled templates in memcache. The reason being with many servers the
compiled template could be shared amongst the servers so that its only
compiled once. Maybe that
On 6/8/07, Daniel McBrearty [EMAIL PROTECTED] wrote:
Comments? horrendous hackery? laziness? a landmine? ok in some cases?
It's pretty well covered by Wikipedia here:
http://en.wikipedia.org/wiki/Entity-Attribute-Value_model
I sometimes use this in places where I have to let end users add
On 6/15/07, Christopher H. Laco [EMAIL PROTECTED] wrote:
Imho, :Template('foo') is a lot more elegant than $c-stash-{'template'}
The trouble with putting things in attributes instead is that the sub
declarations start to get really long and ugly, and you can't wrap
attributes to another line.
On 6/28/07, Dwalu Z. Khasu [EMAIL PROTECTED] wrote:
I'm hoping someone with more sleep than I, can help me spot what seems to
be a simple nasty misconfiguration :s
I don't think you've shown enough of the config file to help you. You
could look at the examples in the apache docs:
On 7/4/07, Jonathan Rockway [EMAIL PROTECTED] wrote:
I agree that this is a terrible way to do things. Perl has the right idea
with $sigils, so at least functions look different from other @things. Oh,
and you know... a lexical scope.
If you feel the need for complicated scoping rules in
On 7/5/07, A. Pagaltzis [EMAIL PROTECTED] wrote:
That's what I was advising, basically, except that I would tell
people to use INCLUDE instead of PROCESS.
Else you'll be violating your own rule not to add variables to
the stash from inside a template, as soon as any of your blocks
are
On 7/7/07, Daniel McBrearty [EMAIL PROTECTED] wrote:
Is there any easy way to keep some ad-hoc persistent data out of the database?
Sure. Most of them are either lossy or tricky to use, and tend to be
poor for concurrent reading/writing.
The obvious options are:
- BerkeleyDB. Fast, but
On 7/10/07, Jonathan Rockway [EMAIL PROTECTED] wrote:
BerkeleyDB has an RPC layer for talking to remote clients.
Interesting. I had never heard of this before. It looks kind of
rudimentary. The docs say it's only single-process at this point, so
it serializes all data access.
I find the
On 7/10/07, Cookie [EMAIL PROTECTED] wrote:
When I start my apache server with mod_perl,I found some strange
output.I don't know how to solve this problem?
Usually this means you upgraded perl and didn't recompile mod_perl, or
your modules.
- Perrin
On 7/13/07, apv [EMAIL PROTECTED] wrote:
[% vote = Catalyst.user.votes({word = w.id}) IF Catalyst.user_exists %]
Just FYI, you should never do this type of construct in perl. It will
break in bizarre ways. I doubt that's the issue with TT, but don't
get in the habit.
my $vote = $foo if
On 7/13/07, J. Shirley [EMAIL PROTECTED] wrote:
As anecdotal evidence to its insidious behavior, I've personally been
involved in a 5 man debugging effort that took 13 days (not full days,
but probably an average of 3-4 hours a day * 5 people * 13 days) to
finally find the bug. Which was simply
On 7/27/07, Tobias Kremer [EMAIL PROTECTED] wrote:
While hammering my site with ab (Apache bench) I'm getting loads of the
the following error message:
Couldn't render template undef error -
DBIx::Class::ResultSet::find_or_create(): DBI Exception:
DBD::mysql::st execute failed: Duplicate
On 7/24/07, Matt S Trout [EMAIL PROTECTED] wrote:
Apache::DBI is an awful hack and should be avoided where possible.
Kind of an exaggeration. Apache::DBI is a useful module for porting
existing CGI scripts to mod_perl. If you aren't porting CGI scripts
to mod_perl, you can use other tools like
On 7/27/07, Jonathan T. Rockway [EMAIL PROTECTED] wrote:
On Fri, Jul 27, 2007 at 11:57:01AM -0700, Mesdaq, Ali wrote:
Are you sure that InnoDB would solve this issue? Even if just a row was
locked and you have 2 inserts at the exact same time how would that
resolve the issue?
One
On 7/30/07, Matt S Trout [EMAIL PROTECTED] wrote:
I used to consider it a neat hack. After some time with the internals,
some fun explicitly disabling it within DBIC since it sometimes broke our
reconnect code, and even then discovering I could often solve client mod_perl
problems by removing
On 7/31/07, Matt S Trout [EMAIL PROTECTED] wrote:
Except in the DBIx::Class, Class::DBI and plain DBI apps I've brought back
to production quality stability by removing it.
DBIx::Class and Class::DBI both handle connection caching on their
own, so that is not where one would need Apache::DBI.
On 8/12/07, Peter Lytle [EMAIL PROTECTED] wrote:
If someone has a solution from the Apache side, that's fine but I suspect
that it might be
easier to do this with Catalyst::Plugin::Static::Simple
Don't serve static content through perl. Let your webserver do it.
Usually people just set up
On 8/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
a lot of times, 'static' content is found via database queries. and
sometimes that content needs to be protected from unauthorized viewers,
and your authorization mechanisms are already built into your application,
so you can't just use
On 8/16/07, Bill Moseley [EMAIL PROTECTED] wrote:
I'm looking for ideas on how to implement a way to detect and block
dictionary attacks. This is not a question of how to implement strong
passwords, but rather the act of limiting logins when too many failed
passwords have been attempted in
On 8/17/07, Bill Moseley [EMAIL PROTECTED] wrote:
I missed something along the way in this thread. Cookies? Is that to
block a specific client?
Yes, as opposed to an IP that could be a proxy.
I'm just thinking of blocking specific logins when too many failed
logins are attempted.
That
On 8/23/07, Cory Watson [EMAIL PROTECTED] wrote:
I want something manages and
version my templates and then a view that lets Cat retrieve the
appropriate template through some means.
You can do something like that with Krang or Bricolage. They both
publish files rather than serving the
1 - 100 of 105 matches
Mail list logo