Re: [Catalyst] email

2007-05-08 Thread Bogdan Lucaciu
On Tuesday 08 May 2007 03:55:31 Kieren Diment wrote:  Intermediate  Perl the name is (now) Learning Perl Objects, References, and Modules http://www.oreilly.com/catalog/lrnperlorm/ -- Bogdan Lucaciu http://www.wiz.ro ___ List:

Re: [Catalyst] email

2007-05-08 Thread Tobias Kremer
Zitat von Bogdan Lucaciu [EMAIL PROTECTED]: On Tuesday 08 May 2007 03:55:31 Kieren Diment wrote: Intermediate Perl the name is (now) Learning Perl Objects, References, and Modules http://www.oreilly.com/catalog/lrnperlorm/ I think it's the other way round. The name is NOW Intermediate

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-08 Thread Oleg Pronin
This interface is accessible under /folder/. It has its own templates, static content, DBIC sources and controllers. What excatly do i need to specify? So please share your ideas :) 2007/5/8, Matt S Trout [EMAIL PROTECTED]: On Mon, May 07, 2007 at 06:58:16PM +0400, Oleg Pronin wrote: I can

Re: [Catalyst] email

2007-05-08 Thread Cristina Nunes
From perldoc Net::POP3 use Net::POP3; # Constructors $pop = Net::POP3-new('pop3host'); $pop = Net::POP3-new('pop3host', Timeout = 60); if ($pop-login($username, $password) 0) { my $msgnums = $pop-list; # hashref of msgnum = size

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

2007-05-08 Thread Anthony Gardner
I seem to remember hearing sth a few months ago about a comp between various MVC apps comprising of various teams / tasks / time limits etc. Does anyone know what I'm talking about here?! If s.o does, what became of it and are there any links to be had to read up on what happened? CIA

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

2007-05-08 Thread Tobias Kremer
I seem to remember hearing sth a few months ago about a comp between various MVC apps comprising of various teams / tasks / time limits etc. Does anyone know what I'm talking about here?! If s.o does, what became of it and are there any links to be had to read up on what happened? You

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

2007-05-08 Thread Anthony Gardner
Hmmm, no, I don't think that is what I was talking about (though it might be) I thought the competition was made up of teams that were part of communities rather than companies. Plus, I'm sure RoR had a representation in the comp I was thinking of. This comp is just PHP/Perl/Java.

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

2007-05-08 Thread Tobias Kremer
Hmmm, no, I don't think that is what I was talking about (though it might be) I thought the competition was made up of teams that were part of communities rather than companies. Oh, okay, nevermind then. Sounds interesting, though. Tell us if you find something out about it. Plus, I'm

Re: [Catalyst] Static content with catalyst

2007-05-08 Thread Len Jaffe
On 5/7/07, Kyncho Pehotinec [EMAIL PROTECTED] wrote: Hello, Definitely! Everything under /root/static is getting served _as static content_. I don't see a reason to install yet another plugin/module to serve static files. You should see a reason. That reason being that if you want to server

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

2007-05-08 Thread Anthony Gardner
Yeah, have just read the site more carefully and I think it is the one. But, what a poor turn out! Rails couldn't couldn't even raise a smile ;) Shame there weren;t more teams from the communities involved as I would've thought they'd thrive in an environment like that. Maybe next year if

Re: [Catalyst] MySQL server has gone away

2007-05-08 Thread Matt S Trout
On Thu, Apr 26, 2007 at 10:29:23PM +0400, Oleg Pronin wrote: I'm creating a DBI wrapper (it will be called DBIx::Safe) that handles all disconnections transparently. If there is no transaction this module gives you 100% guarantee that your query will be executed without disconnection errors.

[Catalyst] Fwd: YAPC Europe 2007 Reminder - CFP and CFH Deadlines Approaching

2007-05-08 Thread Thomas Klausner
- Forwarded message from Michael Kr?ll [EMAIL PROTECTED] - From: Michael Kr?ll [EMAIL PROTECTED] Subject: [pm_groups] YAPC Europe 2007 Reminder - CFP and CFH Deadlines Approaching Date: Tue, 08 May 2007 11:34:30 +0200 To: [EMAIL PROTECTED] Hi, The deadline to submit Hackathon

Re: [Catalyst] Tip: Serving Static Files with lighttpd

2007-05-08 Thread Matt S Trout
On Fri, Apr 20, 2007 at 10:05:54AM +0200, Bernhard Graf wrote: Wherever I looked I only found advice how to serve static files with Apache. Here is the same for lighttpd: Fantastic. Could you POD this up for a cookbook patch please? -- Matt S Trout Need help with your Catalyst

Re: [Catalyst] Re: forwarding to chained actions

2007-05-08 Thread Matt S Trout
On Tue, Apr 24, 2007 at 06:35:48PM +0200, Bernhard Graf wrote: Nilson Santos Figueiredo Junior wrote: On 4/24/07, Bernhard Graf [EMAIL PROTECTED] wrote: I don't want to be rude, but could you guys open your own thread when you want to discuss pros and cons of forwards and redirects?

Re: [Catalyst] many Views that may include common display fragments

2007-05-08 Thread Matt S Trout
On Thu, Apr 26, 2007 at 10:25:09AM +1000, Steve H wrote: Again, thanks... and it's great to see such diversity in Catalyst usage and help offerred. To reiterate part of the problem.. in the final View that composes the (final) page, I'd want to include HTML fragments that were created by

Re: [Catalyst] need nntp server

2007-05-08 Thread Matt S Trout
On Thu, Apr 26, 2007 at 12:20:49AM -0700, 万朝伟 wrote: yes,I can read NNTP News from news.gmane.org, but some times, I want to post and reply,I can't do this on that NNTP server.thanks for any help Subscribe to the list. Then set your subscription preferences to not receive mail. Now you have an

Re: [Catalyst] Catalyst Engine Start-up Flag?

2007-05-08 Thread Matt S Trout
On Fri, Apr 27, 2007 at 01:53:00PM +0100, Lee Goddard wrote: From: Marcello Romani [mailto:[EMAIL PROTECTED] Lee Goddard ha scritto: Is there a variable somewhere that can tell me when Catalyst's dev-server is starting up? Because it seems to be calling every method I've

Re: [Catalyst] refactoring an existing HTML::Mason installation to use Catalyst

2007-05-08 Thread Matt S Trout
On Sat, Apr 28, 2007 at 11:28:38AM -0500, Garrett Goebel wrote: Marc, I just did the opposite for an old Mason site at work the other day. I embedded mason pages in catalyst. I.e., I used Catalyst::View::Mason and created a controller that forwarded all the mason pages to it.

[Catalyst] Oh yeah, by the way ...

2007-05-08 Thread Matt S Trout
... I finally got my e-mail sorted out :) Hope nobody missed their daily dose of insane hacks, sarcasm and occasional chainsaw-induced screaming too much while I was gone. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical DirectorWant a managed

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

2007-05-08 Thread Matt S Trout
On Tue, May 08, 2007 at 09:28:35AM +0100, Anthony Gardner wrote: I seem to remember hearing sth a few months ago about a comp between various MVC apps comprising of various teams / tasks / time limits etc. Does anyone know what I'm talking about here?! If it was MVC, why would rails be

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-08 Thread Matt S Trout
On Tue, May 08, 2007 at 12:20:33PM +0400, Oleg Pronin wrote: This interface is accessible under /folder/. It has its own templates, static content, DBIC sources and controllers. What excatly do i need to specify? Whether it shares views/models/etc. with the main app, like I asked in my first

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-08 Thread Oleg Pronin
I think it would be better if it does not. Because AppA don't know and don't want to know the templates and models of AppB. They communicate through controllers only. 2007/5/8, Matt S Trout [EMAIL PROTECTED]: On Tue, May 08, 2007 at 12:20:33PM +0400, Oleg Pronin wrote: This interface is

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

2007-05-08 Thread mreece
On Tue, May 08, 2007 at 09:28:35AM +0100, Anthony Gardner wrote: I seem to remember hearing sth a few months ago about a comp between various MVC apps comprising of various teams / tasks / time limits etc. Does anyone know what I'm talking about here?! If it was MVC, why would rails be

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

2007-05-08 Thread Luis Azevedo
On Tuesday 08 May 2007, [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 09:28:35AM +0100, Anthony Gardner wrote: I seem to remember hearing sth a few months ago about a comp between various MVC apps comprising of various teams / tasks / time limits etc. Does anyone know what I'm

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

2007-05-08 Thread Matt S Trout
On Tue, May 08, 2007 at 03:24:15PM +0100, Luis Azevedo wrote: On Tuesday 08 May 2007, [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 09:28:35AM +0100, Anthony Gardner wrote: I seem to remember hearing sth a few months ago about a comp between various MVC apps comprising of various

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

2007-05-08 Thread Perrin Harkins
On 5/8/07, Luis Azevedo [EMAIL PROTECTED] wrote: What I still not understand is why he says RoR isn't MVC O:). The way most people use Rails and Catalyst is somewhat different from the MVC concept. The traditional role of the controller is just to map user input to a method, and nothing more.

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

2007-05-08 Thread Dave Rolsky
On Tue, 8 May 2007, Matt S Trout wrote: The controller's there for event dispatch and flow handling. Domain logic should be encapsulated - if anything, you want to make your domain model a completely separate piece of code with an interface model (or Facade Model) that your application

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-08 Thread Matt S Trout
On Tue, May 08, 2007 at 06:13:29PM +0400, Oleg Pronin wrote: I think it would be better if it does not. Because AppA don't know and don't want to know the templates and models of AppB. They communicate through controllers only. How about, after setup_components, injcting AppB's -controllers

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

2007-05-08 Thread Perrin Harkins
On 5/8/07, Dave Rolsky [EMAIL PROTECTED] wrote: There's a little more than just mapping input to a method. I think of it as a translation layer between how the web server presents data and how my model API wants it. And then there's reverse mapping, for example translating exceptions thrown by

Re: [Catalyst] myapp_fastcgi.pl restarter?

2007-05-08 Thread Matt S Trout
On Wed, Feb 14, 2007 at 03:47:53PM -0500, Jim Spath wrote: I'm running myapp_fastcgi.pl in static mode under lighttd using and was wondering if there was any sort of handy restarter functionality like myapp_server.pl has. I didn't see any, meaning that if I make a change to something in

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

2007-05-08 Thread Octavian Rasnita
Hi, I am trying to install Catalyst::Plugin::Session::Store::FastMmap under Windows XP, and on the nmake test command it gives the following error. Can I do something to be able to install it? I couldn't find a ppm version of this module. (I need it because I want to install

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

2007-05-08 Thread Hartmaier Alexander
As far as I picked up, FastMmap is not available on Windows. -Alex -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 6:48 PM To: catalyst@lists.rawmode.org Subject: [Catalyst] C:P:Session::Store::FastMmap Hi, I am trying to

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

2007-05-08 Thread Octavian Rasnita
I also thought that, but I was able to install Cache-FastMmap-1.15 under Windows. (I found about this version on this list). From: Hartmaier Alexander [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo:

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

2007-05-08 Thread Ash Berlin
Octavian Rasnita wrote: I also thought that, but I was able to install Cache-FastMmap-1.15 under Windows. (I found about this version on this list). http://perlitist.com/static/Cache-FastMmap-1.15.tar.gz The author has been in touch with me, and I've made the changes he asked for, so

Re: [Catalyst] creating action classes for chained actions, trouble with overriding -match

2007-05-08 Thread Matt S Trout
On Tue, Mar 20, 2007 at 01:15:48PM -0700, John Napiorkowski wrote: I may have answered my own question. A peer pointed me to: http://search.cpan.org/src/MRAMBERG/Catalyst-Runtime-5.7007/lib/Catalyst/DispatchType/Chained.pm and down in a method called 'recurse_match' it does indeed seem

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

2007-05-08 Thread Matija Grabnar
On Tue, 8 May 2007, Perrin Harkins wrote: The way most people use Rails and Catalyst is somewhat different from the MVC concept. The traditional role of the controller is just to map user input to a method, and nothing more. All of the business logic is supposed to be in the model. But,

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-08 Thread Oleg Pronin
A good point to start with. As a more complex solution later maybe one should try to store a hash of applications ($c) with all surrounding stuff. And make independent component which will decide which application (i.e. $c) the request is to be dispatched to. Ahh, unfortunately im not familiar

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

2007-05-08 Thread Matt S Trout
On Tue, May 08, 2007 at 09:09:55PM +0200, Matija Grabnar wrote: On Tue, 8 May 2007, Perrin Harkins wrote: The way most people use Rails and Catalyst is somewhat different from the MVC concept. The traditional role of the controller is just to map user input to a method, and nothing more. All

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

2007-05-08 Thread Christopher Hicks
On Tue, May 08, 2007 at 09:20:32PM +0100, Matt S Trout wrote: On Tue, May 08, 2007 at 09:09:55PM +0200, Matija Grabnar wrote: Does anybody know of a place where creating your own model is documented in more detail? I'd like to read it. Not yet. I suspect there'll be a chainsawblues series

Re: [Catalyst] creating action classes for chained actions, trouble with overriding -match

2007-05-08 Thread John Napiorkowski
--- Matt S Trout [EMAIL PROTECTED] wrote: On Tue, Mar 20, 2007 at 01:15:48PM -0700, John Napiorkowski wrote: I may have answered my own question. A peer pointed me to: http://search.cpan.org/src/MRAMBERG/Catalyst-Runtime-5.7007/lib/Catalyst/DispatchType/Chained.pm and down in a

[Catalyst] Is it time for a Catalyst Conference yet?

2007-05-08 Thread John Napiorkowski
Hi, Just a general question to the list to see if there is interest in getting together a conference dedicated to Catalyst developers. Or is the feeling that the normal Perl conferences cover all our needs? _john __ Do You Yahoo!? Tired of spam?

Re: [Catalyst] Is it time for a Catalyst Conference yet?

2007-05-08 Thread Dave Rolsky
On Tue, 8 May 2007, John Napiorkowski wrote: Just a general question to the list to see if there is interest in getting together a conference dedicated to Catalyst developers. Or is the feeling that the normal Perl conferences cover all our needs? I could definitely imagine a low-key

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

2007-05-08 Thread Chris
Does anybody know of a place where creating your own model is documented in more detail? I'd like to read it. Not yet. I suspect there'll be a chainsawblues series on it at some point if nobody else gets a good explanation together first. -- Matt S Trout Need help with your

Re: [Catalyst] Tip: Serving Static Files with lighttpd

2007-05-08 Thread Kieren Diment
On 08/05/07, Matt S Trout [EMAIL PROTECTED] wrote: On Fri, Apr 20, 2007 at 10:05:54AM +0200, Bernhard Graf wrote: Wherever I looked I only found advice how to serve static files with Apache. Here is the same for lighttpd: Fantastic. Could you POD this up for a cookbook patch please?

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

2007-05-08 Thread Octavian Rasnita
From: Ash Berlin [EMAIL PROTECTED] http://perlitist.com/static/Cache-FastMmap-1.15.tar.gz The author has been in touch with me, and I've made the changes he asked for, so hopefully it should be avaiable to CPAN soon. Ash Yes, this version is the one I've installed, but I cannot install