[Catalyst] A suitable method to redraw a page

2008-09-23 Thread Dermot
Hi, I have a controller who's job is to copy some files (4-6). These files can be quite big and the time it takes has been causing what looks like timeouts on the server. [Tue Sep 23 09:48:55 2008] [error] [client x.x.x.x] FastCGI: comm with server /var/www/MyApp/script/motion_fastcgi.pl

RE: [Catalyst] A suitable method to redraw a page

2008-09-23 Thread Mesdaq, Ali
I think ajax would be your friend here. You could just make an ajax call to some function to check the status of the file copies and then update the DOM directly instead of refreshing the whole page. Or the actual call to start the copy can be made via ajax instead of the call to check the

Re: [Catalyst] Simple blob upload example?

2008-09-23 Thread Dr. Jennifer Nussbaum
--- On Fri, 9/19/08, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: From: Dr. Jennifer Nussbaum [EMAIL PROTECTED] Subject: Re: [Catalyst] Simple blob upload example? To: The elegant MVC web framework catalyst@lists.scsys.co.uk, J. Shirley [EMAIL PROTECTED] Date: Friday, September 19,

Re: [Catalyst] Simple blob upload example?

2008-09-23 Thread Wade . Stuart
Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote on 09/23/2008 02:30:27 PM: --- On Fri, 9/19/08, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: From: Dr. Jennifer Nussbaum [EMAIL PROTECTED] Subject: Re: [Catalyst] Simple blob upload example? To: The elegant MVC web framework

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Peter Karman
Dr. Jennifer Nussbaum wrote on 09/23/2008 02:38 PM: Is there any place that shows a simple example of a web form - DBIC search in Catalyst? And if not, shouldnt there be? The problem is that db search quickly becomes complicated when you're dealing with multiple tables, relationships, column

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Zbigniew Lukasiak
On Tue, Sep 23, 2008 at 9:38 PM, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: Hi. Im working on a new app which is working well. While doing it though i realised that i never get my serach done right. I mean, it works, but i end up spending a lot of code munging parameters, making

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Dr. Jennifer Nussbaum
--- On Tue, 9/23/08, Zbigniew Lukasiak [EMAIL PROTECTED] wrote: From: Zbigniew Lukasiak [EMAIL PROTECTED] Subject: Re: [Catalyst] Search example in any docs? To: [EMAIL PROTECTED], The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Tuesday, September 23, 2008, 1:02 PM On Tue,

RE: [Catalyst] FastCGI Deployment problem - can't find templates

2008-09-23 Thread Coates, Greg
Okay. I've done this. I did some more checking, and I realize that I'm not sure where the static files and templates should be installed on a production server. It doesn't look like they get picked up in the make process. I currently have them in the /opt/myserver directory. My application

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Tomas Doran
On 23 Sep 2008, at 21:21, Dr. Jennifer Nussbaum wrote: i have code that looks like if ( $c-req-params-{title} ) { my $title = % . $c-req-params-{title} . %; push (@$query, { title = { like = $title } }); } # exact match here if ( $c-req-params-{author} ) { my $performer =

Re: [Catalyst] FastCGI Deployment problem - can't find templates

2008-09-23 Thread Tomas Doran
On 23 Sep 2008, at 23:24, Coates, Greg wrote: Okay. I've done this. I did some more checking, and I realize that I'm not sure where the static files and templates should be installed on a production server. It doesn't look like they get picked up in the make process. They should. If

Re: [Catalyst] A suitable method to redraw a page

2008-09-23 Thread J. Shirley
On Tue, Sep 23, 2008 at 4:30 PM, Dermot [EMAIL PROTECTED] wrote: 2008/9/23 Mesdaq, Ali [EMAIL PROTECTED]: I think ajax would be your friend here. I think I'll try something like that. As the files and Cat App are on one server and the referrer is a different server, I will have the referrer

RE: [Catalyst] FastCGI Deployment problem - can't find templates

2008-09-23 Thread Coates, Greg
Ah. That's it. I found a problem in the Makefile. Once that was fixed, the root directory started being installed in the right place. Shockingly, with the files in the right place, the templates were found. :-) Greg -Original Message- From: Tomas Doran [mailto:[EMAIL PROTECTED]