[Catalyst] Preferred Ajax framework

2007-01-12 Thread Dami Laurent \(PJ\)
My preferred framework is prototype + scriptaculous. Used to be quite
hermetic, but now there is good documentation thanks to
http://www.sergiopereira.com/articles/prototype.js.html, and even a PDF
small book by Oreilly.

In addition the "prototype window" widget at
http://prototype-window.xilinus.com/ , built on top of those, is
excellent.


Laurent Dami

___
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] Preferred Ajax framework

2007-01-12 Thread Sascha Kiefer
I should put more work into HTML::Prototype.--sk 









My preferred framework is prototype + scriptaculous. Used to be quite hermetic, but now there is good documentation thanks to http://www.sergiopereira.com/articles/prototype.js.html, and even a PDF small book by Oreilly.

In addition the "prototype window" widget at http://prototype-window.xilinus.com/ , built on top of those, is excellent.


Laurent Dami






___
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] creating a model

2007-01-12 Thread Marcello Romani

Octavian Rasnita ha scritto:



Hi Octavian,



Maybe I am not understanding what you are trying to do but ou are trying
to use a deprecated module (see the output of your email above).  You


Ok, I think I know what's the problem. The problem is that I am using an 
older version of Catalyst, and I have followed the examples from 
Catalyst::Manual::Tutorial that gives an example of using:


   script/tutorial_create.pl model UserData DBIC 
dbi:SQLite:/path/to/mydb.db


Catalyst might be elegant, but not for Windows where everything works 
very hard, not because of Windows but because Catalyst and the modules 
it uses are very poor compatible with Windows.


I've been using ActivePerl (free edition) for almost 1,5 years now, 90% 
of the time to develop Catalyst applications.
I even deployed some of them under apache 2.0.5x / modperl2 under 
windows server 200x.
Most of the problems I found (wrt modules installation) were not related 
to Catalyst itself (which is as cross platform as Perl can be), but 
because of some not-pure-perl modules, which of course don't compile 
under windows by default, because _windows_ doesn't offer almos any dev 
tool out of the box.


This is not a Catalyst-specific issue, but a Perl vs. Windows issue.

This response is already OT enough, so I will not go into details here. 
Let me just list some options you have:
* install the free visual c++ toolkit (no ide, just the compiler/linker) 
or some other c compiler

* use cygwin
* get ppd files (pre-compiled ActiveState packages created from CPAN 
modules)
* search for pure perl modules that do the same thing as the xs ones 
(e.g. Cache::FastMMap is not the only cache module supported by Catalyst)




I have tried installing the latest version of Catalyst using cpan, but 
there were too many errors to be able to fix them all.
(I guess that the Tutorial from the latest version is updated and 
doesn't recommend trying using the deprecated DBIC).


Octavian


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





--
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.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] Catalyst::Plugin::Scheduler issue.

2007-01-12 Thread Bill Moseley
On Fri, Jan 12, 2007 at 03:14:22PM +0800, Jack L. wrote:
> Hey,
> I use C::P::Scheduler to perform periodic actions.  I meet some troubles.
> The events defined in Cron.pm could not be executed at all whatever I try.
> Has anybody used it before?

Yes, it works fine for me.


> I use Linux and Catalyst 5.7006.
> YAML file is used for scheduling.
> I feel puzzled for the YAML file name.
> The YAML file name should be schedule.yml or scheduler.yml?
> Document says it is schedule.yml here, but scheduler.yml there.

Look at the source:

[EMAIL PROTECTED]:~$ perldoc -m Catalyst::Plugin::Scheduler |grep yml
$c->config->{scheduler}->{yaml_file}   ||= $c->path_to('scheduler.yml');
is $APP_HOME/scheduler.yml.
existence of a file called C in your application's home

Looks like "scheduler.yml".


-- 
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] mod_fastcgi vs mod_fcgid

2007-01-12 Thread Michele Beltrame

Hello all!

These days I'm evaluating mod_fcgid, and the option to use it instead of 
mod_fastcgi as it seems less broken (better process management, etc...). 
 Has any Catalyst user had experience with it? Opinions?


Thanks,
Michele.

--
Michele Beltrame
http://www.varlogarthas.net/
ICQ# 76660101
Informativa privacy: http://www.italpro.net/em.html

___
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] mod_fastcgi vs mod_fcgid

2007-01-12 Thread Jonathan Rockway
Michele Beltrame wrote:
> Hello all!
> 
> These days I'm evaluating mod_fcgid, and the option to use it instead of
> mod_fastcgi as it seems less broken (better process management, etc...).
>  Has any Catalyst user had experience with it? Opinions?

I think most of us have experienced the opposite.

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;

___
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] mod_fastcgi vs mod_fcgid

2007-01-12 Thread Jonathan Rockway
Jonathan Rockway wrote:
> Michele Beltrame wrote:
>> Hello all!
>>
>> These days I'm evaluating mod_fcgid, and the option to use it instead of
>> mod_fastcgi as it seems less broken (better process management, etc...).
>>  Has any Catalyst user had experience with it? Opinions?
> 
> I think most of us have experienced the opposite.

Hey, I have great reading comprehension skills!  Forget what I said.

mod_fastcgi is crufty and slightly broken, while mod_fcgid seems to be
more sane.

Sorry for the confusion.  I haven't had any coffee yet!

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;

___
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] Reaction Widgets questions

2007-01-12 Thread Jonas Alves

Hi,
I'm trying Reaction for the first time. I already got it to work using
the CRUDController against some tables i have in a database.
Now i'm trying to change the widgets used to display the form. How can
i tell Reaction that one field type is a
Reaction::UI::ViewPort::Field::* class?
I also want to create a new controller that show in the form just some
of the fields of a table. Is this possible? How can i do it?

Thanks for your help,
--
Jonas

___
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] Re: Reaction Widgets questions

2007-01-12 Thread Jonas Alves

On 12/01/07, Jonas Alves <[EMAIL PROTECTED]> wrote:

Hi,
I'm trying Reaction for the first time. I already got it to work using
the CRUDController against some tables i have in a database.
Now i'm trying to change the widgets used to display the form. How can
i tell Reaction that one field type is a
Reaction::UI::ViewPort::Field::* class?


Ok, i guess i found that one. The build_fields_for_type_* method in
the ActionFom.pm class do it when call the build_simple_field method.
So to get a Password field i just have to say that my field isa =>
'Password'.


I also want to create a new controller that show in the form just some
of the fields of a table. Is this possible? How can i do it?

Thanks for your help,
--
Jonas



___
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] mod_fastcgi vs mod_fcgid

2007-01-12 Thread David Morel


Le 12 janv. 07 à 19:22, Jonathan Rockway a écrit :


Jonathan Rockway wrote:

Michele Beltrame wrote:

Hello all!

These days I'm evaluating mod_fcgid, and the option to use it  
instead of
mod_fastcgi as it seems less broken (better process management,  
etc...).

 Has any Catalyst user had experience with it? Opinions?


I think most of us have experienced the opposite.


Hey, I have great reading comprehension skills!  Forget what I said.

mod_fastcgi is crufty and slightly broken, while mod_fcgid seems to be
more sane.


Isn't that what you said the first time ?


Sorry for the confusion.  I haven't had any coffee yet!


Time to go get some then ;)

David Morel


___
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] mod_fastcgi vs mod_fcgid

2007-01-12 Thread Adam Jacob
On Fri, Jan 12, 2007 at 07:13:34PM +0100, Michele Beltrame wrote:
> Hello all!
> 
> These days I'm evaluating mod_fcgid, and the option to use it instead of 
> mod_fastcgi as it seems less broken (better process management,
> etc...).  Has any Catalyst user had experience with it? Opinions?

mod_fcgid is running great for me on Apache 2 and Debian.

Adam


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