[Catalyst] possible to get uri fragment?

2010-06-15 Thread Fayland Lam
? (it's mainly for some ajax using, jQuery address changes the things after # and we want to show page depends on things after # after sharing) Thanks -- Fayland Lam // http://www.fayland.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

[Catalyst] Re: possible to get uri fragment?

2010-06-15 Thread Fayland Lam
hmm, it seems server can't get #fragment because the browser doesn't send it to server? so leave it. Thanks On Tue, Jun 15, 2010 at 4:47 PM, Fayland Lam fayl...@gmail.com wrote: see, for example I have some code like $c-log-debug(Dumper(\$c-req-uri)); in index sub, then I visit it as http

[Catalyst] Re: Language selection in URLs

2009-11-17 Thread Fayland Lam
why shouldn't you use domain as the part of the language? like en.example.com, cn.example.com and something like that? Thanks. Octavian R√Ęsnita wrote: From: Bill Moseley mose...@hank.org What's your preferred approach to specifying a language tag in a URL? Is there strong argument

[Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
15.6 4.1 0:02.56 httpd in this case, I really can't let my boss agree me to upgrade the Catalyst. is it normal? any thoughts? Thanks. -- Fayland Lam // http://www.fayland.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk

[Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
Tomas Doran wrote: Fayland Lam wrote: from the top, each httpd takes 20M more RAM in 5.8 compared with 5.7 No, that'll be 20Mb of RAM _in total_, as all of those pages should be shared between your apache processes (given that you're preloading your application in the parent process). top

[Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
is really better than 5.8 under siege. Thanks. Cheers, Toby - Original Message - From: Fayland Lam fayl...@gmail.com To: catalyst@lists.scsys.co.uk Sent: Mon, 28 Sep 2009 15:56:36 +1000 (EST) Subject: [Catalyst] Catalyst benchmark 5.7 VS 5.8 I'm wondering if someone here did

[Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
Thanks for that. (Toby Corkindale too) I'll do more research and update you later. Thanks. Andrew Rodland wrote: On Monday 28 September 2009 12:56:36 am Fayland Lam wrote: I'm wondering if someone here did a benchmark between Catalyst 5.7 and 5.8 Benchmark, as requested. View this message

[Catalyst] Re: How to clear off request parameter element

2009-02-23 Thread Fayland Lam
kakim...@tpg.com.au wrote: hi all I have an app with a listing method in the controller. It goes a little like this: sub list { # get object from model based on $c-request-param('id'); IF (object) { return; } ELSE { return all objects

[Catalyst] about req.param

2008-04-11 Thread Fayland Lam
' }; hmm, a trap I think. need use $c-req-param('a') || ''. something not so good. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

[Catalyst] Re: problem on $c-res-body(*STDOUT);

2008-03-14 Thread Fayland Lam
Matt Lawrence wrote: Fayland Lam wrote: sub test_body : Local { my ($self, $c) = @_; $c-res-body(*STDOUT); print a\n; print b\n; } Have you tried passing the glob as a reference? $c-res-body(\*STDOUT); It looks like that's at least part of your problem. I suspect that using

[Catalyst] problem on $c-res-body(*STDOUT);

2008-03-13 Thread Fayland Lam
: zorpia_session=6ef8f841a6f678e09621936e10c52f33eb442f57; path=/ Status: 200 X-Catalyst: 5.7012 *Catalyst::Engine::HTTP::Remote how to get the correct stuff. I tried to call $c-finalize_headers(); before -body, no help. Thanks. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst

[Catalyst] looking for suggestion on both cron and pm

2008-01-11 Thread Fayland Lam
: use Foorum::Adaptor::User; my $user_model = new Foorum::Adaptor::User(); my $user = $user_model-get( { user_id = 1 } ); is those code correct? or there is another way to do it? Thanks. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ package

[Catalyst] two Catalyst flaws

2008-01-03 Thread Fayland Lam
$c-model and $c-cache like? I don't want this $c to load any Controller modules or View modules. anyway, Catalyst is a great framework. it ease our development a lot. Thanks for all your work, Catalyst Team! -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http

[Catalyst] Re: [RFC] Loading Plugins from lib/MyApp/Plugins

2007-12-18 Thread Fayland Lam
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/ -- Fayland Lam // http://www.fayland.org/ ___ List: Catalyst

[Catalyst] Re: Dreamhost help

2007-12-14 Thread Fayland Lam
, detach = $detach, keep_stderr = $keep_stderr, } ); 1; Thanks. On Dec 13, 2007, at 10:25 PM, Fayland Lam wrote: I run catalyst.pl TestApp then vim .htaccess AddHandler fastcgi-script .fcgi Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteCond %{REQUEST_URI

[Catalyst] Re: Dreamhost help

2007-12-14 Thread Fayland Lam
more aggressive about killing long running processes with other names. Executables should be in 755 or better. IIRC DreamHost will not let any CGIs run (don't know about FCGIs) with anything more permissive than that. -Ashley On Dec 13, 2007, at 10:25 PM, Fayland Lam wrote: I run

[Catalyst] Re: Dreamhost help

2007-12-13 Thread Fayland Lam
://www.foorumbbs.com/test.fcgi is running so FastCGI is enabled. hmm. I have no idea what I should do with it. I just catalyst.pl TestApp, then change filename of fastcgi.pl. Any more help is appreciated. Thanks. On Dec 13, 2007, at 10:25 PM, Fayland Lam wrote: I run catalyst.pl TestApp then vim

[Catalyst] [OT] Search Solution

2007-11-08 Thread Fayland Lam
? anyone have any idea? Thanks. -- Fayland Lam // http://www.fayland.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED

[Catalyst] Re: [OT] Search Solution

2007-11-08 Thread Fayland Lam
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/ -- Fayland Lam // http://www.fayland.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo