Re: [Catalyst] Streaming?

2006-06-20 Thread Andreas Marienborg
http://dev.catalyst.perl.org/browser/trunk/examples/Streaming might be something to look at. andreas On 21. jun. 2006, at 05.00, John Napiorkowski wrote: > This wouldn't support http partial content, would it? > I can't find anything in the source to support it. > Does anyone have any ideas ho

Re: [Catalyst] Streaming?

2006-06-20 Thread John Napiorkowski
This wouldn't support http partial content, would it? I can't find anything in the source to support it. Does anyone have any ideas how I could support something like the following: HTTP/1.1 206 Partial content Date: Wed, 15 Nov 1995 06:25:24 GMT Last-Modified: Wed, 15 Nov 1

Re: [Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread mnichols
"A. Pagaltzis" <[EMAIL PROTECTED]> writes: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2006-06-20 13:40]: >> I have a Template toolkit working and and a PHP view working. >> I would like to be able to use the template toolkit then pass >> to PHP or vise versa. > > Just to throw a completely differe

Re: [Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread mnichols
Yuval Kogman <[EMAIL PROTECTED]> writes: > On Tue, Jun 20, 2006 at 07:26:59 -0400, [EMAIL PROTECTED] wrote: >> >> I have a Template toolkit working and and a PHP view working. I would >> like to be able to use the template toolkit then pass to PHP or vise >> versa. It was suggested that this co

Re: [Catalyst] Streaming?

2006-06-20 Thread Yuval Kogman
On Tue, Jun 20, 2006 at 22:38:18 +0100, Matt S Trout wrote: > $c->res->body($filehandle_object) or $c->res->body( $thing_that_quacks_like_a_filehandle_object_like_maybe_an_iterator_or_something_like_that ) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 p

Re: [Catalyst] Streaming?

2006-06-20 Thread Matt S Trout
Michael Giambalvo wrote: > Is streaming possible within catalyst? I've run into a couple cases > now where I need to stream data to the client. Is there a way for me > to write data to the pipe and then flush it, or is that not exposed in > Catalyst? $c->write($chunk) or $c->res->body($filehan

[Catalyst] Streaming?

2006-06-20 Thread Michael Giambalvo
Is streaming possible within catalyst? I've run into a couple cases now where I need to stream data to the client. Is there a way for me to write data to the pipe and then flush it, or is that not exposed in Catalyst? I'm not even sure where this would be implemented, but I guess I'd have to mak

Re: [Catalyst] They gave us BoF space! (YACP::EU 2006)

2006-06-20 Thread Matt S Trout
Dylan Vanderhoof wrote: > So when are you guys gonna do something like this over on this side of > the Pond? =) When one of you guys on that side of the pond gets off your ass and submits a BoF request to a suitable conference! I only put the request in for YAPC::EU because I'm one of the more

Re: [Catalyst] They gave us BoF space! (YACP::EU 2006)

2006-06-20 Thread Dylan Vanderhoof
So when are you guys gonna do something like this over on this side of the Pond? =) -Dylan > Of course. My intent is to make it a users and developers' > meet, and for the > session to run centered on the people who turn up rather than on any > predefined plan (since I've already got 4 talks

Re: [Catalyst] [Dbix-class] They gave us BoF space! (YACP::EU 2006)

2006-06-20 Thread Christopher H. Laco
Matt S Trout wrote: > Michael Gray wrote: >>> Matt S Trout wrote: http://www.birmingham2006.com/cgi-bin/yapc.pl?act=talk-item&talkid=77 So, who's turning up then? >> I'd like to attend, as long as it's okay to sit on the sidelines and >> absorb, since I'm not really a contri

Re: [Catalyst] They gave us BoF space! (YACP::EU 2006)

2006-06-20 Thread Matt S Trout
Michael Gray wrote: >> Matt S Trout wrote: >>> http://www.birmingham2006.com/cgi-bin/yapc.pl?act=talk-item&talkid=77 >>> >>> So, who's turning up then? >>> > > I'd like to attend, as long as it's okay to sit on the sidelines and > absorb, since I'm not really a contributor (yet). Of course. M

[Catalyst] ebuilds for C::P::PageCache and FastMmap

2006-06-20 Thread Toby Corkindale
Hi Michele, please find attached new ebuilds for a couple of Catalyst plugins, for inclusion in your Gentoo portage tree. Thanks, Toby # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # This ebuild generated by g-cpan 0.13.02 inherit pe

[Catalyst] ~very~ minor difficulty with Catalyst::Helper::View::TTSite

2006-06-20 Thread Eric W. Bates
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As part of Catalyst::View::TT 0.22 config/main is set as the pre-processor. config/main processes config/col and config/url; config/col is missing a dash '-' before the final TT delimiter '%]' This easily remedied oversight causes an blank line to

Re: [Catalyst] They gave us BoF space! (YACP::EU 2006)

2006-06-20 Thread Michael Gray
> Matt S Trout wrote: > > http://www.birmingham2006.com/cgi-bin/yapc.pl?act=talk-item&talkid=77 > > > > So, who's turning up then? > > I'd like to attend, as long as it's okay to sit on the sidelines and absorb, since I'm not really a contributor (yet). -- Michael __

Re: [Catalyst] HTML::Widget - AllOrNone with Select and empty values

2006-06-20 Thread A. Pagaltzis
* Adam Sjøgren <[EMAIL PROTECTED]> [2006-06-20 15:25]: > On Tue, 20 Jun 2006 14:06:17 +0100, Ash wrote: > >Wrong list - there is a HTML::Widget maling list (also on > >lists.rawmode.org) > > Damn, I apologize (for the other as well). No need to worry – that mailing list didn’t even exist until a

Re: [Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread A. Pagaltzis
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2006-06-20 13:40]: > I have a Template toolkit working and and a PHP view working. > I would like to be able to use the template toolkit then pass > to PHP or vise versa. Just to throw a completely different idea into the pot, you could put TT aside entirel

Re: [Catalyst] HTML::Widget - AllOrNone with Select and empty values

2006-06-20 Thread Adam Sjøgren
On Tue, 20 Jun 2006 14:06:17 +0100, Ash wrote: > Wrong list - there is a HTML::Widget maling list (also on lists.rawmode.org) Damn, I apologize (for the other as well). Best regards, Adam -- Adam Sjøgren

Re: [Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread Ash Berlin
Jess Robinson wrote: > I suspect your problem is that views tend to expect data in one place > (i.e. the stash, and a template file), and output it to another > ($c->res->body usually), if you want to run through one and then the > other, you'll need to retrieve the result of the TT view from >

Re: [Catalyst] HTML::Widget - AllOrNone with Select and empty values

2006-06-20 Thread Ash Berlin
Adam Sjøgren wrote: > On Fri, 5 May 2006 15:19:33 +0100, Carl wrote: > > >> Select elements automatically get an "In" contraint added, containing >> the keys from the element's options(). >> > > >> This probably ought to be over-rideable. >> > > Attached is a patch that makes it so.

Re: [Catalyst] HTML::Widget - checkboxes with same name, duplicate id-attributes

2006-06-20 Thread Adam Sjøgren
On Mon, 20 Mar 2006 10:53:11 +0100, ADSJ wrote: > The HTML-specification allows checkbox-elements to share the same > name¹, so I guess Checkbox.pm ought to do something similar to > Radio.pm for id-attributes? There was no response to this, so I've cooked up a crude patch that makes Checkbox.pm

Re: [Catalyst] HTML::Widget - AllOrNone with Select and empty values

2006-06-20 Thread Adam Sjøgren
On Fri, 5 May 2006 15:19:33 +0100, Carl wrote: > Select elements automatically get an "In" contraint added, containing > the keys from the element's options(). > This probably ought to be over-rideable. Attached is a patch that makes it so. Let me know if it should be done differently and I wil

Re: [Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread Jess Robinson
I suspect your problem is that views tend to expect data in one place (i.e. the stash, and a template file), and output it to another ($c->res->body usually), if you want to run through one and then the other, you'll need to retrieve the result of the TT view from $c->res->body, and put it whe

Re: [Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread Yuval Kogman
On Tue, Jun 20, 2006 at 07:26:59 -0400, [EMAIL PROTECTED] wrote: > > I have a Template toolkit working and and a PHP view working. I would > like to be able to use the template toolkit then pass to PHP or vise > versa. It was suggested that this could be done on irc, I have made > some attempts

[Catalyst] PHP::View and Template::Toolkit

2006-06-20 Thread mnichols
I have a Template toolkit working and and a PHP view working. I would like to be able to use the template toolkit then pass to PHP or vise versa. It was suggested that this could be done on irc, I have made some attempts at this with no luck. I simply tried to forward on to the two views but of