Re: [Catalyst] SQL::Abstract and MATCH AGAINST

2006-08-17 Thread Hideo Kimura
Hi, I posted following suggestion to DBIC ML before. my $aginst = 'foo'; my $rs = $schema-resultset('Articles')-search( {}, {order_by = 'id desc', page = 1, limit = 10} )-search_literal('MATCH (title, body) AGAINST( ? )', $aginst); I dunno this is the best practice, but it works fine

[Catalyst] Why scaffolding? Validation and Learning

2006-08-17 Thread Zbigniew Lukasiak
Dear all,First I hope Matt shall excuse me for restarting the discussion here - but I'd like to reach more Catalyst users then the limited number of IRC dwellers.I would like you to imagine you in the position of a developer that has some idea for a web project, thinking about trying a new web

[Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Kevin Monceaux
Fellow Catalyst Enthusiasts, The more I see of Catalyst the more I'm liking it. I just started taking it for a spin a week or so ago. After just finishing the HTML::Widget plugin portion of the Catalyst tutorial yesterday I saw the post announcing the FormBuilder plugin. Both look very

Re: [Catalyst] Why scaffolding? Validation and Learning

2006-08-17 Thread Max Afonov
There's that, and there's also the ease of prototyping an application really, really fast when scaffolding is available. Without such scaffolding, you may end up taking a month to build a prototype. It certainly depends on the complexity of the project, however, speed may be more important in

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Roman
Almost all your questions are related to JavaScript: * WYSIWYG editors usually hook on top of textarea using a class or ID * Field focusing is purely JS * Input masks are ONLY possible with JS * Autotab is also only possible with JS, just don't abuse it Kevin Monceaux wrote: Fellow Catalyst

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Jonathan Rockway
I am writing a plugin to do this as we speak. Expect it to hit CPAN by the end of the weekend. The API looks something like: my $image = $c-register_image('/path/to/the/image'); $image will have methods like $image-url that return a fully-qualified URL that your web server can statically serve

[Catalyst] Error while going through tutorial using Oracle

2006-08-17 Thread Alex Boster
I am part way through the tutorial using Oracle and have gotten stuck. I have create sequences and before insert triggers to replace mySQL's autoincrements. However, I now get: |Caught exception in MyApp::Controller::Books-url_create Can't use an undefined value as a HASH reference at

Re: [Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-17 Thread Nate Wiger
Matt S Trout wrote: Nate Wiger wrote: All- I just now uploaded Catalyst::Plugin::FormBuilder to CPAN, which adds support for FormBuilder in Catalyst. It's also available here: http://www.formbuilder.org/download/Catalyst-Plugin-FormBuilder-1.02.tar.gz You're going to hate me for this,

Re: [Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-17 Thread Nate Wiger
Kevin Monceaux wrote: On Wed, Aug 16, 2006 at 05:14:42PM -0700, Nate Wiger wrote: I just now uploaded Catalyst::Plugin::FormBuilder to CPAN, which adds support for FormBuilder in Catalyst. Has Catalyst::Plugin::FormBuilder been tested with Catalyst 5.7001? If I include FormBuilder in

Re: [Catalyst] Why scaffolding? Validation and Learning

2006-08-17 Thread peter
Hi Max, There's that, and there's also the ease of prototyping an application really, really fast when scaffolding is available. Without such scaffolding, you may end up taking a month to build a prototype. It certainly depends on the complexity of the project, however, speed may be more

Re: [Catalyst] Why scaffolding? Validation and Learning

2006-08-17 Thread Max Afonov
Totally agree, and I guess this is why they call it 'scaffolding'. The word brings with itself the notion of the stuff being temporary. The need for scaffolding only goes away in an ideal world where management gets excited about ideas. However, these days, it's hard to pitch an idea unless

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Alex Pavlovic
I use following Data::UUID ( so each image has unique identifier ) GD ( interface to GD ) Image::Resize ( nicer syntax ) Plugin sounds intresting. Cheers. On Thursday 17 August 2006 10:39, Jonathan Rockway wrote: I am writing a plugin to do this as we speak. Expect it to hit CPAN by the end

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Jonathan Rockway
That sounds like what I'm planning. Is your code around somewhere (that you'd make available under the Perl license)? Alex Pavlovic wrote: I use following Data::UUID ( so each image has unique identifier ) GD ( interface to GD ) Image::Resize ( nicer syntax ) Plugin sounds intresting.

Re: [Catalyst] Error while going through tutorial using Oracle

2006-08-17 Thread Jason Crummack
Alex Boster wrote: Hi Alex, For oracle I think you need to set the sequence name for auto-increments e.g. __PACKAGE__-load_components (qw/PK::Auto Core/); __PACKAGE__-sequence ('{NAME OF YOUR SEQUENCE HERE}'); I think that's right Jason I am part way through the tutorial using Oracle and

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Matt S Trout
Jonathan Rockway wrote: I am writing a plugin to do this as we speak. Expect it to hit CPAN by the end of the weekend. The API looks something like: my $image = $c-register_image('/path/to/the/image'); $image will have methods like $image-url that return a fully-qualified URL that your

Re: [Catalyst] Why scaffolding? Validation and Learning

2006-08-17 Thread Matt S Trout
Max Afonov wrote: There's that, and there's also the ease of prototyping an application really, really fast when scaffolding is available. Without such scaffolding, you may end up taking a month to build a prototype. It certainly depends on the complexity of the project, however, speed may

Re: [Catalyst] Error while going through tutorial using Oracle

2006-08-17 Thread Jason Crummack
Jason Crummack wrote: Sorry Alex I also forgot to mention that the underlying column_info call that happens (assuming your using DBD::Oracle) is case sensitive, so you'll probably also need to upper case the table name (don't think its necessary with the actual column names). e.g.

[Catalyst] Plugins vs. Base Controllers

2006-08-17 Thread Mark Blythe
Spinning this off into a new thread. So make it a controller base class. People make everything a plugin by default because it seems like a good idea at the time. This has resulted in massive compatibility issues due to namespace collisions. Don't Do It. I've pondered the controller vs.

Re: [Catalyst] Plugins vs. Base Controllers

2006-08-17 Thread Matt S Trout
Mark Blythe wrote: Spinning this off into a new thread. So make it a controller base class. People make everything a plugin by default because it seems like a good idea at the time. This has resulted in massive compatibility issues due to namespace collisions. Don't Do It. I've

Re: [Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-17 Thread Matt S Trout
Nate Wiger wrote: If you can send me a pointer to writing a controller base class, I'll certainly check it out. I didn't consider this an option, to be honest. I was trying to model it after XMLRPC, which is nice and easy to load with its :XMLRPC attribute. But I'm open to other