The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Tutorial 3: For Foorum Developers

Perl::Critic

http://search.cpan.org/perldoc?Perl::Critic|Perl::Critic

Every Perl developer should use Perl::Critic to check his code. It would avoid stupid errors. * http://foorum.googlecode.com/svn/trunk/bin/misc/perlcritic.pl * http://foorum.googlecode.com/svn/trunk/bin/misc/critic.txt

Perl::Tidy

http://search.cpan.org/perldoc?Perl::Tidy|Perl::Tidy

Every Programmer has own style to write code (expect Python. ;-). well, for many developers in one project, I think it's better to keep in one voice. that's Perl::Tidy for. * http://foorum.googlecode.com/svn/trunk/bin/misc/perltidy.pl

If u want a different style, please dicuss before edit * http://foorum.googlecode.com/svn/trunk/bin/misc/.perltidyrc

JavaScript::Minifier and CSS::Minifier

http://search.cpan.org/perldoc?JavaScript::Minifier|JavaScript::Minifier, http://search.cpan.org/perldoc?CSS::Minifier|CSS::Minifier

With minified css/js, browser loads page more fast. well, I plan to use http://search.cpan.org/~ruz/CSS-Squish-0.07/lib/CSS/Squish.pm to merge all CSS into one file (but it's only a plan for now). * http://foorum.googlecode.com/svn/trunk/bin/misc/js-min.pl * http://foorum.googlecode.com/svn/trunk/bin/misc/css-min.pl

debug flag in foorum_local.yml

vim foorum_local.yml, and add a line:

  debug_mode: 1

Build Docs From GoogleCode wiki

Please don't edit $svn/trunk/docs/ HTML files, instead edit $svn/wiki or http://code.google.com/p/foorum/w/list|Wiki through Web. after edit, u can use follow script to update docs/ HTML files. * http://foorum.googlecode.com/svn/trunk/bin/misc/bdfgw.pl

SEE ALSO

Tutorial1, Tutorial2, Tutorial4, Tutorial5