Re: [Catalyst] prefetch specific columns

2007-07-10 Thread Jonathan Rockway
On Sunday 08 July 2007 08:19:43 am vti wrote: Hello. Is there any way when using 'prefetch' attribute to specify which columns to get from db? Or is there any low-level way to change SQL before doing any fetches? Could you give us a bit of information on what you're trying to do? What

Re: [Catalyst] prefetch specific columns

2007-07-10 Thread vti
Jonathan Rockway([EMAIL PROTECTED])@Tue, Jul 10, 2007 at 02:18:46AM -0500: On Sunday 08 July 2007 08:19:43 am vti wrote: Hello. Is there any way when using 'prefetch' attribute to specify which columns to get from db? Or is there any low-level way to change SQL before doing any fetches?

Re: [Catalyst] using a persistent hash in a model

2007-07-10 Thread Perrin Harkins
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

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread J. Shirley
On 7/5/07, John Wang [EMAIL PROTECTED] wrote: On 7/4/07, Jonathan Rockway [EMAIL PROTECTED] wrote: The Prototype + Scriptaculous javascript framework is junk. It doesn't work very well, the syntax is terrible, it will break other javascript on the page just by being included, and the cool

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread John Wang
On 7/10/07, J. Shirley [EMAIL PROTECTED] wrote: prototype.js and friends (scriptaculous, openrico, etc) are rated the lowest in those categories. It fails the robust check by having several things that don't play nice together, and also I've seen some serious cross-browser compatibility

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread John Napiorkowski
--- John Wang [EMAIL PROTECTED] wrote: On 7/10/07, J. Shirley [EMAIL PROTECTED] wrote: prototype.js and friends (scriptaculous, openrico, etc) are rated the lowest in those categories. It fails the robust check by having several things that don't play nice together, and also I've

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread J. Shirley
On 7/10/07, John Wang [EMAIL PROTECTED] wrote: Good to know. Do you know which Scriptaculous effects break Google Maps? It will be useful for planning for the future. Sorry, was too long ago to remember the specifics... it was a mouseover event that attached to the document and thus blocked

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread Jason Kohles
On Jul 10, 2007, at 12:35 PM, John Wang wrote: I think one reason prototype keeps coming up is because HTML::Prototype exists and is the only wrapper providing Perl access to JS effects. HTML::Prototype doesn't seem to have a lot of functionality in it but it can get some small things

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread J. Shirley
On 7/10/07, John Napiorkowski [EMAIL PROTECTED] wrote: It's been said by others but I really prefer to do all this in my templates. It would be easy to have this in a Template Toolkit plugin if you wanted, but I can't see the value of basically using perl as a code generator for Javascript. I

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread Daniel McBrearty
It's been said by others but I really prefer to do all this in my templates. It would be easy to have this in a Template Toolkit plugin if you wanted, but I can't see the value of basically using perl as a code generator for Javascript. I prefer to be closer to my sentiments exactly. Even if

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread Michael Reece
i may be the exception, but i have no hesitation in using perl (or other templating languages) to generate html, javascript, css, or even more perl. it may be harder to debug, but the productivity gains are worth it. i think RoR's rjs stuff is really keen, too. On Jul 10, 2007, at 10:08

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread John Napiorkowski
--- Daniel McBrearty [EMAIL PROTECTED] wrote: It's been said by others but I really prefer to do all this in my templates. It would be easy to have this in a Template Toolkit plugin if you wanted, but I can't see the value of basically using perl as a code generator for Javascript.

[Catalyst] size limit on file uploads

2007-07-10 Thread Jim Spath
I would like to place a maximum file size limit on uploads, but am not quite sure how to go about this in Catalyst. I've done this in CGI scripts by reading in chunks of the file until I hit some size limit, but couldn't find anything in the Catalyst docs. Thanks! - Jim

Re: [Catalyst] size limit on file uploads

2007-07-10 Thread J. Shirley
On 7/10/07, Jim Spath [EMAIL PROTECTED] wrote: I would like to place a maximum file size limit on uploads, but am not quite sure how to go about this in Catalyst. I've done this in CGI scripts by reading in chunks of the file until I hit some size limit, but couldn't find anything in the

Re: [Catalyst] size limit on file uploads

2007-07-10 Thread Jim Spath
J. Shirley wrote: On 7/10/07, Jim Spath [EMAIL PROTECTED] wrote: I would like to place a maximum file size limit on uploads, but am not quite sure how to go about this in Catalyst. I've done this in CGI scripts by reading in chunks of the file until I hit some size limit, but couldn't find

Re: [Catalyst] size limit on file uploads

2007-07-10 Thread J. Shirley
On 7/10/07, Jim Spath [EMAIL PROTECTED] wrote: J. Shirley wrote: On 7/10/07, Jim Spath [EMAIL PROTECTED] wrote: I would like to place a maximum file size limit on uploads, but am not quite sure how to go about this in Catalyst. I've done this in CGI scripts by reading in chunks of the file

Re: [Catalyst] Announce: Last Call - RC of C::P::Authentication

2007-07-10 Thread Jay K
Hey all - Just a followup to the list. The issue here is that Michael's module did not cal the default_auth_store routine - which meant it was never set up as the default store. There is a side effect of the old configuration method for multiple stores that caused his class-name to be used in

[Catalyst] Re: Catalyst Digest, Vol 28, Issue 22

2007-07-10 Thread Cookie
When I start apache with mod_perl,some strange standard output print out,I don't know how to do,please help me!!!Thanks. lnxtst02-/flex/apache ./start_apache.sh httpd not running, trying to start [Tue Jul 10 21:44:50 2007] [error] DynaLoader object version 1.05 does not match $DynaLoader::VERSION

Re: [Catalyst] Apache strange output with mod_perl

2007-07-10 Thread Perrin Harkins
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

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread John Wang
On 7/10/07, Jason Kohles [EMAIL PROTECTED] wrote: On Jul 10, 2007, at 12:35 PM, John Wang wrote: I think one reason prototype keeps coming up is because HTML::Prototype exists and is the only wrapper providing Perl access to JS effects. HTML::Prototype doesn't seem to have a lot of

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-10 Thread John Wang
On 7/10/07, J. Shirley [EMAIL PROTECTED] wrote: On 7/10/07, John Napiorkowski [EMAIL PROTECTED] wrote: It's been said by others but I really prefer to do all this in my templates. It would be easy to have this in a Template Toolkit plugin if you wanted, but I can't see the value of

Re: [Catalyst] Re: Catalyst Digest, Vol 28, Issue 22

2007-07-10 Thread Kieren Diment
fix the errors 1 by one. Start by trying to upgrade DynaLoader through cpan. (iirc I had similar problems after an osx security update). On 11/07/07, Cookie [EMAIL PROTECTED] wrote: When I start apache with mod_perl,some strange standard output print out,I don't know how to do,please help