RE: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Dylan Vanderhoof
I haven't played with gearman yet, but we're also using TheSchwartz
(thanks to some setup help from jshirley), and its truly awesome.
 
I have a couple minor gripes (needs an on_final_error sub you can
override), but for the most part it rocks.
 
-D

-Original Message-
From: J. Shirley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 10:54 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] A Perl Message Queue?


On 8/23/07, Tobias Kremer [EMAIL PROTECTED] wrote: 


 Has anyone seen stuff like a Messages Queue (I dont
have other words for
 it) But a more generic implementation of a thing where
you can put in
 messages and  pick them out in some other part of the
program. 

 It would be nice when you have stuff that takes longer
that people usually
 can wait for.

Maybe TheSchwartz does what you want:

http://search.cpan.org/dist/TheSchwartz/ 

--Tobias

___
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/




I second using TheSchwartz -- 6a/TypePad had a presentation at
OSCON on it, reporting that they were having throughput of 800 messages
per second. 

We're using it at my job, and loving it.  I wrote out the very
high level experience at
http://jshirley.vox.com/library/post/catalyst-and-theschwartz-reliable-j
obqueue-in-a-great-framework.html

Also, you can look at Gearman.

Hope this helps,
-Jay

-- 
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one
bird...
http://www.toeat.com 

___
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/


RE: [Catalyst] Method to overload per request

2007-08-09 Thread Dylan Vanderhoof
 -Original Message-
 From: John Lifsey - Contractor - [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 09, 2007 8:04 AM
 To: The elegant MVC web framework
 Subject: [Catalyst] Method to overload per request
 
 
 Is there a method in C::Req (or any other part of Cat) that I can 
 overload which is called only once per request? I thought 
 that would be 
 prepare, but it seems that is called several times per page load. Any 
 advice appreciated.
 
 John
 

MyApp::Controller::Root-auto?

-Dylan

___
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/


RE: [Catalyst] RFC for handling reverse proxies not deployed tostandard ports.

2007-06-15 Thread Dylan Vanderhoof
While this is being looked at, it would be nice to pass along whether
the initial connection was HTTP or HTTPS for uri_for to make use of.  If
the frontend is HTTPS and the backend is HTTP, uri_for breaks unless you
set an env variable (https=on?)

-D

 -Original Message-
 From: Marlon Bailey [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 15, 2007 9:25 AM
 To: catalyst@lists.rawmode.org
 Subject: [Catalyst] RFC for handling reverse proxies not 
 deployed tostandard ports.
 
 
 Current situation:  There is no clean solution for deploying a reverse
 proxy to a nonstandard HTTP(80)/HTTPs(443) port, like port 8080.
 
 Suggestion:  I'd like to submit a solution that extends the current
 proxy-backend practice of reading the proxy values out of the request
 header.  Currently the client's IP is taken from a X-Forwarded-For
 header value, and the host's(Reverse Proxy) hostname is taken from a
 X-Forwarded-Host header value. I suggest adding the ability for
 Catalyst to set the host's port from a X-Forwarded-Host-Port header
 value.  This way a simple config option such as this 
 
 HEADER balancer_for_dev2 insert X-Forwarded-Host-Port: 8080
 
 in a Perlbal config will give a clean solution.
 
 Extras considerations:  After speaking with Matt(mst) about this, he
 also suggested allowing the Path value to be set from a header value
 as well.
 
 What do you guys think?
 
 _Marlon Bailey_
 avinash240
 
 
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 
 ___
 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/
 

___
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/


RE: [Catalyst] debug mode

2007-06-04 Thread Dylan Vanderhoof
Oh, missed this email.  Yours looks better than mine.  =)

-D

 -Original Message-
 From: Matthew Pitts [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 04, 2007 8:23 AM
 To: The elegant MVC web framework
 Subject: RE: [Catalyst] debug mode
 
 
 I wrote a cheap little plugin for my app to override 
 $c-debug to return
 the debug flag from $c-config-{debug}. As such:
 
 package MyApp::Plugin::DebugMode;
 
 sub debug {
 my $c = shift;
 
 return $c-config-{debug} || 0;
 }
 
 1;
 
 Then I just add a debug: 1 line to my DEV/QA/UAT configs and make it
 debug: 0 for my PROD config. It's been working pretty well for me.
 
 Enjoy,
 
 Matt Pitts
 
 On Mon, 2007-06-04 at 15:51 +0100, mark wrote:
  I thought a nice way would be to be able to specify it in the config
  file; then your _local.yml file could add it for the dev 
 environment.
  Yet to produce a patch for that though it should be pretty straight
  forwards.
   
  Mark
  
  
  
 __
  From: John Goulah [mailto:[EMAIL PROTECTED] 
  Sent: 04 June 2007 15:32
  To: The elegant MVC web framework
  Subject: [Catalyst] debug mode
  
  
  
  What is the best way to deal with the -Debug flag between a 
 production
  and development environment?  Obviously its not desirable to go into
  the file and remove the flag every time the code goes to 
 prod.   I see
  you can start the stanalone server with -d to force debug.  
 I think I
  remember about an environment variable to set debug also.  Is the
  preferred method to take the hardcoded flag out and use one 
 of these,
  or is there another way (such as a config option)?  How are people
  dealing with this? 
  
  Thanks,
  John
  ___
  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/
 
 ___
 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/
 

___
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] Apache mod_proxy, SSL and uri_for

2007-05-17 Thread Dylan Vanderhoof
I'm having a little issue with SSL and uri_for.

mox_proxy is sending the X-Forwarded-For: headers correctly, but they
don't appear to have any information as to whether or not the request
was http or https.  From what I can tell, this is normal behavior.
However, that means that if I'm just using http on the connection from
the proxy to the backend server, uri_for is incorrect, which causes all
sorts of mixed-mode warnings to pop up on any subsequent requests.

using_frontend_proxy is set to 1 in my config, but it doesn't appear to
address this particular issue.

Anybody have any suggestions for how I might fix this?  For now, I'm
just running SSL to the backend server, but I'd really rather not waste
the resources.

Thanks,
Dylan

___
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/


RE: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Dylan Vanderhoof
I'm sure there's a better way to do it, but I have some code in
Root-end() that effectivly does (pseudocode):

If( $error  !$debug ) {
   email_stacktrace();
   clear_error();
   template = 'default_error.tt';
}

The one problem with doing it like that is that if you die in the view
somewhere, you don't get emailed.  I haven't had time to look into it
much further since we almost never have a failure in the view.

-D

 -Original Message-
 From: Igor Longagnani [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 27, 2007 8:12 AM
 To: catalyst@lists.rawmode.org
 Subject: [Catalyst] Catalyst Exception received by e-mail?
 
 
 Hi,
 still a rookie here; some time has passed since my last question,
 because i had many other things to do,
 but now I am back with many questions and really few answers :) 
 Iam sure You can help, let's say you almost always did :)
 
  I should force my Catalyst based app to send an e-mail on every
 exception/error,
  just before sending it (the exception) out on the video when 
 the app dies.
 I mean I'd like to see the exception both on the screen and 
 on e-mail. I
 like those complete scrolling screens
 when something bad happens ...
 
 Well Catalyst helps me a lot in not making errors but ... 
 thats why I'd
 love to be notified when it happens
 I thought someone had already put something to extend Catalyst
 Exception, but i wasnt able to find nothing appropriate.
 
 Any clue?
 
 Thanks in advance,
 Igor
 
 
 -- 
 Igor Longagnani c/o Synervis
 ---
 e-mail: [EMAIL PROTECTED] phone : +39 059 558442
 
 sede operativa: via Pirandello, 49/51 - 41043 Formigine (Mo) Italia
 
 
 ___
 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/
 

___
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/


RE: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Dylan Vanderhoof


 -Original Message-
 From: Ash Berlin [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 27, 2007 9:12 AM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] Catalyst Exception received by e-mail?
 
 
 Dylan Vanderhoof wrote:
  I'm sure there's a better way to do it, but I have some code in
  Root-end() that effectivly does (pseudocode):
  
  If( $error  !$debug ) {
 email_stacktrace();
 clear_error();
 template = 'default_error.tt';
  }
  
  The one problem with doing it like that is that if you die 
 in the view
  somewhere, you don't get emailed.  I haven't had time to 
 look into it
  much further since we almost never have a failure in the view.
  
  -D
  

 Look at finazlie_error(s?) in Catalyst (you'd create a sub 
 finalize_error in MyApp.pm) for a better place to do this
 
 ash
 

Hm, yep.  That's a much better place to do that.  Thanks.  =)

-D

___
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/


RE: [Catalyst] Session problems with IE and cookies

2007-03-01 Thread Dylan Vanderhoof
I'm not really sure how to write a test case for something that only
fails using IE (as best I can tell). 
 
Any suggestions?
 
-D
 
  -Original Message-
From: Kieren Diment [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 1:39 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Session problems with IE and cookies



Can someone with access to the problem platform rig up a minimal
app and a failing test case please.

Not that I'm volunteering to fix it or anything, it's just
that's the best way to get it fixed.

http://www.catalystframework.org/calendar/2006/7 should point
you in the right direction though.

On another vein of thought I wonder if HTTP::Recorder would
illuminate the problem at all.  It's a bit buggy though so that would be
a bit of a long shot. 




___
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] Session problems with IE and cookies

2007-02-27 Thread Dylan Vanderhoof
I'm seeing an issue where if IE is holding a cookie when a session
expires (expires set to 7200, cookie_expires set to 0), the user can't
login.  Login authenticates successfully, but redirects back to the
login page.  (Session is expired and not being deleted correctly)

This does not happen with Firefox, which appears to actually delete the
session correctly.

I noticed the same behavior if the session data (Store::DBIC) was
deleted from the DB before the session expires.  

Any ideas what might be causing this and how to fix it?

Thanks,
Dylan

Debug output: (Repeats the last 2 requests until the browser is closed
with a session cookie or the cookie file is deleted with a cookie with
an expiration)

[debug] GET request for / from 209.221.173.66
[debug] Found sessionid cb30ab14db722929594b6ec6e4f35bc28895284f in
cookie
[debug] Deleting session(session expired)
[debug] Redirecting to https://myapp/signin;
[info] Request took 0.084344s (11.856/s)
.+--
-.
| Action | Time
|
++--
-+
| /auto  |
0.057025s |
| /end   |
0.001156s |
'+--
-'

[info] *** Request 1 (0.001/s) [3435] [Tue Feb 27 21:50:43 2007] ***
[debug] GET request for signin from 209.221.173.66
[debug] Path is signin
[debug] Found sessionid cb30ab14db722929594b6ec6e4f35bc28895284f in
cookie
[debug] Deleting session(session expired)
[debug] Rendering template login_welcome.tt
[info] Request took 0.178703s (5.596/s)
.+--
-.
| Action | Time
|
++--
-+
| /auto  |
0.000492s |
| /auth/signin   |
0.083319s |
| /end   |
0.066447s |
|  - NetResponse::View::TT-process |
0.062633s |
'+--
-'

[info] *** Request 2 (0.002/s) [3435] [Tue Feb 27 13:50:50 2007] ***
[debug] Body Parameters are:
.-+-
-.
| Parameter   | Value
|
+-+-
-+
| email   | username |
| password| password   |
'-+-
-'
[debug] POST request for signin from 209.221.173.66
[debug] Path is signin
[debug] Found sessionid cb30ab14db722929594b6ec6e4f35bc28895284f in
cookie
[debug] Deleting session(session expired)
[debug] Found sessionid cb30ab14db722929594b6ec6e4f35bc28895284f in
cookie
[debug] Deleting session(session expired)
[debug] Found sessionid cb30ab14db722929594b6ec6e4f35bc28895284f in
cookie
[debug] Successfully authenticated user '[EMAIL PROTECTED]'.
[debug] Redirecting to https://myapp/signin;

___
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/


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

2007-02-22 Thread Dylan Vanderhoof

 Better yet, actually unwind processing and start over with the
 unserialised request, pretending it was the one that had just
 happened. That way you achieve such magic as seamless processing
 of uploads across session timeouts.
 

Oohhh, that would be nifty.  Anybody wanna shed some light on how
exactly to do that?  =)

(Or is it possible with the current Catalyst?)

-Dylan

___
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] Catalyst job available in Seattle, WA

2007-01-17 Thread Dylan Vanderhoof
Crossposting here for visibility, in case any of you folk might live in
Seattle or be interested in relocating.

http://jobs.perl.org/job/5209

-Dylan

___
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] Gentoo myapp_fastcgi.pl startup script?

2007-01-17 Thread Dylan Vanderhoof
In my neverending quest to not reinvent the wheel, has anybody written a
gentoo init.d script to start/stop/reload a Catalyst fastcgi app?
(Using fastcgiexternalserver)

Thanks,
Dylan

___
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/


RE: [Catalyst] serving static files

2007-01-10 Thread Dylan Vanderhoof
Apache still needs to fork mod_perl.

This is a non-issue for an external FCGI server.

 -Original Message-
 From: Octavian Rasnita [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 10, 2007 2:38 PM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] serving static files
 
 
 From: Perrin Harkins [EMAIL PROTECTED]
 
  If you're serving static files and running mod_perl without 
 a reverse
  proxy, that should be the first thing you change.  It has a very
  significant effect on performance.
 
  - Perrin
 
 Sorry for off topicness, but please tell me, does it have a 
 bad effect if
 the files are just some files sitting in a directory, and 
 they are served by
 apache directly, with no relations with the directories that 
 are handled by
 a perl-script handler?
 
 What I don't understand is why serving the files directly 
 decreases the
 performance of mod_perl apps, even though downloading those 
 files has no
 relation with those mod_perl apps.
 
 Does it happen the same in case of FastCGI applications?
 
 Do you have a recommendation for a text for learning how to 
 use a reverse 
 proxy?
 
 Thank you.
 
 Octavian
 
 
 ___
 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/
 

___
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/


RE: [Catalyst] C::V::PDF? (Anybody have one?)

2007-01-08 Thread Dylan Vanderhoof
 -Original Message-
 From: Nathaniel Nuss [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 08, 2007 7:49 PM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] C::V::PDF? (Anybody have one?)
 
 
 What is the nature of the PDFs you need to create?
Image centric - Text centric
Private(For sale) - Public
 Dynamic(User driven) - Static
High Res. - Fast Download (Low Res.)
 
 The projects I'm involved with generate PDFs that fall 
 primarily on the left
 of those, except the last one where we have to be on both sides! ;)
 
 Other, more specific, needs you have for the PDFs you're making may be
 helpful.
 
 -- 
 Nate Nuss

Mostly on the right side.  Primarily for reports.  The biggest gain is
being able to do things like page breaks in PDF that don't really apply
to an HTML medium.

I suppose when it comes down to it, I should be searching CPAN for a PDF
module that does what I want and starting from there.

-Dylan

___
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] C::P::Email 0.06 problem

2006-12-22 Thread Dylan Vanderhoof
I assume the maintainer reads this list.

Upgrading to 0.06 broke my code using C::P::Email that was written
nearly identically to the docs.

CPAN bug (submitted by somebody else) is here:

http://rt.cpan.org/Public/Bug/Display.html?id=23958

Downgraded for now, but it'd be nice to see that fixed since my package
manager keeps wanting to upgrade and I have to talk sternly to it to get
it to stop.  =)

-Dylan

___
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/


RE: [Catalyst] bad luck with shadowcat install -- something wrongwith cpan? was Re: [Dbix-class] How to Install Catalyst on windows

2006-12-12 Thread Dylan Vanderhoof
 -Original Message-
 From: Matt S Trout [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, December 12, 2006 3:43 AM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] bad luck with shadowcat install -- 
 something wrongwith cpan? was Re: [Dbix-class] How to Install 
 Catalyst on windows
 
 
 
 On 11 Dec 2006, at 18:41, Thomas Hartman wrote:
 
  Does this seem to be something wrong with CPAN ftp server? Or a
  problem with the shadowcat install script?
 
 Duff CPAN mirror. Try http://cpan.shadowcatprojects.net/
 

Or, if you happen to be in the US, http://cpan.llarian.net works nicely
as well.  =)

-Dylan

___
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] A couple (probably dumb) questions about TT

2006-09-07 Thread Dylan Vanderhoof
This might not be the best list to ask on, but I'm subscribed, and
hopefully somebody will know the answers.  =)

First question, is it possible to deep-copy a structure using TT?  I
have a place where I'm taking a hashref from the stash, passing it as
args to the src of an img tag, and then changing a couple variables in
it before passing it to [% c.uri_for( /blah, new_args) %], but changing
a couple elements of new_args changes the same elements in args, as
designed.  Any way around this other than creating new_args as a new
hashref and copying the elements by name one by one?


Second question about encoding and javascript.  (Blah)  

One of the values in the above args hash is a title that may or may not
include a ' character.  It is displayed on the page fine, and passed to
things like the img src above correctly, but its also being used in a
call to a href=# onClick=javascript:window.open('[% c.uri_for(
/blah, args ) %]'); (simplified, there's more to it than that, but
that's where the problem lies)  Unfortunatly, the ' character causes a
problem here, because its not quoted in any way and javascript barfs.
If I use [% args.title.replace( '\'', '%27' ) %], then the error goes
away, but I get exactly that in the params of the new window, and I'd
really like it unquoted when it hits Catalyst on the new window.

Any suggestions for how to get around this?  I'm sure its something
obvious, but I'm not coming up with anything miraculous.

Thanks,
Dylan

___
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/


Re: [Catalyst] A couple (probably dumb) questions about TT

2006-09-07 Thread Dylan Vanderhoof
Not sure why I didn't think of that, but no dice I'm afraid.  TT quoted
the backslash, but not the tick.

Ended up with this:

Who%5C's

You did kinda set me on the right path though, it sounds like what I
really need is an unquoted backslash.  Just not sure how to convince TT
to do that.

-Dylan

 -Original Message-
 From: A. Pagaltzis [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 07, 2006 3:04 PM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] A couple (probably dumb) questions about TT
 
 
 * Dylan Vanderhoof [EMAIL PROTECTED] [2006-09-07 22:50]:
  If I use [% args.title.replace( '\'', '%27' ) %], then the
  error goes away, but I get exactly that in the params of the
  new window, and I'd really like it unquoted when it hits
  Catalyst on the new window.
  
  Any suggestions for how to get around this?
 
 args.title.replace( '\'', '\'\\\'' )
 
 Untested.
 
 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://dev.catalyst.perl.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/


Re: [Catalyst] While the Catalyst CPAN install discussion isstillgoing on....

2006-08-23 Thread Dylan Vanderhoof
That seems extremely odd.  I've never seen behavior like that before.

Try http://cpan.llarian.net (mine, if in the US) or
http://cpan.shadowcatprojects.net (MSTs in UK/EU) and see if the error
persists?

-Dylan

 -Original Message-
 From: Rodney Broom [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 23, 2006 9:30 AM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] While the Catalyst CPAN install 
 discussion isstillgoing on
 
 
 From: Dennis Daupert [EMAIL PROTECTED]
 
   ...the out of  memory message occurs not during download,
  but during attempt to read  03modlist.data.gz.
 
 I think I'm coming in late on this, but could the module list 
 actually be way oversized? Like maybe you're hitting a mirror 
 that's having a problem. This is a stretch, but it seems odd 
 that CPAN.pm would have this level of problem intrinsically.
 
 
 ---
 Rodney Broom
 
 
 ___
 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/
 

___
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/


Re: [Catalyst] Catalyst::Model::FileSystem? Anybody who's using their own wanna make one? =)

2006-08-09 Thread Dylan Vanderhoof
That looks like it pretty well covers my need.  

Only other thing I'd find at all useful is a File::Type method, but I
can easily call that as part of my wrapper model.  It doesn't seem as
useful in the generic one.

Thanks again,
Dylan

 -Original Message-
 From: Ash Berlin [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 09, 2006 1:08 PM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] Catalyst::Model::FileSystem? Anybody 
 who's using their own wanna make one? =)
 
 
 
 Catalyst::Model::File: 
 http://search.cpan.org/~ash/Catalyst-Model-File-0.02/lib/Catal
 yst/Model/File.pm
 
 Based on Path::Class, so its platform independent.
 
 Any features missing from that that you think you'd want?
 
 Ash
 
 Dylan Vanderhoof wrote:
  I've noticed a few people posting about fielsystem models 
 under their
  Catalyst applications lately, which makes a good deal of 
 sense for many
  applications.
 
  However, when I look at code, each one has the filesystem 
 calls fairly
  integrated with the model portion of the application.
 
  I'll admit I'm being lazy, since I'd like to write a 
 fs-based catalyst
  application relativly soon, but has anybody considered using their
  groundwork here to write a Catalyst::Model::FileSystem 
 module for CPAN?
 
 
  Obviously, it would need to be more generic and more 
 full-featured than
  what's being used in the fs-based applications I've seen so 
 far, but it
  needn't start with everything available.
 
  Any interest?  I'd be happy to help out, since I'd like to 
 use it, but I
  figure I'd see if somebody who's been doing this would be 
 willing to lay
  some of the groundwork.
 
  -Dylan Vanderhoof
 
  ___
  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/

 
 
 
 ___
 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/
 

___
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/


Re: [Catalyst] Catalyst::Model::FileSystem? Anybody who's using their own wanna make one? =)

2006-08-09 Thread Dylan Vanderhoof
At first glance, C::M::File seems to cover it.  It exposes the
Class::Path::File object, which includes a stat method, which was one of
the big ones.

I'll dig around with that in my copious freetime (haha) and see if I can
come up with an addition feature list and/or some patches.

-D

 -Original Message-
 From: Jonathan Rockway [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 09, 2006 1:19 PM
 To: The elegant MVC web framework
 Subject: Re: [Catalyst] Catalyst::Model::FileSystem? Anybody 
 who's using their own wanna make one? =)
 
 
 
 What other features do you desire?
 
  Obviously, it would need to be more generic and more 
 full-featured than
  what's being used in the fs-based applications I've seen so 
 far, but it
  needn't start with everything available.

 
 
 

___
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/


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 to prepare ...)
 
 Something I'd really like to see is for any of you developing 
 Catalyst and/or 
 DBIx::Class applications to bring along a laptop running your 
 applications so 
 we can see what our users are doing with the software and 
 maybe offer some 
 tips and tricks on doing it better :D
 
 -- 
   Matt S Trout   Offering custom development, 
 consultancy and support
Technical Directorcontracts for Catalyst, DBIx::Class 
 and BAST. Contact
 Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for 
 more information

___
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/