Re: [Catalyst] RFC: Catalyst::Controller::REST::DBIC

2008-05-05 Thread Andrew Rodland
On Monday 05 May 2008 09:50:08 am J. Shirley wrote: > On Mon, May 5, 2008 at 4:31 AM, Matt S Trout <[EMAIL PROTECTED]> wrote: > > On Sun, May 04, 2008 at 09:06:30AM -0700, J. Shirley wrote: > > I fail to see how whether the PK is the lookup key or not has any > > relevance at all to the original

[Catalyst] Catalyst website

2008-04-29 Thread Andrew Rodland
Questions! 1) What is the preferred name for the Catalyst website? I thought that at one point we were leaning toward sticking with catalyst.perl.org, but all the nav links are for catalystframework.org. One way or another I think the site should be clear on what it's named, and send a Moved Pe

Re: [Catalyst] DBIC error when starting dev server

2008-04-21 Thread Andrew Rodland
On Monday 21 April 2008 09:08:37 pm Andrew wrote: > I'm just starting with Catalyst (but experienced in MVC frameworks) and I > got J. Rockway's book.  I'm working through the 1st DB example (pages > 27-30), where we use DBIC to connect to a simple database.  http://catwiki.toeat.com/thebookerrata

Re: [Catalyst] Problem storing session data

2008-03-31 Thread Andrew Rodland
On Monday 31 March 2008 09:03:40 am Bill Moseley wrote: > On Mon, Mar 31, 2008 at 09:07:02AM +0200, Peter Sørensen wrote: > > This is working when output is fairly small but if I use a bigger > > TimeFrame and generate a far bigger output table it fails. > I think you want to increase page_size. >

Re: [Catalyst] Plugin::I18N and UTF-8

2008-03-24 Thread Andrew Rodland
On Monday 24 March 2008 02:08:06 am Alex Povolotsky wrote: > Hello! > > Having completed UTF-8 quest successfully, I've tried to do I18N and > found the same double-UTF-encoding trouble. > > I've put UTF-8 strings into I18N/ru.po file,and configured Plugin:I18N > > Plugin::I18N: > maketext_opti

Re: [Catalyst] Http Status Chart

2008-03-11 Thread Andrew Rodland
On Tuesday 11 March 2008 10:52:55 pm Evan Carroll wrote: > On 3/11/08, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > > This made it's way across reddit this morning... Nice chart. > > I always preferred digg with its posts of thought provoking cats and > top ten teenage racks. With that said wha

Re: [Catalyst] Re: Patch for Catalyst::View::Mason

2008-03-09 Thread Andrew Rodland
On Sunday 09 March 2008 07:43:04 am Aristotle Pagaltzis wrote: > I see your bid and raise this: > > autocmd BufRead */templates/tt/*set ft=tt2html > autocmd BufRead */templates/mason/* set ft=mason > > Wheee. > This is the slightly more effective version: au BufNewFile,BufRead */templ

Re: [Catalyst] Environment Variables

2008-02-27 Thread Andrew Rodland
On Wednesday 27 February 2008 04:39:22 pm Ryan Pack wrote: > Hello all. First time posting here. :-) > > > > I'm trying to get at $ENV{HTTP_REFERER} from my catalyst app but it > doesn't seem to be there. In fact the only keys that exist in %ENV are > CATALYST_ENGINE and PERL5LIB. Are the other

Re: [Catalyst] Documentation on DBIx Class

2008-01-18 Thread Andrew Rodland
On Friday 18 January 2008 02:47:14 pm Mesdaq, Ali wrote: > I have to just rant a bit about that. The most difficult thing about > catalyst is trying to learn dbic. Except that's not a "thing about catalyst". You don't need to use DBIC. It's a popular choice, sure, but if you think that something

Re: [Catalyst] Re-enable digest mode?

2008-01-11 Thread Andrew Rodland
On Friday 11 January 2008 11:45:27 am Matt S Trout wrote: > You can get a feed from > > http://grokbase.com/group/[EMAIL PROTECTED] > > (which being a Catalyst-powered site is probably going to archive this > list pretty much indefinitely :) > > or you can configure your mail setup to siphon the me

Re: [Catalyst] utf8 / pg double encoding problem

2008-01-05 Thread Andrew Rodland
On Saturday 05 January 2008 04:54:59 pm Daniel McBrearty wrote: > well I'm damned, I thought I had this stuff working squeaky clean. But > I was wrong. I actually had two bugs cancelling each other out - > usually. > [snip] >--' [debug] abçöeü > [debug] $VAR1 = "ab\x{c3}\x{a7}\x{c3}\x{b6}e\x{c3}\x{

Re: [Catalyst] More unicode problems (uri_for)

2007-12-28 Thread Andrew Rodland
On Monday 24 December 2007 07:58:34 am Knut-Olav Hoven wrote: > I wasn't very clear on this, sorry. > "Check my å" is not inside the code, it comes from my "po/mo"-files (i18n). > > It looks actually more like this: > >  $c->redirect( >   $c->uri_for( >     '/login', >     {error_msg => $c->loc("Ch

Re: [Catalyst] Re: retrieving multiple values from forms

2007-12-17 Thread Andrew Rodland
On Monday 17 December 2007 05:27:46 pm A. Pagaltzis wrote: > The *sane* thing is neither. > > The sane thing is to have *TWO* methods, one that *always* > returns a scalar, and one that *always* returns a list. (Or > rather, an arrayref, because if it’s just a list, it is easy to > improperly treat

Re: [Catalyst] retrieving multiple values from forms

2007-12-17 Thread Andrew Rodland
On Monday 17 December 2007 03:01:53 pm Matt S Trout wrote: > On Sat, Dec 15, 2007 at 01:10:52PM -0600, Andrew Rodland wrote: > > See the perldoc for Catalyst::Request -- the 'param' method comes in > > handy here. > > > > @values = $c->req->param('w

Re: [Catalyst] Catalyst Comprehensive Tutorials Needed

2007-12-16 Thread Andrew Rodland
On Sunday 16 December 2007 01:40:57 am Tony Winslow wrote: > Hi, all! > > I'm new to Catalyst. I'm eager to learn it. > Yet I cannot find a systematic book or > tutorial about it. Can anyone here help > me find one or even write one for the world? Besides the book, of course, there's "perldoc Cata

Re: [Catalyst] Web hosting?

2007-12-16 Thread Andrew Rodland
On Sunday 16 December 2007 06:50:41 am Matt Rosin wrote: > I started this same thread a few months ago and many people were kind > enough to reply. > > It seemed a decision between linode.com and slicehost.com. > > Slicehost sounds cool and very well may be cool, however it is newer, > has a waitin

Re: [Catalyst] retrieving multiple values from forms

2007-12-15 Thread Andrew Rodland
On Saturday 15 December 2007 11:58:12 am jagdish eashwar wrote: > Hi, > > The Catalyst Tutorial shows how to retrieve single values from a form. > > Example:- my $title = $c->request->params->{title} || ''; > > How can I retrieve multiple values from a selection list into an array? See the perldo

Re: [Catalyst] Example please of password authentication the current way

2007-12-04 Thread Andrew Rodland
On Tuesday 04 December 2007 11:01:29 pm Martin Ellison wrote: > Could someone please post a working example of password authentication > using the currently-recommended techniques? I cannot get it to work. > Just coincidentally, it's now December 5th in various parts of the world, and the fifth in

Re: [Catalyst] Shared Host Setup

2007-11-20 Thread Andrew Rodland
On Tuesday 20 November 2007 03:34:54 pm Jason Kohles wrote: > CPAN::Mini only mirrors the most recent version of each module, so the > size is much smaller than you might expect (I believe a minicpan > mirror can still fit on a CD-ROM, although I haven't checked that > recently...) It just misses.

Re: [Catalyst] A question on persistence with sessions or similar

2007-11-06 Thread Andrew Rodland
On Tuesday 06 November 2007 09:40:01 pm Joe Landman wrote: > Hi Folks: > >Here is what I want to do. I want to preserve values of stuff across > the life of a session, without having to jump through hoops to do it. I > want it to survive redirects in the app. It would be nice if it were > ju

Re: [Catalyst] email confirmation widget?

2007-10-11 Thread Andrew Rodland
On Thursday 11 October 2007 04:09:40 am Ian Docherty wrote: > The principle is this. > > Create a text string containing the user-id and the date, e.g. > '666-20001011' then append a 'secret' code to it only known by the > server giving you a string like '666-20001011-ThiSW1llNev3rBQuessed'. > > Yo

<    1   2