[Catalyst] New catalystframework.org
Dear list, it is with great pleasure that I can announce a redesign of the old Catalyst framework front page. Some of you may remember the draft from a couple of years back when I first came up with it here on the list. I tweaked a couple of things (e.g. everything links to MetaCPAN) and t0m++ pushed it live this morning. I'd like all of you to take a minute to check it out and give me some (constructive!) feedback: http://www.catalystframework.org/beta For now it's just one static page, but we should definitely aim at bringing more content (e.g. the docs) into the new design. dpetrov++ suggested using the excellent MetaCPAN API to grab the POD, which I think is a fantastic idea I'm currently experimenting with. Nevertheless, as it stands now it's already an enormous improvement over the old site IMHO. Looking forward to hearing your thoughts! Cheers, --Toby ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] New catalystframework.org
Looks good. I don't look at the site very often but if I did I'd be quite happy to see this :) ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] New catalystframework.org
Hi! * The eBook (PDF) from Apress link is broken. Fixed in trunk. * grey on black is difficult to read Made the links in the footer a tad lighter. * The amazon.com link leads to amazon.co.uk (not a problem, but unexpected) It looks like the link is some sort of affiliate link (tag=enligperlorga-21) which I didn't want to break. Should/Can this be changed? * light peach on white is so difficult to see that I didn't even notice it was there at first Unfortunately, I don't know what you mean ... * fonts are sized in pixels - not good for screens of varying resolutions, and specifically ignoring my browser settings My browser (Chrome) happily scales the fonts (and everything else accordingly) even though they are sized in pixels. Even Twitter's bootstrap uses pixels and it's becoming somewhat of a de-facto standard. * in fact, it seems everything is sized in pixels - ugh * The layout assumes that I am willing to give it over 1000 wide of my screen pixels. I'm not usually, and on my netbook it is physically impossible. * When it isn't given 1000 pixels, the layout is ugly (the background of column 3 is truncated) Best thing would be a responsive design version. Unfortunately, I haven't found the time yet to completely overhaul the (2-3 years old) markup. I just wanted to finally get it out there because the old site looks horrible IMHO and was partially broken and/or outdated. Thanks for your comments, Dave! --Toby ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] New catalystframework.org
Pretty sweet. Nice work. Thank you for doing the heavy lifting. L. -- lenja...@jaffesystems.com 614-404-4214 Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage Greenbar http://www.greenbartraining.org/: Grubmaster: 2012, 2011, 2010, 2009, Grub Asst: 2008, Trained: 2007. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] apache, mod_fcgi local::lib
Hello, I got stuck in deploying my first Catalyst-application on a SuSE-platform:-( I've mod_fcgi (not fast_cgi), FCGI.pm and I also use local::lib. So, in my virtual-host-file I use this configuration: VirtualHost *:80 ServerName lxast05.abs.lrz.de ServerAlias www.lxast05.abs.lrz.de #TransferLog /var/log/apache2/access.log ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log combined # This should point at your myapp/root DocumentRoot /srv/www/web/DW/root Alias /static /srv/www/web/DW/root/static Location /static SetHandler default-handler /Location Alias / /srv/www/web/DW/script/dw_fastcgi.pl/ Location / Options ExecCGI Order allow,deny Allow from all AddHandler fcgid-script .pl /Location /VirtualHost That my apache is able to find the local_lib I declared in '/etc/apache2/conf.d/mod_fcgid.conf' the DefaultInitEnv variable: DefaultInitEnv PERL5LIB /root/perl5/lib/perl5/ That's it ... after restarting the apache I get an error : Can't locate Catalyst/ScriptRunner.pm in @INC (@INC contains: /root/perl5/lib/perl5/ /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /srv/www/web/DW/script/dw_fastcgi.pl line 3. BEGIN failed--compilation aborted at /srv/www/web/DW/script/dw_fastcgi.pl line 3. ... but I can clearly see that ScriptRunner exists in the local::lib-directory: -r--r--r-- 1 root root 1542 2011-02-16 22:28 /root/perl5/lib/perl5/Catalyst/ScriptRunner.pm Anyone has an idea? Is this a bug? Thanx for every hint to get Catalyst running ;-) ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] class mapping
Hi I have a simple User table (mysql back-end) which is mapped into a resultsource class User.pm. statically generated by the helper. Just wondering any difference between MyApp::Schema::DB::Result::User and MyApp::Model::DB::User? Both ref($c-model(DB::User)-find(1)) and ref($c-model(NECTAR::User)-new_result({})) return MyApp::Model::DB::User. Is this normally what I expect? (or MyApp::Schema::DB::Result::User) One more question re the method 'new_result' of DBIx::Class::ResultSet: I found $c-model(DB::User)-new_result({})-result_source-schema-storage returns undef, whereas $c-model(DB::User)-find(1)-result_source-schema-storage doesn't (it shows DBIx::Class::Storage::DBI::mysql=HASH(0x1f21fdc0)). Is this also sane? Initially those questions were raised while using HTML::FormHandler - modifying an existing user (e.g. -find(1)) works well, whereas creating a new user (-new_result) triggers some error messages: can't call method insert on an undefined value at /home/sung/perl5/lib/perl5/DBIx/Class/Row.pm line 351 ... DBIx::Class::Storage::txn_do('undef', 'undef') called at /home/sung/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 807 Anyone can help on this? https://github.com/sung/Nectar-debug Cheers, Sung ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] New catalystframework.org
On Tue, Mar 13, 2012 at 10:19 AM, Len Jaffe lenja...@jaffesystems.com wrote: Pretty sweet. Nice work. Thank you for doing the heavy lifting. L. -- lenja...@jaffesystems.com 614-404-4214 Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage Greenbar: Grubmaster: 2012, 2011, 2010, 2009, Grub Asst: 2008, Trained: 2007. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ I like it. Checked it out on my iPhone and it all looks pretty good. Well done! -- Devin Austin http://www.dhoss.net 9702906669 - Cell ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] Re: class mapping
Problem solved with a kind help from Gshank (http://search.cpan.org/~gshank/) Just copied the email in below: Brilliant! You are my star - this simply works! [sung@cardiodb ~]$ moose-outdated -v Conflicts detected for Moose: MooseX::NonMoose is version 0.16, but must be greater than version 0.17 [sung@cardiodb ~]$ cpanm MooseX::onMoose ... [sung@cardiodb ~]$ perl -e 'use MooseX::NonMoose; print MooseX::NonMoose-VERSION' 0.22 Don't come to London, but seeing me - owe you an authentic glass of ale. Will post this on dbix-class mailing list - can you do HFH so people can save some time? Cheers and all the best, Sung On 13 March 2012 20:47, Gerda Shank gerda.sh...@gmail.com wrote: Here's something you can try: run 'moose-outdated' from the command line. Somebody in the DBIx::Class irc channel had a similar sort of failure recently, and it was because MooseX::NonMoose needed to be updated. Gerda On 13 March 2012 16:33, Sung Gong s...@bio.cc wrote: Hi I have a simple User table (mysql back-end) which is mapped into a resultsource class User.pm. statically generated by the helper. Just wondering any difference between MyApp::Schema::DB::Result::User and MyApp::Model::DB::User? Both ref($c-model(DB::User)-find(1)) and ref($c-model(NECTAR::User)-new_result({})) return MyApp::Model::DB::User. Is this normally what I expect? (or MyApp::Schema::DB::Result::User) One more question re the method 'new_result' of DBIx::Class::ResultSet: I found $c-model(DB::User)-new_result({})-result_source-schema-storage returns undef, whereas $c-model(DB::User)-find(1)-result_source-schema-storage doesn't (it shows DBIx::Class::Storage::DBI::mysql=HASH(0x1f21fdc0)). Is this also sane? Initially those questions were raised while using HTML::FormHandler - modifying an existing user (e.g. -find(1)) works well, whereas creating a new user (-new_result) triggers some error messages: can't call method insert on an undefined value at /home/sung/perl5/lib/perl5/DBIx/Class/Row.pm line 351 ... DBIx::Class::Storage::txn_do('undef', 'undef') called at /home/sung/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 807 Anyone can help on this? https://github.com/sung/Nectar-debug Cheers, Sung ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/