[Catalyst] Re: Including a submenu

Matthew Topper topperm9 at gmail.com
Tue Apr 7 12:56:11 GMT 2009


On Tue, 7 Apr 2009 21:20:26 +1000
Kieren Diment <kieren at diment.org> wrote:

> Argh.  That begs the question as to why you are doing development  
> under apache, and not just using the built in test server for the  
> purpose that it's intended.
> 
> If the answer is that the dev server is single request and you've
> got lots of ajax, use the HTTP::Prefork engine:
> 
> $ cpan Catalyst:Engine::HTTP::Prefork
> $ CATALYST_ENGINE=HTTP::Preform script/myapp_server.pl
> 
> I can't think of a good reason to use apache for development.
> Sanity checking immediately before deployment, yes, but  actual  
> development ... it's really better not to unless there's a very very  
> good reason (and "my manager requires that we smear ourselves in the  
> blood of chickens fed exclusively on virgin slugs when we come into  
> work every day" isn't a very good reason).
> 
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site:
> http://dev.catalyst.perl.org/

Well, my post might raise a question, but it sure isn't a logical
fallacy ;)

I'm curious as to whether there's a technical reason not to develop
under apache, or whether it's just bad practice (and why, if it's the
latter). The machine isn't doing anything else, so it's not as if I'm
disrupting other services with all of the restarting.

To me, restarting apache isn't any more work than restarting the test
server with the added benefit of not having to re-test everything to
make sure it still works under apache when I'm done.  However, if
there's a technical reason why it's a bad idea, I'd be very interested
to know it so that I can stop doing it this way.

Thanks,
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090407/c09d9826/signature.pgp


More information about the Catalyst mailing list