[Catalyst] need nntp server

2007-04-25 Thread 万朝伟
I hate mail list,is there have a nntp server for Catalyst? ___ 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:

Re: [Catalyst] need nntp server

2007-04-25 Thread Chisel Wright
On Wed, Apr 25, 2007 at 05:21:25PM -0700, 万朝伟 wrote: I hate mail list,is there have a nntp server for Catalyst? Not that I'm aware of. Set up your own nntp server and use Email::Send::NNTP -- Chisel Wright e: [EMAIL PROTECTED] w: http://www.herlpacker.co.uk/ The first rule of ultra-violet

[Catalyst] problem during catalyst-maunal-tutorial

2007-04-25 Thread Adlina Baozhu
Hi,alls I am following the tutorial of CatalystManualTutorial to try my trip of Catalyst. In the CatalystBasics.html , I have meet a problem.It happen with this: Everything go right before it tell me to do. when it call me to use Catalyst::Model::DBIC::Schema to load model class.

Re: [Catalyst] A View that may include elements optionally returnedfrom other funcs

2007-04-25 Thread Carl Johnstone
Ugh... Assume that the view gets everything from controller. Then this controller is the thing that should gather everything together before shipping it to the view. Let the template decide the form, let the controller decide the content. That's fair enough, but say you've got 20 possible

Re: [Catalyst] Catalyst videos from YAPC::Asia

2007-04-25 Thread Lorn
Hi jrockway, nice talk, where i can download the slides? On 4/24/07, Jonathan Rockway [EMAIL PROTECTED] wrote: Hi all, I presented a Catalyst talk at YAPC::Asia a few weeks ago. If you're familiar with the basics of Catalyst, it's probably too introductory, but if you're still trying to

Re: [Catalyst] need nntp server

2007-04-25 Thread Simon Elliott
On 25 Apr 2007, at 11:24, Chisel Wright wrote: On Wed, Apr 25, 2007 at 05:21:25PM -0700, 万朝伟 wrote: I hate mail list,is there have a nntp server for Catalyst? Not that I'm aware of. Set up your own nntp server and use Email::Send::NNTP gmane offers an NNTP feed :-

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

2007-04-25 Thread Steve H
Ugh... Assume that the view gets everything from controller. Then this controller is the thing that should gather everything together before shipping it to the view. Let the template decide the form, let the controller decide the content. That's fair enough, but say you've got 20

Re: [Catalyst] A View that may include elements optionally returnedfrom other funcs

2007-04-25 Thread Joe Landman
On Wed, 25 Apr 2007 11:58:02 +0100, Carl Johnstone wrote Ugh... Assume that the view gets everything from controller. Then this controller is the thing that should gather everything together before shipping it to the view. Let the template decide the form, let the controller decide

Re: [Catalyst] A View that may include elements optionally returnedfrom other funcs

2007-04-25 Thread Carl Johnstone
Maybe I am confused about MVC, but wouldn't you want the view to decide how to present what is sent to it by the controller, and hence have the controller handle this? I don't know if it's you that's confused or me that's confused ;-) I can see your point of view though. From my point of

Re: [Catalyst] A View that may include elements optionally returnedfrom other funcs

2007-04-25 Thread Bill Moseley
On Wed, Apr 25, 2007 at 10:41:12AM -0400, Joe Landman wrote: What Steve wants is some way of being able to decide in the View which of those elements are included and load them accordingly. ... and this should be done at the controller level is what I am saying. You can even have your

Re: [Catalyst] need nntp server

2007-04-25 Thread 万朝伟
Simon Elliott 写道: On 25 Apr 2007, at 11:24, Chisel Wright wrote: On Wed, Apr 25, 2007 at 05:21:25PM -0700, 万朝伟 wrote: I hate mail list,is there have a nntp server for Catalyst? Not that I'm aware of. Set up your own nntp server and use Email::Send::NNTP gmane offers an NNTP feed :-

Re: [Catalyst] need nntp server

2007-04-25 Thread Christopher H. Laco
万朝伟 wrote: Simon Elliott 写道: On 25 Apr 2007, at 11:24, Chisel Wright wrote: On Wed, Apr 25, 2007 at 05:21:25PM -0700, 万朝伟 wrote: I hate mail list,is there have a nntp server for Catalyst? Not that I'm aware of. Set up your own nntp server and use Email::Send::NNTP gmane offers an NNTP

Re: [Catalyst] need nntp server

2007-04-25 Thread Christopher H. Laco
Christopher H. Laco wrote: 万朝伟 wrote: Simon Elliott 写道: On 25 Apr 2007, at 11:24, Chisel Wright wrote: On Wed, Apr 25, 2007 at 05:21:25PM -0700, 万朝伟 wrote: I hate mail list,is there have a nntp server for Catalyst? Not that I'm aware of. Set up your own nntp server and use

[Catalyst] connection to DB

2007-04-25 Thread Will Smith
hi,I I would like to ask for help on making a connection to a remote database. My app is working good with localhost, now I move it to another server and create a connection, I thought just change the config of the myApp.pm. But I could not make the connection. this is my connection to

Re: [Catalyst] connection to DB

2007-04-25 Thread Octavian Rasnita
Hi, Try this: __PACKAGE__-config( schema_class = 'testDB', connect_info = [ 'dbi:mysql:database=myapp;host=192.168.2.115', 'root', 'test', { AutoCommit = 1 }, ], );___ List:

Re: [Catalyst] Catalyst videos from YAPC::Asia

2007-04-25 Thread Tatsuhiko Miyagawa
http://tokyo2007.yapcasia.org/wiki/?SlidesFromTalks On 4/25/07, Lorn [EMAIL PROTECTED] wrote: Hi jrockway, nice talk, where i can download the slides? On 4/24/07, Jonathan Rockway [EMAIL PROTECTED] wrote: Hi all, I presented a Catalyst talk at YAPC::Asia a few weeks ago. If you're

Re: [Catalyst] connection to DB

2007-04-25 Thread Will Smith
Thanks for your response. But it does not work. I tried that , or dbname=test .. and get the same error: Couldn't instantiate component access::Model::myappDB, Cannot load schema class 'myappDB': DBIx::Class::Schema::load_classes(): Can't locate myappDB/User. hope that you could

Re: [Catalyst] A View that may include elements optionally returnedfrom other funcs

2007-04-25 Thread Michael Reece
my approach in cases like this has been to have models/database tables for the pages themselves. - a page has_many components - a controller queries the db for the components to display on the page[*] and stashes the list - the controller, now knowing which components will be displayed,

Re: [Catalyst] connection to DB

2007-04-25 Thread Tom Lanyon
On 26/04/2007, at 3:07 AM, Will Smith wrote: hi,I I would like to ask for help on making a connection to a remote database. My app is working good with localhost, now I move it to another server and create a connection, I thought just change the config of the myApp.pm. But I could not

[Catalyst] Re: need nntp server

2007-04-25 Thread Fayland Lam
万朝伟 wrote: Simon Elliott 写道: On 25 Apr 2007, at 11:24, Chisel Wright wrote: On Wed, Apr 25, 2007 at 05:21:25PM -0700, 万朝伟 wrote: I hate mail list,is there have a nntp server for Catalyst? Not that I'm aware of. Set up your own nntp server and use Email::Send::NNTP gmane offers an NNTP

Re: [Catalyst] connection to DB

2007-04-25 Thread Tom Lanyon
On 26/04/2007, at 4:04 AM, Will Smith wrote: Thanks for your response. But it does not work. I tried that , or dbname=test .. and get the same error: Couldn't instantiate component access::Model::myappDB, Cannot load schema class 'myappDB': DBIx::Class::Schema::load_classes(): Can't

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

2007-04-25 Thread Steve H
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 common functions (that could create them for other pages

Re: [Catalyst] Catalyst videos from YAPC::Asia

2007-04-25 Thread Danny Warren
Jonathan Rockway wrote: Hi all, I presented a Catalyst talk at YAPC::Asia a few weeks ago. If you're familiar with the basics of Catalyst, it's probably too introductory, but if you're still trying to piece everything together you might find it enjoyable. You can watch / download the video

[Catalyst] Re: Catalyst videos from YAPC::Asia

2007-04-25 Thread A. Pagaltzis
* Danny Warren [EMAIL PROTECTED] [2007-04-26 04:45]: Quick question: at around 15 minutes in (while discussing TT) you mentioned the ability to set html scrubbing at a global level, and that there is something on CPAN to assist with this. I am interested in seeing what you were talking