[Catalyst] Re: get the path to the home

2007-09-28 Thread A. Pagaltzis
the suggestions to use __FILE__ or FindBin. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] XML MIME types (was: Catalyst and chrome url (xul))

2007-09-25 Thread A. Pagaltzis
a charset parameter in the HTTP header, making sure you specify the document encoding in the XML preamble instead. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman

[Catalyst] Re: XML MIME types

2007-09-25 Thread A. Pagaltzis
* Ash Berlin [EMAIL PROTECTED] [2007-09-25 21:50]: A. Pagaltzis wrote: * Ash Berlin [EMAIL PROTECTED] [2007-09-25 19:20]: Since its XUL and this is Firefox only, thats okay. But as a general point, ISTR application/xml is hideously broken with IE Do you remember anything about how

[Catalyst] Re: A Perl Message Queue?

2007-08-26 Thread A. Pagaltzis
for their benefit). Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: Reseting a chained action

2007-08-25 Thread A. Pagaltzis
* Pedro Melo [EMAIL PROTECTED] [2007-08-09 00:05]: On Aug 8, 2007, at 1:38 PM, A. Pagaltzis wrote: If you do in fact modify state on the server based on information in the URI, I hope that you at least require POST for these requests? We always redirect after POST. That wasn’t what I

[Catalyst] Re: Catalyst Unicode woes ...

2007-08-11 Thread A. Pagaltzis
change the default using the `encoding` pragma. See `perldoc encoding`. If the program code itself is in UTF-8, you may want to declare that also: see `perldoc utf8`. And finally – see `perldoc perlunicode`. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: [Semi OT] HTTP DELETEs

2007-08-11 Thread A. Pagaltzis
Hi Jonathan, * Jonathan Tweed [EMAIL PROTECTED] [2007-08-11 18:40]: On 10 Aug 2007, at 14:24, A. Pagaltzis wrote: I think that says quite clearly that if the method definition is silent about an entity-body, then no entity-body is allowed. The sections on PUT, POST and TRACE discuss entity

[Catalyst] Re: [Semi OT] HTTP DELETEs

2007-08-10 Thread A. Pagaltzis
Hi Jonathan, * Jonathan Tweed [EMAIL PROTECTED] [2007-08-10 12:41]: On Wed, 8 Aug 2007 23:42:22 +0200, A. Pagaltzis [EMAIL PROTECTED] wrote: * Jonathan Tweed [EMAIL PROTECTED] [2007-08-08 21:35]: Can an HTTP DELETE have an entity body? I have looked in the HTTP spec and as far as I can see

[Catalyst] Re: Reseting a chained action

2007-08-08 Thread A. Pagaltzis
by Leonard Richardson.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: [Semi OT] HTTP DELETEs

2007-08-08 Thread A. Pagaltzis
method (section 5.1.1) does not allow sending an entity-body in requests. […] If it's legal for a DELETE to have a body they could put the reason in there. If not, is it a reasonable use of a custom header? Yes. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] People keep using that word. I do not think it means whay they think it means. (was: Ajax)

2007-08-06 Thread A. Pagaltzis
* Matthew Pitts [EMAIL PROTECTED] [2007-08-06 15:25]: It's far from pure REST None of the things on CPAN that have REST in their name have much to do with REST. Few people have any idea what REST really means. (It's actually very simple, just very abstract.) Regards, -- Aristotle Pagaltzis

[Catalyst] Re: Multiple FastCGI app servers with Apache2

2007-08-03 Thread A. Pagaltzis
… a pity that the effort seems to have stalled and died. It would have provided FastCGI deployments with all the knobs and twiddles for load balancing that mod_proxy offers. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst

[Catalyst] Re: flash with DBIC session storage

2007-07-30 Thread A. Pagaltzis
Hi Bill, * Bill Moseley [EMAIL PROTECTED] [2007-07-29 00:05]: On Sat, Jul 28, 2007 at 11:21:56PM +0200, A. Pagaltzis wrote: User visits page A. User visits page B in another tab. User submits form A. User submits form B. A updates the flash. B updates the flash. Page A2 loads

[Catalyst] Re: Using Workflow with Catalyst (was Making Controllers thin and Models thick)

2007-07-29 Thread A. Pagaltzis
Class::Observable (and recently finally started fixing it), and found that similarly weird in many ways (though it has a much simpler purpose and therefore much less overwhelming Java smell). Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Catalyst-Plugin-Compress-Zlib

2007-07-26 Thread A. Pagaltzis
* Bill Moseley [EMAIL PROTECTED] [2007-07-26 19:30]: Looking at an existing version I hacked I see I did something a bit more crude: Crude is better in Perl. Handle-like things come in so many shapes that testing for them is futile at best, stupid at worst. my $body = $c-response-body;

[Catalyst] Re: Trimming and Quoting Oh My!

2007-07-25 Thread A. Pagaltzis
Hi Christopher, look, it’s pretty simple: I like to help because it’s fun. If it becomes work, I lose interest. Make me jump through hoops to read your stuff and I just won’t. I assume I’m not the only one. Draw your own conclusions, make your own call. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: Trimming and Quoting Oh My!

2007-07-25 Thread A. Pagaltzis
anything that could be rendered as an email, without requiring *any* effort on my part. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] OT: fake email addresses (was: Making Controllers thin and Models thick)

2007-07-18 Thread A. Pagaltzis
* Kee Hinckley [EMAIL PROTECTED] [2007-07-18 19:35]: Of course the most of the mistakes were intentional attempts to avoid getting spammed (somewhere.com was *real* popular for fake addresses). http://asdf.com/asdfemail.html http://weblog.sinteur.com/?p=15846 Regards, -- Aristotle Pagaltzis

[Catalyst] Re: TT2 + CP::Authentication + DBIC gotcha

2007-07-17 Thread A. Pagaltzis
* Joe Landman [EMAIL PROTECTED] [2007-07-14 01:16]: Nowadays I simply put all the variable creation in a separate section near the beginning. Yuck!, please don’t. At the very least make sure not to declare variables for a wider scope than necessary. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: TT2 + CP::Authentication + DBIC gotcha

2007-07-17 Thread A. Pagaltzis
it will leaves any false $bar value in $vote, including things other than undef. The ternary is really the best option. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

[Catalyst] Re: RFC Catalyst::Plugin::ErrorOut

2007-07-16 Thread A. Pagaltzis
“error out”, I’d say. But I’d rather call it FatalErrorThrow and the method would be `fatal_error`, I think. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman

[Catalyst] Re: How to access current MyApp instance ?

2007-07-01 Thread A. Pagaltzis
* Oleg Pronin [EMAIL PROTECTED] [2007-07-01 16:00]: Because [%Game.detailsHref%] or [%Game.historyHref%] is much easier and faster to call then [%INCLUDE game_hrefs game=Game type='details'%] Is that so much shorter than [%Game.detailsHref(c)%]? Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: How to access current MyApp instance ?

2007-07-01 Thread A. Pagaltzis
, but ABW considers templating languages to be totally different from programming languages, so you get to be transported back to the ’60s. Have I mentioned that I hate TT2 with a passion? /rant Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: How to access current MyApp instance ?

2007-07-01 Thread A. Pagaltzis
* Bill Moseley [EMAIL PROTECTED] [2007-07-01 23:05]: On Sun, Jul 01, 2007 at 09:27:17PM +0200, A. Pagaltzis wrote: Of course, we’ve known since the ’70s or so how to make better programming languages, but ABW considers templating languages to be totally different from programming languages

[Catalyst] Re: Template rendering error under mod_perl

2007-06-29 Thread A. Pagaltzis
that this is a Bad Idea.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: displaying email addresses

2007-06-28 Thread A. Pagaltzis
successful strategy. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev

[Catalyst] Re: Form::Processor::Model::DBIx?

2007-06-28 Thread A. Pagaltzis
::Processor::Model::DBIC, mayhaps? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: iterating ResultSet in controller vs. template

2007-06-21 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: plat_forms report published on June 20th. 2007. Geneva team on Catalyst wins the Perl track.

2007-06-21 Thread A. Pagaltzis
took a hit in the contest for the lack of SOAP tooling, I can’t make myself care about it. There are more SOAP stacks than there are SOAP services on the open web. I’ll eat a broom, as they say in Germany, if that ever changes. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: iterating ResultSet in controller vs. template

2007-06-21 Thread A. Pagaltzis
is still a bit foreign to me. a. Yeah. That concept of context is quite unique to Perl. Hmm, so I guessed wrong; mea culpa. I wonder how one could divine that this is the problem a newcomer with questions is having… Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: setup() called twice

2007-06-20 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: iterating ResultSet in controller vs. template

2007-06-20 Thread A. Pagaltzis
this is not a problem with DBIx::Class (much less with Catalyst). Your understanding of Perl data structures is evidently superficial; you will do yourself a favour to read at least one of the perlreftut, perllol and perldsc docs. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: RFC for handling reverse proxies not deployed to standard ports.

2007-06-18 Thread A. Pagaltzis
headers. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: test server with -host

2007-06-18 Thread A. Pagaltzis
in Catalyst::Engine::HTTP::run is set to only permit connections from 127.0.0.1, if I’m reading the source right, and unfortunately myapp_server.pl provides no way to set a different value for that option from the command line. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Project Opportunity

2007-06-07 Thread A. Pagaltzis
privately – REGARDLESS of whether Reply-To is munged. All mailers suck, mutt just sucks less. :-) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo

[Catalyst] Re: running a function once on all requests

2007-06-05 Thread A. Pagaltzis
Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: deploying a Catalyst app

2007-06-02 Thread A. Pagaltzis
Makefile.PL declares. If you have several non-CPAN modules to install you can also write a .p5i file (which is just a plaintext list of tarballs) and invoke pip on that file, and it will install them all, in the order you gave. Very handy. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: JavaScript::Minifier new version

2007-05-26 Thread A. Pagaltzis
with more instructive boilerplate. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: using REST within the app

2007-05-24 Thread A. Pagaltzis
contrariwise be a great strength: cf. Principle of Least Power [1]. You cannot parse Perl without executing it; in contrast, JSON is easily read and repurposed. [1]: http://www.w3.org/DesignIssues/Principles.html#PLP Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: using REST within the app

2007-05-24 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: ActiveRecord for Perl

2007-05-22 Thread A. Pagaltzis
. It doesn’t seem to me like you have to make any choices, unless you feel a need to question the community. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman

[Catalyst] Re: Using a custom TT filter

2007-05-22 Thread A. Pagaltzis
::Unidecode? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: Redispatching actions

2007-05-21 Thread A. Pagaltzis
probably that is the main reason why I try to avoid them personally. Yes, redirects can be used as crutches to paper over a bad design. Then again, request tokens can be used as crutches to paper over a bad design. * Bernhard Graf [EMAIL PROTECTED] [2007-05-22 00:00]: A. Pagaltzis wrote: Not only

[Catalyst] Re: Redispatching actions

2007-05-21 Thread A. Pagaltzis
assertions might seem self-evident to him. But you have practically shut down the thread now, and I’d’ve liked to see what he was going to answer to my latest post. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst

[Catalyst] Re: Form validation in insert() and update()?

2007-05-21 Thread A. Pagaltzis
* Dave Rolsky [EMAIL PROTECTED] [2007-05-21 18:30]: On Mon, 21 May 2007, A. Pagaltzis wrote: So if the blank form is `/order/form`, you’d stash the form data away somewhere under ID `7z32a` (f.ex) and redirect them to `/order/form/7z32a` (or `/order/form?populate=7z32a`). The data could

[Catalyst] Re: Redispatching actions

2007-05-20 Thread A. Pagaltzis
button. I'd strongly, strongly recommend against it, sending a 302 really isn't that bad. Or 303. ;-) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo

[Catalyst] Re: Announcing the first Catalyst SwagReward!

2007-05-20 Thread A. Pagaltzis
). Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: Form validation in insert() and update()?

2007-05-20 Thread A. Pagaltzis
that resource as the same you can retrieve from /article/why-webarch-matters where the message box is missing; etc.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

[Catalyst] Re: Form validation in insert() and update()?

2007-05-20 Thread A. Pagaltzis
* Dave Rolsky [EMAIL PROTECTED] [2007-05-20 22:10]: On Sun, 20 May 2007, A. Pagaltzis wrote: Why not stash the message in the query string for the redirect target? Or a hash key. A couple problems. The biggest is that besides messages, I also pass along the submitted form data, so the form

[Catalyst] Re: Announcing the first Catalyst SwagReward!

2007-05-20 Thread A. Pagaltzis
* Mike Whitaker [EMAIL PROTECTED] [2007-05-20 21:45]: On 20 May 2007, at 17:14, A. Pagaltzis wrote: But a priority right now, it ain’t. If you can deliver a solution that works, tomorrow, go ahead. Doesn’t matter whatever wild hacks are necessary – getting the site relaunch ball rolling

[Catalyst] Re: Redispatching actions

2007-05-20 Thread A. Pagaltzis
* Bernhard Graf [EMAIL PROTECTED] [2007-05-20 21:05]: A. Pagaltzis wrote: That, plus the re-submit when the user hits the Back button. ... unless ($c-validate_token) { # Catalyst::Plugin::RequestToken $c-stash(message = 'Deja vu!'); # optional verbosity $c-detach('view

[Catalyst] Re: Encrypt /Decrypt URI

2007-05-19 Thread A. Pagaltzis
of these guys with their images, there was a contractual obligation, so I’d definitely go for a stronger defense. But as a quick fix, this was a pretty decent first move, and I’d say it’s rather hard to argue that hashing the filenames was a *bad* idea for them. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: Encrypt /Decrypt URI

2007-05-19 Thread A. Pagaltzis
cracked or not. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev

[Catalyst] Re: Encrypt /Decrypt URI

2007-05-19 Thread A. Pagaltzis
* Daniel Hulme [EMAIL PROTECTED] [2007-05-19 14:10]: On Sat, May 19, 2007 at 12:24:07PM +0200, A. Pagaltzis wrote: F.ex., it would be dumb to run sshd on a port other than 22, hoping that no one finds it. Not really. I run sshd on my home box on a non-default port, because I was fed up

[Catalyst] Re: Announcing the first Catalyst SwagReward!

2007-05-19 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: Mason view hackers (and other views), PING

2007-05-19 Thread A. Pagaltzis
leaky abstractions…) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org

[Catalyst] Re: Mason view hackers (and other views), PING

2007-05-19 Thread A. Pagaltzis
Hi Matt, * Matt S Trout [EMAIL PROTECTED] [2007-05-19 21:15]: On Sat, May 19, 2007 at 07:55:15PM +0200, A. Pagaltzis wrote: * Matt S Trout [EMAIL PROTECTED] [2007-05-19 19:45]: comp_root = do { my $root = $c-config-{root}; ${root}; }, would be better, I think. Why `do`? Wouldn’t

[Catalyst] Re: Form validation in insert() and update()?

2007-05-19 Thread A. Pagaltzis
, not the session? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] OT: security through obscurity (was: Encrypt/Decrypt URI)

2007-05-18 Thread A. Pagaltzis
. (In this case, of course, obscurity makes no sense; I am just talking about the general case.) Please quit this “it’s not security at all” cargo cult. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org

[Catalyst] Re: Catalyst actions

2007-05-18 Thread A. Pagaltzis
indeed when you get these wrong… :-) (For those who don’t know: using POST where GET would be appropriate just costs you cacheability and thus scalability; using GET where POST would be appropriate can cost your users their data.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: Catalyst actions

2007-05-18 Thread A. Pagaltzis
* Matt S Trout [EMAIL PROTECTED] [2007-05-18 16:30]: On Fri, May 18, 2007 at 03:29:20PM +0200, A. Pagaltzis wrote: * Matt S Trout [EMAIL PROTECTED] [2007-05-18 14:30]: I prefer to have my code wired up fairly explicitly for GET vs. POST but that's more an obsession with the HTTP and URI

[Catalyst] Re: Catalyst without template

2007-05-17 Thread A. Pagaltzis
class and generate the output from there. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: Session timeout and re-Authentication from a Frame

2007-05-15 Thread A. Pagaltzis
this because I just recently had to research it.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

[Catalyst] Re: Persistent login

2007-05-15 Thread A. Pagaltzis
for this is mail.yahoo.com. Just expire some keys earlier than others. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive

[Catalyst] Re: C:P:Session::Store::FastMmap

2007-05-10 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread A. Pagaltzis
* A. Pagaltzis [EMAIL PROTECTED] [2007-05-10 16:14]: * Anthony Gardner [EMAIL PROTECTED] [2007-05-10 16:00]: Why not use Attribute::Protected to define private etc. methods Because it does not actually prevent private methods in subclasses from overriding ones in their superclasses, moves

[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread A. Pagaltzis
* Anthony Gardner [EMAIL PROTECTED] [2007-05-10 16:00]: Why not use Attribute::Protected to define private etc. methods Because it does not actually prevent private methods in subclasses from overriding ones in their superclasses, moves error detection to compile time, adds overhead to every

[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread A. Pagaltzis
www.cpantools.org not found: 3(NXDOMAIN) ? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread A. Pagaltzis
* Daniel Hulme [EMAIL PROTECTED] [2007-05-10 20:45]: If you'd googled rather than hosting you'd have found that Anthony meant to say cpantools.com. Condescending much? xoxo, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst

[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-09 Thread A. Pagaltzis
-trail_length; } Here the caller talks only to VegGuide::Response and doesn’t even know that there’s a VegGuide::Breadcrumbs object behind the scene. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org

[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-09 Thread A. Pagaltzis
been doing it since. I think it’s an excellent way to avoid one of the deficiencies in Perl’s OO. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] Re: Bug in Catalyst::Model::DBI .15

2007-05-06 Thread A. Pagaltzis
* Evan Carroll [EMAIL PROTECTED] [2007-05-06 10:55]: With that said, the patch provided has no drawbacks, and even if you only use the most minimal functionality of M::DBI, with the current code, you don't have a connection until the first -dbh is called, which is no bueno. (work that is

[Catalyst] Re: Redirects // Re: forwarding to chained actions

2007-04-27 Thread A. Pagaltzis
* Simon Wilcox [EMAIL PROTECTED] [2007-04-27 15:10]: So, what do people do - do you send 303/307's correctly or just default to 302 behaviour? I send 303, unless the HTTP request uses HTTP 1.0, in which case the client sees a 302 instead. Regards, -- Aristotle Pagaltzis // http

[Catalyst] Re: Redirects // Re: forwarding to chained actions

2007-04-27 Thread A. Pagaltzis
* Bill Moseley [EMAIL PROTECTED] [2007-04-27 20:55]: sub post_redirect { my ( $c, $location ) = @_; my ($version) = $c-request-protocol =~ m/(\d+\.\d+)/; # Make location absolute $location = $c-uri_for( $location ) unless $location =~ /http/; $c-res-redirect(

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-26 Thread A. Pagaltzis
* Danny Warren [EMAIL PROTECTED] [2007-04-26 11:25]: A. Pagaltzis wrote: * Danny Warren [EMAIL PROTECTED] [2007-04-26 04:45]: Quick question: at around 15 minutes in (while discussing TT) you mentioned the ability to set html scrubbing at a global level, and that there is something on CPAN

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-26 Thread A. Pagaltzis
. A quality module is one which does that and yet provides for less ordinary scenarios without resorting to “copy-paste and tweak to taste.” Anyway, not to get stuck on soapboxes here. If that module works for you, fine. :-) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: How to pass vars to modules

2007-04-26 Thread A. Pagaltzis
to remote interactions. That is a nightmare to maintain. Make your immediate dependencies explicit. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] OT: ack (was: How to pass vars to modules)

2007-04-26 Thread A. Pagaltzis
* Dave Rolsky [EMAIL PROTECTED] [2007-04-27 02:40]: For example, when I want to find all the modules I'm using, I usually do something like this: grep -r '^use ' As a sidenote, do check out App::Ack, which installs the `ack` tool. Much nicer than grep(1) for source code. --

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-25 Thread A. Pagaltzis
, as I am about to go through and add '| html' to damn near every variable in my templates. http://search.cpan.org/dist/Template-Stash-HTML-Entities/ Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org

[Catalyst] Re: forwarding to chained actions

2007-04-24 Thread A. Pagaltzis
they are? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: forwarding to chained actions

2007-04-24 Thread A. Pagaltzis
present a reason that convinces me and which I feel would be a good thing to keep in mind for my own apps in the future, then I might be inclined to dig in and find out, because I’ll learn something for myself in the process. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: oe1.orf.at now running on Catalyst

2007-04-20 Thread A. Pagaltzis
, but it seems those plans fizzled out. Have they? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

[Catalyst] Re: Catalyst Summary for March 2007

2007-04-17 Thread A. Pagaltzis
, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: Handling slow uploads externally

2007-04-13 Thread A. Pagaltzis
cache thrashing, esp. in multi- processor systems. I don’t know if it does upload buffer or how it stacks up against the competition. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: [EMAIL PROTECTED] Listinfo: http

[Catalyst] Re: HOWTO reference config settings from template

2007-04-13 Thread A. Pagaltzis
* Jeff Chimene [EMAIL PROTECTED] [2007-04-13 19:20]: Where is the class method documented? http://search.cpan.org/perldoc/Template::Plugin::Class ___ List: [EMAIL PROTECTED] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable

[Catalyst] Re: Handling slow uploads externally

2007-04-12 Thread A. Pagaltzis
in the CGI and a Catalyst base controller being released on CPAN? Sometimes, there is no code to do something because no code is needed to do it. :-) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: [EMAIL PROTECTED] Listinfo

[Catalyst] Re: internal redirect

2007-04-12 Thread A. Pagaltzis
if the image you are generating is a thumbnail, f.ex. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: [EMAIL PROTECTED] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL

[Catalyst] Re: logout and go back to previous session?

2007-03-14 Thread A. Pagaltzis
what I can tell. However, C::Session::State::Cookie consists of 100 lines of pretty simple code; just read the source. A patch to support multiple different cookie names would be quite easy to implement. (Or a subclass, failing that.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org

[Catalyst] Re: logout and go back to previous session?

2007-03-13 Thread A. Pagaltzis
processing for anonymous sessions, but it makes the protocol ever so slightly simpler and more robust. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] Re: html mail (was: reserved words)

2007-03-09 Thread A. Pagaltzis
care. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Re: Chained, slashes, and escaping

2007-03-06 Thread A. Pagaltzis
Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: You have been automatically logged out.

2007-02-22 Thread A. Pagaltzis
Javascript or meta refresh or whatever in order to alert the user to the logout, but logging them out MUST happen server-side. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

[Catalyst] Re: You have been automatically logged out.

2007-02-22 Thread A. Pagaltzis
timeouts. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] Re: Why I chose Perl and Catalyst

2007-02-14 Thread A. Pagaltzis
performance Arguably Java is faster. - has stood the test of time Check. Basically, this is a good list if you want to argue “Perl vs. another contemporary dynamic language,” but it makes little distinction when you’re trying to contrast Perl against Java. Regards, -- Aristotle Pagaltzis

[Catalyst] Re: looping

2007-02-14 Thread A. Pagaltzis
Hi Ian, * Ian Docherty [EMAIL PROTECTED] [2007-02-14 16:40]: A. Pagaltzis wrote: * Will Smith [EMAIL PROTECTED] [2007-02-12 21:25]: my $column = $c-model(myDB::Author)-get_column('last_name'); while(my $name = $column-next){ $lname[$i] = $name; $i = $i + 1; } Ugh. Use `push

[Catalyst] Re: Redirect status codes (was: HTTP redirect - delayed Firefox)

2007-02-13 Thread A. Pagaltzis
* Matt S Trout [EMAIL PROTECTED] [2007-02-12 11:45]: On 10 Feb 2007, at 08:30, A. Pagaltzis wrote: Actually, 302 means “repeat the same request at this other URI” whereas 303 means “please retrieve this other URI using GET.” The difference is that strictly according to RFC, 302 means

[Catalyst] Re: Why I chose Perl and Catalyst

2007-02-13 Thread A. Pagaltzis
typing). Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

[Catalyst] Redirect status codes (was: HTTP redirect - delayed Firefox)

2007-02-10 Thread A. Pagaltzis
was introduced in HTTP 1.1; if the client sent you a HTTP 1.0 request, you have no other choice than 302. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

[Catalyst] O’Reilly might yet be interested after all

2007-02-06 Thread A. Pagaltzis
to the advent calendar is probably a good gauge for that. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Re: O’Reilly might yet be interested after all

2007-02-06 Thread A. Pagaltzis
that are concise and simple, but falls back to Perl for anything beyond that. (And I’m gonna do something about that desire at some point.) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http

  1   2   >