Re: [Catalyst] Scaffolding

2006-10-06 Thread Zbigniew Lukasiak
Hi,

You can try Catalyst::Example::InstantCRUD - I've tried to make it a
kind of scaffolding for Catalyst.  I am waiting for ideas how to
improve it.

The Catalyst::Helper::Controller::Scaffold code is a bit obsolete I believe.

--
Zbyszek

On 10/6/06, Kevin Wong [EMAIL PROTECTED] wrote:
 Hi,
  I want to use Scaffoding for my catalyst project, but reading through the
 docs of Catalyst::Helper::Controller::Scaffold and the
 Cookbook, I think Scaffold uses CDBI and the new version of Catalyst works
 with DBIC class.
  What should I do to use scaffold feature? Is it just simply install the
 CDBI class?
  If aomeone has already use Scaffold, please give me some advice, or better,
 give me the command line to use it. In the mean time, I will search through
 the docs and  the archive, hoping to find the answer.

  Thank you,

  Kevin


  
 Stay in the know. Pulse on the new Yahoo.com. Check it out.


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





-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.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/


[Catalyst] Scaffolding

2006-10-06 Thread Kevin Wong
Hi, I want to use Scaffoding for my catalyst project, but reading through the docs of Catalyst::Helper::Controller::Scaffold and the Cookbook, I think Scaffold uses CDBI and the new version of Catalyst works with DBIC class. What should I do to use scaffold feature? Is it just simply install the CDBI class?  If aomeone has already use Scaffold, please give me some advice, or better, give me the command line to use it. In the mean time, I will search through the docs and the archive, hoping to find the answer.  Thank you,  Kevin   
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
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] Scaffolding

2006-10-06 Thread Will Smith
Hi, I tried the Module, and this is some error that Ive got. I don't know if I missed something in the installation:  script/my_myapp_server.pl Couldn't instantiate component "My::myapp::Model::DBICSchemamodel", "Cannot load schema class 'DBSchema': DBIx::Class::Schema::load_classes(): DBIx::Class::Componentised::load_components(): Can't locate DBIx/Class/DigestColumns.pm in @INC (@INC contains: /home/danh/My-myapp/script//../lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 171) line 3. Compilation failed in require at (eval 168) line 3.  ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at /home/danh/My-myapp/script//../lib/DBSchema/Books.pm line 5. Compilation failed in require at (eval 167)
 line 3. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/Catalyst/Model/DBIC/Schema.pm line 272. at script/my_myapp_server.pl line 53" at script/my_myapp_server.pl line 53 Compilation failed in require at script/my_myapp_server.pl line 53.Zbigniew Lukasiak [EMAIL PROTECTED] wrote: Hi,You can try Catalyst::Example::InstantCRUD - I've tried to make it akind of scaffolding for Catalyst.  I am waiting for ideas how toimprove it.The Catalyst::Helper::Controller::Scaffold code is a bit obsolete I believe.--ZbyszekOn 10/6/06, Kevin Wong  wrote: Hi,  I want to use Scaffoding for my catalyst project, but reading through the docs of Catalyst::Helper::Controller::Scaffold and the Cookbook, I think Scaffold uses
 CDBI and the new version of Catalyst works with DBIC class.  What should I do to use scaffold feature? Is it just simply install the CDBI class?  If aomeone has already use Scaffold, please give me some advice, or better, give me the command line to use it. In the mean time, I will search through the docs and  the archive, hoping to find the answer.  Thank you,  Kevin   Stay in the know. Pulse on the new Yahoo.com. Check it out. ___ 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/-- Zbigniew
 Lukasiakhttp://brudnopis.blogspot.com/___List: Catalyst@lists.rawmode.orgListinfo: http://lists.rawmode.org/mailman/listinfo/catalystSearchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/Dev site: http://dev.catalyst.perl.org/ 
		Get your email and more, right on the  new 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] Scaffolding

2006-10-06 Thread Zbigniew Lukasiak
Looks like you need to install DBIx::Class::DigestColumns.

Z.

On 10/6/06, Will Smith [EMAIL PROTECTED] wrote:
 Hi,
  I tried the Module, and this is some error that Ive got. I don't know if I
 missed something in the installation:

  script/my_myapp_server.pl
  Couldn't instantiate component
 My::myapp::Model::DBICSchemamodel, Cannot load schema
 class 'DBSchema': DBIx::Class::Schema::load_classes():
 DBIx::Class::Componentised::load_components(): Can't locate
 DBIx/Class/DigestColumns.pm in @INC (@INC contains:
 /home/danh/My-myapp/script//../lib
 /usr/lib/perl5/5.8.5/i386-linux-thread-multi
 /usr/lib/perl5/5.8.5
 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
 /usr/lib/perl5/site_perl
 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.5
 /usr/lib/perl5/vendor_perl/5.8.4
 /usr/lib/perl5/vendor_perl/5.8.3
 /usr/lib/perl5/vendor_perl/5.8.2
 /usr/lib/perl5/vendor_perl/5.8.1
 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
 .) at (eval 171) line 3.
  Compilation failed in require at (eval 168) line 3.
  ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
  BEGIN failed--compilation aborted at
 /home/danh/My-myapp/script//../lib/DBSchema/Books.pm line
 5.
  Compilation failed in require at (eval 167) line 3.
  Compilation failed in require at
 /usr/lib/perl5/site_perl/5.8.5/Catalyst/Model/DBIC/Schema.pm
 line 272.
   at script/my_myapp_server.pl line 53 at script/my_myapp_server.pl line 53
  Compilation failed in require at script/my_myapp_server.pl line 53.

 Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
  Hi,

 You can try Catalyst::Example::InstantCRUD - I've tried to make it a
 kind of scaffolding for Catalyst. I am waiting for ideas how to
 improve it.

 The Catalyst::Helper::Controller::Scaffold code is a bit
 obsolete I believe.

 --
 Zbyszek

 On 10/6/06, Kevin Wong wrote:
  Hi,
  I want to use Scaffoding for my catalyst project, but reading through the
  docs of Catalyst::Helper::Controller::Scaffold and the
  Cookbook, I think Scaffold uses CDBI and the new version of Catalyst works
  with DBIC class.
  What should I do to use scaffold feature? Is it just simply install the
  CDBI class?
  If aomeone has already use Scaffold, please give me some advice, or
 better,
  give me the command line to use it. In the mean time, I will search
 through
  the docs and the archive, hoping to find the answer.
 
  Thank you,
 
  Kevin
 
 
  
  Stay in the know. Pulse on the new Yahoo.com. Check it out.
 
 
  ___
  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/
 
 
 


 --
 Zbigniew Lukasiak
 http://brudnopis.blogspot.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/



  
 Get your email and more, right on the new 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/





-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.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] Scaffolding

2006-10-06 Thread Matt S Trout
Zbigniew Lukasiak wrote:
 Hi,
 
 You can try Catalyst::Example::InstantCRUD - I've tried to make it a
 kind of scaffolding for Catalyst.  I am waiting for ideas how to
 improve it.

InstantCRUD is far and away the best current Catalyst scaffolding; if that's 
what you want I'd strongly recommend it.

 The Catalyst::Helper::Controller::Scaffold code is a bit obsolete I believe.

Unmaintained and ancient. Avoid like the plague.

-- 
  Matt S Trout   Offering custom development, consultancy and support
   Technical Directorcontracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.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/