Re: [Catalyst] Re: Unicode trouble with Catalyst::Engine::FastCGI

2010-01-22 Thread Neo [GC]
Thanks for this thread! I had the same problem with double encoding while running Catalyst with FastCGI (even more strange - only on newer applications on the same server). Bernhard Grafs proposal for a quick fix in http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg08401.html

[Catalyst] Changing path seperator?

2009-06-22 Thread Neo [GC]
Hi! Is it possible to change the path seperator or to define an optional new seperator and if yes, how? Example: Instead of /foo/bar/something?param=value for MyApp::Controller::Foo::Bar I'd like to use /foo.bar.something?param=value Thanks in advance and regards, Tom Weber

Re: [Catalyst] deployment with 3-tiered server setup: How to handle config?

2009-04-21 Thread Neo [GC]
/\/([^\/]+)\/MyApp/; my $connectData = YAML::LoadFile( MyApp-path_to($1 . '.yml') ); (database connection info) Regards, Neo [GC] / Tom Weber [DuO] Jens Schwarz schrieb: Hi, I am planing to have a 3-tiered catalyst setup: one development server, one test server and one production server. Each of those has

[Catalyst] Catalyst::Engine::HTTP::Prefork not used?

2009-04-14 Thread Neo [GC]
more confusing, if I set CATALYST_ENGINE to 'Whatever', I get no error message or something. Is there required more to use it, besides installing the module from CPAN? Thanks and regards, Neo [GC] ___ List: Catalyst@lists.scsys.co.uk Listinfo

Re: [Catalyst] Catalyst::Engine::HTTP::Prefork not used? (solved)

2009-04-14 Thread Neo [GC]
J. Shirley schrieb: On Tue, Apr 14, 2009 at 8:25 PM, Neo [GC] n...@gothic-chat.de mailto:n...@gothic-chat.de wrote: Hi, I've read about the prefork-engine for the test-server in another thread, which could be very useful for me (our outsourced codemonkeys sometimes produce

Re: [Catalyst] Catalyst::Engine::HTTP::Prefork not used? (solved)

2009-04-14 Thread Neo [GC]
Moritz Onken schrieb: Am 14.04.2009 um 14:48 schrieb Neo [GC]: J. Shirley schrieb: On Tue, Apr 14, 2009 at 8:25 PM, Neo [GC] n...@gothic-chat.de mailto:n...@gothic-chat.de wrote: Hi, I've read about the prefork-engine for the test-server in another thread, which could be very

Re: [Catalyst] Using JSON

2009-04-14 Thread Neo [GC]
there is some more elegant, but this does all the magic for the start) Regards, Neo [GC] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Neo [GC]
Hi, depends on the javascript-lib you are using for AJAX. Catalyst just builds a template, which is interpreted clientside by the AJAX-lib. This might be XML, JSON, plain HTML or $something. For the webserver / Catalyst, the requests look like any other normal HTTP-request. Greets, Thomas

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Neo [GC]
Kieren Diment schrieb: On 06/03/2009, at 8:56 PM, Chisel Wright wrote: On Fri, Mar 06, 2009 at 04:43:36PM +1100, kakim...@tpg.com.au wrote: I would like to use AJAX in my catalyst app. Any good references/tutes to recommend? It's just like using ajax anywhere else. Find a library you

Re: [Catalyst] Requirements for Catalyst

2009-02-25 Thread Neo [GC]
Octavian Râşniţă schrieb: Could be 256 MB of memory enough? Or 512? Or I would need 1 GB or more if I would like to run a Catalyst app? That Catalyst app would use a MySQL database, and it would have around 100 tables, and 20 - 30 Catalyst controllers. Memory requirements depend heavily on

Re: [Catalyst] Re: decoding in core

2009-02-23 Thread Neo [GC]
Zbigniew Lukasiak schrieb: Some more things to consider. - 'use utf8' in the code generated by the helpers? Reasonable, but only if documentet. It took weeks for us until we learned, that this changes _nothing_ but the behaviour of several perl-functions like regexp, sort aso. - ENCODING:

Re: [Catalyst] Re: decoding in core

2009-02-23 Thread Neo [GC]
Zbigniew Lukasiak schrieb: Hmm - in my understanding it only changes literals in the code ( $var = 'ą' ). So I looked into the pod and it says: Bytes in the source text that have their high-bit set will be treated as being part of a literal UTF-8 character. This includes most

Re: [Catalyst] Re: decoding in core

2009-02-23 Thread Neo [GC]
Oh I forgot something... or more precisely, my boss named it while having a smoke. Maybe somewhat OT, but definetly interesting (maybe could be used to simplify the problem of double-enconding): Does anyone know a _safe_ method to convert _any_ string-scalar to utf8? Something like

Re: [Catalyst] DBIx makes Catalyst startup painfully slow

2009-02-17 Thread Neo [GC]
Eden Cardim schrieb: On Tue, Feb 10, 2009 at 2:08 PM, Neo [GC] n...@gothic-chat.de wrote: -load_classes is a DBIx::Class::Schema method, check the docs, if you don't provide any arguments it uses Module::Find to scan the disk in search of table classes, and given you have 148 tables, that's

[Catalyst] DBIx makes Catalyst startup painfully slow

2009-02-10 Thread Neo [GC]
Hello people, I'm working on a rather big CRM system using Catalyst with all bells and whistles. For database, we use DBIx::Class::Schema and this drives me crazy... Apart from Catalyst being really resource hungry, the startup time for the application (testserver oder fastcgi) is ok, about

Re: [Catalyst] DBIx makes Catalyst startup painfully slow

2009-02-10 Thread Neo [GC]
Nigel Metheringham schrieb: On 10 Feb 2009, at 10:53, Neo [GC] wrote: Apart from Catalyst being really resource hungry, the startup time for the application (testserver oder fastcgi) is ok, about 4 seconds on my development-system (CentOS on VMware Fusion on MacOS X Leopard, Core 2 Duo

Re: [Catalyst] DBIx makes Catalyst startup painfully slow

2009-02-10 Thread Neo [GC]
Ah thanks, this is very interesting! I will try and report back. (btw: static schemas of course) Eden Cardim schrieb: On Tue, Feb 10, 2009 at 7:53 AM, Neo [GC] n...@gothic-chat.de wrote: Is this normal? Is there _any_ way to speed things up? Does anyone know, what DBIx even does

Re: [Catalyst] DBIx makes Catalyst startup painfully slow

2009-02-10 Thread Neo [GC]
functionality created by a self-written class, which is executed at every request and takes about 0.05 seconds on the same machine... Greets and regards, Thomas Weber Neo [GC] schrieb: Ah thanks, this is very interesting! I will try and report back. (btw: static schemas of course) Eden