[Catalyst] Catalyst::Model::Adaptor - because models shouldn't *do* anything

2007-10-07 Thread Jonathan Rockway
. Anyway, I hope this makes it easier to write clean, reusable code for use with Catalyst. Have fun! Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Session trouble

2007-10-08 Thread Jonathan Rockway
::S and C::P::S::S::C modules today. Sessions should be happy again! Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Helper classes shared across multiple controllers - any recommendations?

2007-10-10 Thread Jonathan Rockway
http://search.cpan.org/src/JROCKWAY/Catalyst-Model-Adaptor-0.01/t/lib/TestApp/Controller/PerRequest.pm Pretty nice, eh? Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Helper classes shared across multiple controllers - any recommendations?

2007-10-10 Thread Jonathan Rockway
controller can even have multiple base classes. You are probably used to this in the form of: package MyApp::Controller::SomeForm; use base qw/Catalyst::Controller::BindLex Catalyst::Controller::FormBuilder/; Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature

Re: [Catalyst] returning empty 200 response

2007-10-28 Thread Jonathan Rockway
. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ 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] Open-enrollment Catalyst Training in Chicago

2007-10-28 Thread Jonathan Rockway
than one person. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ 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] WindyCity.pm Perl Hackathon

2007-10-28 Thread Jonathan Rockway
have a website up yet, but I thought I would let the other Catalyst-ers know before we run out of rooms :) Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] apache at almost 100%

2007-10-29 Thread Jonathan Rockway
://search.cpan.org/perldoc?Apache::DProf http://search.cpan.org/~rgarcia/perl/ext/Devel/DProf/DProf.pm Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] detach behaviour clarification

2007-11-01 Thread Jonathan Rockway
{ my ($self, $c ) = @_; $c-stash-{template} = 'three.tt2'; } My current understanding is that the value of template should be three.tt2. Is this correct? It would be if you forwarded to 'two' and detached to 'three'. You are using '_two' and '_three'. Regards, Jonathan Rockway

Re: [Catalyst] Selective debug output

2007-11-06 Thread Jonathan Rockway
to check $c-config-{pluginname_debug) or something. Maybe we can make this easier in 5.8; suggestions welcome. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Selective debug output

2007-11-06 Thread Jonathan Rockway
to determine which module is calling $c-debug, and then return true or false accordingly. Maybe I will try this out as a plugin, actually :) Evil, but it will hack around broken plugins and Just Work :) Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature

Re: [Catalyst] A question on persistence with sessions or similar

2007-11-06 Thread Jonathan Rockway
lead you in this direction? flash doesn't get much mention officially, I don't think. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

Re: [Catalyst] Selective debug output

2007-11-07 Thread Jonathan Rockway
in the right direction. Let me know if I'm completely off-base here :) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Beginner question: View directory

2007-11-07 Thread Jonathan Rockway
(see Mason, HTML::Template, Template::Declare, etc.). Secondly, you can have more than one view; consider the case of RSS feeds, Email, JSON, XML, etc. I recommend a search for Catalyst::View on the CPAN for more details. Regards, Jonathan Rockway

Re: [Catalyst] Jobs and Freelance

2007-11-13 Thread Jonathan Rockway
On Tue, 2007-11-13 at 13:25 -0800, Mesdaq, Ali wrote: Where is the proper place to post Job postings and/or Freelance stuff? jobs.perl.org Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] utf8 in mysql

2007-11-28 Thread Jonathan Rockway
://catalyst.perl.org/calendar/2006/21 Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] utf8 in mysql

2007-11-28 Thread Jonathan Rockway
plugin and everything worked ok, so maybe that is what you have. It wasn't actually working, it just appeared to. The OP is getting a blank screen because he hasn't loaded Catalyst::Plugin::Unicode into his app yet. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed

Re: [Catalyst] utf8 in mysql

2007-11-28 Thread Jonathan Rockway
On Wed, 2007-11-28 at 11:54 -0600, Jonathan Rockway wrote: With old projects, before mysql_enable_utf8 was supported, I used the set names on on_connect and the UTF8Columns plugin and everything worked ok, so maybe that is what you have. It wasn't actually working, it just appeared

Re: [Catalyst] Newbie question - $c-login is missing

2007-12-04 Thread Jonathan Rockway
thing that $c-login does. (Actually $c-login doesn't *have* to do anything; it was all very ad-hoc. The new authentication separates the various concerns and ensures that Credentials only verify credentials.) Regards, Jonathan Rockway signature.asc Description: This is a digitally signed

Re: [Catalyst] Re: Help needed on DBIx::Class::Schema::RestrictWithObject

2007-12-04 Thread Jonathan Rockway
tells you :P FWIW, I do this: http://git.jrock.us/?p=doqueue.git;a=blob;f=lib/DoQueue/Model/DBIC/Restricted.pm;h=bfc2e66adb9322ed5105f9560d4ea2dc527c809e;hb=f67e9aecf50e9935955ce7872dc1c56caa6bfdaf Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part

Re: [Catalyst] trouble with model-dbic resultset

2007-12-05 Thread Jonathan Rockway
after emailing a whole bunch of people? And what was the issue? Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Soundboard: Catalyst::Model::GoogleCalendar

2007-12-07 Thread Jonathan Rockway
/developers_guide_protocol.html Making this a Catalyst::Model is a terrible idea. Just make it a regular Perl module, and glue it to Catalyst with 3 lines of code or Catalyst::Model::Adaptor. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part

Re: [Catalyst] DBIx relationships

2007-12-07 Thread Jonathan Rockway
On Fri, 2007-12-07 at 17:07 -0800, J. Shirley wrote: #1. This is not the DBIC mailing list #2. It is called DBIx::Class or DBIC. DBIx is an entire namespace hosting many projects. DBIx::Class is just one of those projects. Hey, purl can post to mailing lists now :) signature.asc

Re: [Catalyst] Advent calendar

2007-12-10 Thread Jonathan Rockway
it. There is no clean way to do OpenID right now. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] using Catalyst with legacy cgi scripts

2007-12-16 Thread Jonathan Rockway
try TestApp out in your browser easily. I like it :) Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Re: javascript in Catalyst using Template Toolkit

2007-12-23 Thread Jonathan Rockway
as: (defun ii-insert-catalyst-url (path) (interactive sURI: ) (insert (format a href=\[%% Catalyst.uri_for('%s') %%]\/a path)) (backward-char 4)) Now you can call the function non-interactively. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part

Re: [Catalyst] Catalyst 5.7012

2007-12-24 Thread Jonathan Rockway
. In that case, this is the output I'd expect. Something else is probably the problem. What code are you running to generate the error? What is the line number of the error? Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part

Re: [Catalyst] Catalyst 5.7012

2007-12-24 Thread Jonathan Rockway
'; } You named your model Person, but you are trying to get at it by calling it TestAppDB. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Catalyst 5.7012

2007-12-24 Thread Jonathan Rockway
highly suggest you rename your model to TestAppDB, because then you won't be as confused. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk

Re: [Catalyst] Catalyst 5.7012

2007-12-24 Thread Jonathan Rockway
On Mon, 2007-12-24 at 10:05 -0500, Malcolm wrote: Having just spent a while struggling with the same issue I found the docs for Catalyst::Model::DBIC::Schema were helpful in wrapping my mind around what went where and how to name things. (The documentation even has exactly the same issue

Re: [Catalyst] component's new() call browser dependent

2008-01-13 Thread Jonathan Rockway
provide a test case (just some code I can run to try to reproduce this)? It would be best if this works against the dev server instead of mod_perl. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List

Re: [Catalyst] component's new() call browser dependent

2008-01-13 Thread Jonathan Rockway
case isolates the real bug. Mostly, I'd like to see the code working outside of mod_perl, since the mod_perl environment could be causing problems. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List

Re: [Catalyst] newbie yaml question

2008-01-15 Thread Jonathan Rockway
the application. Examples include database DSNs, the title that appears on every page, etc. For internals like template paths or options for TT, I hard-code those (or use a resource file; see http://www.jrock.us/yapcasia2007/takahashi.xul?data=angerwhale.txt#page1 ) Regards, Jonathan Rockway

[Catalyst] new Catalyst::Component::ACCEPT_CONTEXT

2008-01-18 Thread Jonathan Rockway
weren't having problems before, it was due to pure luck :) Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

[Catalyst] App::TemplateServer

2008-01-18 Thread Jonathan Rockway
. Check it out. Any feedback is welcome. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] App::TemplateServer

2008-01-18 Thread Jonathan Rockway
On Fri, 2008-01-18 at 02:53 -0600, Jonathan Rockway wrote: Well, I wrote this application and it's on the CPAN as App::TemplateServer. You run it like: A few addenda: * perl 5.010 is required * the latest version is 0.04 (freshly uploaded a few minutes ago) * the TD provider isn't

RE: [Catalyst] Documentation on DBIx Class

2008-01-18 Thread Jonathan Rockway
really covers the advanced stuff, and the rest shows you how to use it in simple CRUD applications. But, kd and I were planning on writing a better tutorial. When he's back from vacation, we'll get started... maybe that will help everyone out. Regards, Jonathan Rockway signature.asc

[Catalyst] Less useless debugging output would be good

2008-01-20 Thread Jonathan Rockway
On Mon, 2008-01-21 at 04:00 +, Matt S Trout wrote: On Sun, Jan 20, 2008 at 10:36:41AM -0800, Ashley wrote: On Jan 19, 2008, at 11:45 PM, Jonathan Rockway wrote: Someone should submit a patch to make debug settable in the Catalyst configuration (and off by default). Then you can doc

Re: [Catalyst] Re: REST - like uri design for CRUD

2008-01-20 Thread Jonathan Rockway
the form with hidden fields that is page 1, but i *hate* that technique. So I use the session. (I also use the Flash for You've added a record successfully! messages. Totally non-RESTful, but the users seem to like it.) Regards, Jonathan Rockway signature.asc Description: This is a digitally

Re: Re: [Catalyst] Debugging Catalyst with Eclipse

2008-01-21 Thread Jonathan Rockway
we use Perl... there's a lot of syntax to learn, but that little bit of learning saves thousands of hours over the span over your career (compared to, say, Java or PHP). /rant Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part

Re: Re[2]: [Catalyst] Debugging Catalyst with Eclipse

2008-01-21 Thread Jonathan Rockway
. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Automated testing of Captcha?

2008-01-21 Thread Jonathan Rockway
captcha will always be HELLO. Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] Automated testing of Captcha?

2008-01-21 Thread Jonathan Rockway
{ my ($self, $c) = @_; $c-form( validate = [['EQUAL_TO',$c-captcha_string]] ) } He wanted to get $c-captcha_string from *outside* of the Catalyst app. You don't have $c there. Also, he never said he was using Catalyst::Plugin::Captcha. Regards, Jonathan Rockway

Re: [Catalyst] Why no extra attributes on Private actions?

2008-01-22 Thread Jonathan Rockway
} I don't think this is a great idea, but if you insist, feel free to override register_actions. (Personally I would use the ACL plugin to implement the only dispatchable to if SSL logic.) Regards, Jonathan Rockway signature.asc Description: This is a digitally signed message part

Re: [Catalyst] Hair-pulling over YAML config

2008-01-24 Thread Jonathan Rockway
Test::YAML::Valid). Here's one from Angerwhale: use strict; use warnings; use Test::More tests = 2; use Test::YAML::Valid; ok(-e 'angerwhale.yml'); yaml_file_ok('angerwhale.yml','angerwhale.yml validates'); Regards, Jonathan Rockway

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Jonathan Rockway
Peter Karman [EMAIL PROTECTED] writes: On 01/24/2008 03:22 PM, Jonathan Rockway wrote: Peter Karman [EMAIL PROTECTED] writes: On 01/24/2008 02:49 PM, Andrew Peebles wrote: perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP' CPAN: Storable loaded ok Going to read /root/.cpan

Re: [Catalyst] Accessing $schema in Model glue class (solved?)

2008-01-25 Thread Jonathan Rockway
there. (And yes, relying on load order *is* flaky. That's why this isn't on the CPAN :) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] Debian unstable/testing [ot]

2008-01-25 Thread Jonathan Rockway
really do something about Catalyst::Manual. Having the file in two packages is a nightmare for everyone. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] Development environments and performance

2008-01-26 Thread Jonathan Rockway
and mod_perls. However, if you use backend mod_perl Apaches (instead of FastCGI), you can use Perlbal as the frontend (without another Apache in the way), which I find to be enticing. (However, you can also just point Perlbal at the dev server, which is pretty convenient.) Regards, Jonathan

Re: [Catalyst] Catalyst test server response times.

2008-01-30 Thread Jonathan Rockway
* On Wed, Jan 30 2008, Ian Docherty wrote: My bad. Heard and understood. (by the way who is RMS?) Google. It. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] Malformed class Name Hidden files

2008-01-30 Thread Jonathan Rockway
it. I vote to hack around this in Catalyst until it's fixed upstream. This has gone on long enough. /me puts on his fire suit. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

[Catalyst] Code for my book in non-Word form

2008-01-31 Thread Jonathan Rockway
, though, please don't hesitate to contact me. Regards, Jonathan Rockway ___ 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@lists.scsys.co.uk/ Dev

Re: [Catalyst] catalyst book

2008-01-31 Thread Jonathan Rockway
person to fuck it up for everyone else. Safari might have it though. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] catalyst book

2008-01-31 Thread Jonathan Rockway
and a web browser, the book contains what you're trying to learn. Books are cheaper than bigger LCDs :) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] catalyst book

2008-01-31 Thread Jonathan Rockway
for you for $60,000. Doesn't $40 for a paper copy seem more appealing now? Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] catalyst book

2008-02-01 Thread Jonathan Rockway
(say, $10) back to TPF. I will probably look into this more seriously in the near future. Right now this is pure fantasy :) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] add components to files generated by C::Helper::Model::DBIC::Schema

2008-02-04 Thread Jonathan Rockway
anything about this in the docs. Any help? Well, BEGIN{} blocks run before anything else in the file (other than BEGIN blocks or use ... statements). Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] Re: Sharing a database handle between components

2008-02-10 Thread Jonathan Rockway
and convert all the java folks to perl.) In the mean time $c-model('DBIC')-... is an acceptable substitute. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] cookies!

2008-02-12 Thread Jonathan Rockway
messages when you top-post. Most people's mail clients can't auto-fix that and as a result they won't bother replying to you. Just FYI. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Schedule::Cron

2008-02-13 Thread Jonathan Rockway
::Cron::Daily-new-run; Then run that script from cron. If your cron job needs to be a Catalyst application, it is horribly mis-designed. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

Re: [Catalyst] Config-only components

2008-02-13 Thread Jonathan Rockway
: package ...::Controller::Thingies; use base '...::ControllerBase::Foo'; 1; With ilmari's patch, you can just create these classes in a config file instead of on disk. Much quicker. Regards, Jonathan Rockway ___ List: Catalyst

[Catalyst] More Catalyst slides

2008-02-21 Thread Jonathan Rockway
, Jonathan Rockway ___ 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@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Book

2008-02-25 Thread Jonathan Rockway
a book that was API documentation instead of tutorials. Again, that's the exact opposite of my book. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] contollers being cached.

2008-02-25 Thread Jonathan Rockway
in the code. Regards, Jonathan Rockway ___ 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@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] File-browser functionality

2008-02-29 Thread Jonathan Rockway
the directory plugin in TT but before trying this I would ask if any other solutions are around. In the Catalyst book written by Jonathan Rockway, an example implements a new Filesystem Model to read and write blog posts as files on disk. This is IMO similar in concept to the thing you are trying to do

Re: [Catalyst] The performance test of 6 leading frameworks

2008-02-29 Thread Jonathan Rockway
/myapp_server.pl \tab -n 1000 http://localhost:3000/slow/page \tGET http://localhost:3000/quit \tdprofpp \trm tmon.out # if you want EOM } Then make profile. Untested. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo

Re: [Catalyst] Session Expiry

2008-03-01 Thread Jonathan Rockway
around. (Set cache expiration every time you update __expires, or just set it to 2038 and hope Catalyst expires it for you.) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Session Expiry

2008-03-02 Thread Jonathan Rockway
* On Sun, Mar 02 2008, Ash Berlin wrote: On 2 Mar 2008, at 03:50, Jonathan Rockway wrote: In the second case, it's just a bug in the Session::Store::Cache store that can be fixed with the addition of a backend_expires configuration key, probably set to never by default. Not quite true

Re: [Catalyst] Re: utf8 in regexes in Catalyst

2008-03-03 Thread Jonathan Rockway
* On Mon, Mar 03 2008, Matt Lawrence wrote: See also the PERL_UNICODE environment variable, documented in man perlrun. No, don't do that. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] utf8 in regexes in Catalyst

2008-03-03 Thread Jonathan Rockway
* On Sun, Mar 02 2008, Jonathan Rockway wrote: Correctly decoded data: perl -MDevel::Peek -e 'my $data = ほげ; utf8::decode($data); Dump($data)' SV = PV(0x72b098) at 0x72e3e0 REFCNT = 1 FLAGS = (PADMY,POK,pPOK,UTF8) PV = 0x73aa40 \343\201\273\343\201\222\0 [UTF8 \x

Re: [Catalyst] installing authentication modules

2008-03-04 Thread Jonathan Rockway
it. I am a bit perplexed by the docs about authentication/authorization modules - which should be installed and which are deprecated. We look forward to your updates to the documentation. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Push services with catalyst

2008-03-06 Thread Jonathan Rockway
. Regards, Jonathan Rockway ___ 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@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] sending a variable to more than one tt2 template

2008-03-07 Thread Jonathan Rockway
to [% INCLUDE %] things. Regards, Jonathan Rockway ___ 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@lists.scsys.co.uk/ Dev site: http

Re: [Catalyst] Patch for Catalyst::View::Mason

2008-03-07 Thread Jonathan Rockway
('Whatever')-set_template_name('name-without-extension'); } Then $c-stash-{template} will be 'name-without-extension.something-else'. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

Re: [Catalyst] The home page, the wiki and the mailing list

2008-03-07 Thread Jonathan Rockway
and they dont work for large enterprise, why are they quoted!! This is ignorant. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] The home page, the wiki and the mailing list

2008-03-07 Thread Jonathan Rockway
monkey patch from my blog!111). There is a finite amount of time in the day, you can spend it programming, or you can spend it inflating your ego. (Or taking flamebait on mailing lists ;) Regards, Jonathan Rockway [*] Actually, I have to credit one of Jesse Vincent's shirts for this saying

Re: [Catalyst] Patch for Catalyst::View::Mason

2008-03-07 Thread Jonathan Rockway
a role that adds a process method and you can use 'em in Catalyst. That's reuse. Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] Catalyst @ Flourish Conference

2008-03-11 Thread Jonathan Rockway
by people I went to school that *still haven't graduated* even though they started wayyy before me. It's sad.) Regards, Jonathan Rockway ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] Catalyst @ Flourish Conference

2008-03-11 Thread Jonathan Rockway
* On Tue, Mar 11 2008, me wrote: Tue, 11 Mar 2008 03:17:29 -0500 Jonathan Rockway [EMAIL PROTECTED] wrote: (Incidentally, this is run by people I went to school that *still haven't graduated* even though they started wayyy before me. It's sad.) Time for the I have never let my schooling

Re: [Catalyst] implementing ajax

2008-03-12 Thread Jonathan Rockway
you think Perl parses JSON?) It's a code vs. data issue. Yes, evalling code is dangerous. So don't do that. Treat your data as data and you won't have a problem. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Jonathan Rockway
* On Wed, Mar 12 2008, Zbigniew Lukasiak wrote: don't need to create wrappers for each table (which would be a cut and paste excercise). Well, a metaprogramming exercise anyway. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Jonathan Rockway
this is what he is talking about. If it is, the module he is looking for is URI::Escape. If he's talking about unescaping the querystring, that should be handled by Catalyst and if something is going wrong, a failing test case would be appreciated. Regards, Jonathan Rockway -- print just = another = perl

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonathan Rockway
, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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@lists.scsys.co.uk/ Dev site

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonathan Rockway
it. Then we should not try to decode it again. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonathan Rockway
* On Wed, Mar 19 2008, Jonathan Rockway wrote: We should not need to check the flag. The incoming data should be encoded. Then we should decode it. Then we should not try to decode it again. A key thing I forgot to mention is that is_utf8 doesn't mean we tried to decode this already

Re: [Catalyst] Catalyst controllers - can they be created without catalyst.pl helper script?

2008-03-20 Thread Jonathan Rockway
to read it. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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] Re: Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-21 Thread Jonathan Rockway
can't safely decode it. Is anyone having a problem with decoding things that are already decoded? Or is this only a theoretical problem? Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] CatalystSites.org

2008-04-02 Thread Jonathan Rockway
* On Wed, Apr 02 2008, Oleg Pronin wrote: ti che raspizdilsya po-nemetski, suka ? 2008/4/2, Ulf Lenski [EMAIL PROTECTED]: Hallo Ulrich, ich habe, dein Einverständnis vorausgesetzt, unsere pspf-app mal auf der unten genannten Seite veröffentlicht. http://drs.dife.de/ könnte

Re: [Catalyst] Re: about req.param

2008-04-11 Thread Jonathan Rockway
. (It's for compatibility, not for use in new applications.) If you really want to use a function call instead of a hash lookup, apply this role to the request class: http://git.jrock.us/?p=MooseX-Param-Safe.git;a=blob;f=lib/MooseX/Param/Safe.pm;hb=HEAD Regards, Jonathan Rockway -- print

Re: [Catalyst] Sending email safely with Catalyst

2008-04-11 Thread Jonathan Rockway
figure out what to do. Much better than putting a queue in front of a queue, IMHO. This is UNIX after all. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Django Dash, opportunity for Catalyst?

2008-04-16 Thread Jonathan Rockway
. Let's do a Catalyst version at YAPC::NA (and if it goes well, YAPC::EU). I say... 1 day to write your app, the next day to present it to everyone and receive highly valuable prizes if yours is the best. Discuss amongst yourselves. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Testing View

2008-04-19 Thread Jonathan Rockway
. The important parts of your application should reside in easily-testable classes, and Catalyst should just be a few lines of code to make the those classes available to web users. Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] Unit Testing

2008-04-20 Thread Jonathan Rockway
* On Sun, Apr 20 2008, Octavian Rasnita wrote: Please tell us if we can find an example of putting the logic in the model than call those methods from the controller. http://www.jrock.us/fp2008/catalyst/start.html Using a DBIC-based model works the same way. Regards, Jonathan Rockway

Re: [Catalyst] Catalyst and PayPal

2008-04-21 Thread Jonathan Rockway
the gears. Seeing the gears means it's way too easy to get your hair caught in them, and this is a problem that obviously worries me :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-24 Thread Jonathan Rockway
, it doesn't really look good, right? The stats code is good stuff. Why taint it with flamewars when it can be loved-by-everyone in just a few minutes? :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-24 Thread Jonathan Rockway
community standards and so on, I am tired of talking about them. It's boring. You know how the old saying goes -- shut the fuck up and write some code :) Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst

Re: [Catalyst] Re: So, what do we want in the -next- book?

2008-04-27 Thread Jonathan Rockway
internals, I'll do it. But I bet you'll find that it's not worth it. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] Re: So, what do we want in the -next- book?

2008-04-28 Thread Jonathan Rockway
* On Mon, Apr 28 2008, Ali M. wrote: On Mon, Apr 28, 2008 at 7:29 AM, Jonathan Rockway [EMAIL PROTECTED] wrote: 2) Learn how to use Catalyst (read my book) Sorry to say this, but your book is not a good book! I cannot in good faith recommend it to anyone. Please consider believing

Re: [Catalyst] Catalyst website

2008-04-29 Thread Jonathan Rockway
newbies are likely to find it? Something to the tune of Having trouble? Click here for important information on the Catalyst book. I will happily submit patch to the website if this is not shot down. +1 Regards, Jonathan Rockway -- print just = another = perl = hacker

Re: [Catalyst] So, what do we want in the -next- book?

2008-04-29 Thread Jonathan Rockway
* On Tue, Apr 29 2008, Mark Keating wrote: Dare I say, an Enlightened Perl Development book? Perl for Enterprise: A look at Enlightened Perl Development But first, the EPO needs to create a publishing company called ORLY. -- print just = another = perl = hacker = if $,=$

  1   2   >