[Catalyst] Greetings

2007-06-30 Thread Andrew Rodland
I was at YAPC::NA 2007 and the Hackathon afterwards, some of you probably know 
me. I'm also 'hobbs' on IRC. Anyway, I figured I'd sign on at the mailing 
list. 

Anyway, now that I'm on my own machine, instead of the borrowed laptop I 
brought to YAPC, I would be really happy to help test/break MojoMojo. I'm 
also pretty familiar with Postgres if any more work is needed in that 
direction.

Cheers
Andrew

___
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] IDE for use with Catalyst Thanks

2007-06-30 Thread Tom Printy
thanks for the feedback I will stick with vi on the various linux
platforms that I use. Hopefully I can get my first catalyst app running
by the end of the week :)

Tom


On Sat, 2007-06-30 at 20:11 -0700, Dan Dascalescu wrote:
> I'm using ActiveState Komodo for Perl development. It's truly an IDE,
> with a convenient debugger, ability to set breakpoints and watches,
> remote editing over SSH etc.
> 
> http://www.activestate.com/products/komodo_ide/
> 
> Last time I checked (2007-Feb-01), I could not debug Catalyst
> applications, though:
> http://www.gossamer-threads.com/lists/catalyst/users/12353#12353
> 
> Dan
> 
> On 6/30/07, Tom Printy <[EMAIL PROTECTED]> wrote:
> > Hi There,
> >
> > I am taking a this week off of work and would really like to build an
> > application with catalyst.  Does anyone have an IDE that they can
> > recommend?  I have been developing perl apps for a while now but have
> > been using vi :). If anyone has any suggestions I wold love to hear
> > them.


___
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] IDE for use with Catalyst

2007-06-30 Thread Dan Dascalescu

I'm using ActiveState Komodo for Perl development. It's truly an IDE,
with a convenient debugger, ability to set breakpoints and watches,
remote editing over SSH etc.

http://www.activestate.com/products/komodo_ide/

Last time I checked (2007-Feb-01), I could not debug Catalyst
applications, though:
http://www.gossamer-threads.com/lists/catalyst/users/12353#12353

Dan

On 6/30/07, Tom Printy <[EMAIL PROTECTED]> wrote:

Hi There,

I am taking a this week off of work and would really like to build an
application with catalyst.  Does anyone have an IDE that they can
recommend?  I have been developing perl apps for a while now but have
been using vi :). If anyone has any suggestions I wold love to hear
them.


___
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] IDE for use with Catalyst

2007-06-30 Thread John Napiorkowski

--- Fernan Aguero <[EMAIL PROTECTED]> wrote:

> 
> | Hi There,
> | 
> | I am taking a this week off of work and would
> really like to build an
> | application with catalyst.  Does anyone have an
> IDE that they can
> | recommend?  I have been developing perl apps for a
> while now but have
> | been using vi :). If anyone has any suggestions I
> wold love to hear
> | them.
> |
> 
> vim + omniperl
> 
> eclipse + epic
> 
> My $0.2
> 
> Fernan
> 

I also use Eclipse a lot, but find myself back with vi
time and time again.  I tend to have several xterms
open for stuff like psql prompt, log monitoring, etc.

--john


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.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] IDE for use with Catalyst

2007-06-30 Thread Charlie Garrison

Good morning,

On 30/6/07 at 4:43 PM -0500, Tom Printy 
<[EMAIL PROTECTED]> wrote:



I am taking a this week off of work and would really like to build an
application with catalyst.  Does anyone have an IDE that they can
recommend?  I have been developing perl apps for a while now but have
been using vi :). If anyone has any suggestions I wold love to hear
them.


You don't say what OS you're using. I certainly can't argue with 
the other suggestions to use vi, but my choice is BBEdit since 
it has lots of web integration tools. (Nothing specific to 
Catalyst, but plenty of support for perl coders.)



Charlie

--
   Charlie Garrison  <[EMAIL PROTECTED]>
   PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

___
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] IDE for use with Catalyst

2007-06-30 Thread Matt S Trout
On Sat, Jun 30, 2007 at 04:43:57PM -0500, Tom Printy wrote:
> Hi There,
> 
> I am taking a this week off of work and would really like to build an
> application with catalyst.  Does anyone have an IDE that they can
> recommend?  I have been developing perl apps for a while now but have
> been using vi :). If anyone has any suggestions I wold love to hear
> them.

I've not yet found anything that beats four 80x25 xterms running screen
plus bash plus vi :)

-- 
  Matt S Trout   Need help with your Catalyst or DBIx::Class project?
   Technical DirectorWant a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/ 

___
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] IDE for use with Catalyst

2007-06-30 Thread Fernan Aguero

| Hi There,
| 
| I am taking a this week off of work and would really like to build an
| application with catalyst.  Does anyone have an IDE that they can
| recommend?  I have been developing perl apps for a while now but have
| been using vi :). If anyone has any suggestions I wold love to hear
| them.
|

vim + omniperl

eclipse + epic

My $0.2

Fernan

___
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] IDE for use with Catalyst

2007-06-30 Thread Tom Printy
Hi There,

I am taking a this week off of work and would really like to build an
application with catalyst.  Does anyone have an IDE that they can
recommend?  I have been developing perl apps for a while now but have
been using vi :). If anyone has any suggestions I wold love to hear
them.

Thanks
-Tom Printy


___
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] How to access current MyApp instance ?

2007-06-30 Thread Tobias Kremer

Hi.
I want to call ->uri_for from my DBIC sources, but it is object  
method, so MyApp->uri_for doesn't work.

How do I access current catalyst object ($c)?


Why would you want to do that? Your schema/model shouldn't know about  
URIs.


If you really need to, you could use the ACCEPT_CONTEXT workaround to  
make $c available to your model:


http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/ 
Intro.pod#ACCEPT_CONTEXT


There are quite a few threads on the list dealing with accessing $c  
from the model. The search is your friend.


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


[Catalyst] How to access current MyApp instance ?

2007-06-30 Thread Oleg Pronin

Hi.
I want to call ->uri_for from my DBIC sources, but it is object method, so
MyApp->uri_for doesn't work.
How do I access current catalyst object ($c)?
___
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] Anyone using ProxyPass?

2007-06-30 Thread Bill Moseley
On Sat, Jun 30, 2007 at 11:56:44AM +0100, Richard Jones wrote:
> Thanks to many on this list I have managed to get my app running on 
> Apache/mod_perl (a permissions issue), and have followed the Cookbook 
> example of using Apache for static files and Apache/mod_perl for the 
> dynamic content, and using ProxyPass/ProxyPassReverse in the static 
> server. I know this is working OK from the browsers' address bar.

You should not need to use ProxyPassReverse is using $c->uri_for for
redirects.

> However, the URLs constructed in the templates from Catalyst.uri_for 
> pick up the port number, thus defeating the idea of ProxyPass.

You mean uri_for is generating links showing the port of the back end
Catalyst server?

Catalyst::Engine::Apache looks at X-Forwarded-Host header to set the host and
port for the request object:

$host = $c->request->header( 'X-Forwarded-Host' );

if ( $host =~ /^(.+):(\d+)$/ ) {
$host = $1;
$port = $2;

Which ends up setting the request base, which is used in uri_for.

Is your front end machine on the same host? If not you would likely need to
set $c->config->{using_frontend_proxy} per the docs.


-- 
Bill Moseley
[EMAIL PROTECTED]


___
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] Anyone using ProxyPass?

2007-06-30 Thread Richard Jones
Thanks to many on this list I have managed to get my app running on 
Apache/mod_perl (a permissions issue), and have followed the Cookbook 
example of using Apache for static files and Apache/mod_perl for the 
dynamic content, and using ProxyPass/ProxyPassReverse in the static 
server. I know this is working OK from the browsers' address bar.


However, the URLs constructed in the templates from Catalyst.uri_for 
pick up the port number, thus defeating the idea of ProxyPass. In one of 
my CGI::Application apps I got round this by by either setting the full 
server address (minus the port number) manually in the application and 
using  in the templates, or 
removing the server address from the url and using relative paths with 
base href set in the templates. Neither is a very flexible solution.


I assume this is happening because ProxyPass only hides the port 
forwarding from the users browser address, but does not hide it from the 
server. The way I deal with this in CGI::Application apps will not work 
with Catalyst.uri_for, so is there a more appropriate way?

--
Richard Jones


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