tag:blogger.com,1999:blog-75500548402033738052009-03-27T11:35:07.799-07:00FoorumFaylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7550054840203373805.post-34059580893343426942008-10-01T20:10:00.001-07:002008-10-01T20:10:52.248-07:00Foorum 0.2.7 releasePlease download from <a href="http://foorum.googlecode.com/files/Foorum-0.2.7.tar.gz">http://foorum.googlecode.com/files/Foorum-0.2.7.tar.gz</a><br /><br />it's a good code source to learn Catalyst+DBIx::Class+Template and others.<br /><br />try <a href="http://www.foorumbbs.com/">http://www.foorumbbs.com/</a><br /><br />Patches or suggestion is really appreciated.<br /><br />Thanks.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-3405958089334342694?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0tag:blogger.com,1999:blog-7550054840203373805.post-35395012446717099572008-09-14T22:31:00.000-07:002008-09-14T22:32:04.689-07:00a new version of Foorum: 0.2.2<a href="http://code.google.com/p/foorum/downloads/list">http://code.google.com/p/foorum/downloads/list</a><br /><br />0.2.2 Mon Sep 15 12:03:00<br /> - use Catalyst::Plugin::PageCache '0.19' and key_maker<br /> - split Model/Validation.pm into ResultSet and remove it<br /> - use 'MooseX::TheSchwartz' and 'TheSchwartz::Simple' to replace 'TheSchwartz'<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-3539501244671709957?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0tag:blogger.com,1999:blog-7550054840203373805.post-11754393969451107132008-06-16T18:55:00.000-07:002008-06-16T19:02:16.955-07:003 day 3 releaseCPAN generally means responsibility. I released 3 Foorum distribution in the last 3 days.<br /><br />CPAN means better document. so I tried to use <a href="http://search.cpan.org/perldoc?DBICx::Autodoc">DBICx::AutoDoc</a> to create docs for Foorum::Schema. it's a bit different from the original method in DBICx::AutoDoc. I changed a bit to write pod into Schema files directly.<br /><br />code are:(briefly)<pre>my $ad = DBICx::AutoDoc->new(<br /> schema => 'Foorum::Schema',<br /> output => File::Spec->catdir($Bin, '..', '..', 'docs'),<br />);<br /><br /># rewrite the Schema pm POD<br />use Template;<br /><br />my $tt2 = Template->new( { INCLUDE_PATH => $ad->include_path, POST_CHOMP => 0, PRE_CHOMP => 0 } );<br />my $vars = $ad->get_vars;<br /><br /># first get the lists of all Foorum::Schema pm files<br />my @sources = @{ $vars->{sources} };<br />foreach my $source (@sources) {<br /> my $class = $source->{class}; # Foorum::Schema::User<br /> <br /> # make file dir<br /> my @parts_of_modules = split('::', $class);<br /> $parts_of_modules[-1] .= '.pm';<br /> my $file_dir = File::Spec->catfile( $Bin, '..', '..', 'lib', @parts_of_modules );<br /> <br /> my $output;<br /> $tt2->process('pod.html', { source => $source }, \$output)<br /> || die $tt2->error(), "\n";<br /> <br /> # replace POD in real module<br /> open(my $fh, '<', $file_dir);<br /> local $/ = undef;<br /> my $in = <$fh>;<br /> close($fh);<br /> <br /> my ($code, $pod) = split(/\n1;\n/, $in);<br /> open(my $fh2, '>', $file_dir);<br /> print $fh2 "$code\n1;\n__END__\n\n$output\n";<br /> close($fh2);<br /> <br /> print "working on $class\n";<br />}</pre> Full code can be found in <a href="http://foorum.googlecode.com/svn/trunk/bin/misc/dbicx_autodoc.pl">http://foorum.googlecode.com/svn/trunk/bin/misc/dbicx_autodoc.pl</a><br /><br />Thanks.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-1175439396945110713?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com1tag:blogger.com,1999:blog-7550054840203373805.post-24741103090332763552008-06-15T00:55:00.000-07:002008-06-15T00:59:02.228-07:00Foorum 0.1.5 releaseFinally I release the Foorum 0.1.5 after 2 months later. <br /><br />CHANGES:<br />1, Foorum::Search with backend Foorum::Search::Database and Foorum::Search::Sphinx<br />2, change DATETIME to INT(11) for tables.<br /><br />it's a release for my little boy diudiu. :)<br /><br />u can get it from <a href="http://foorum.googlecode.com/files/Foorum-0.1.5.tar.gz">http://foorum.googlecode.com/files/Foorum-0.1.5.tar.gz</a><br /><br />and I uploaded to CPAN too. <br /><br />Thanks.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-2474110309033276355?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0tag:blogger.com,1999:blog-7550054840203373805.post-51980938069181505302008-01-19T02:00:00.001-08:002008-01-19T02:06:06.971-08:00Tutorial 5: How to write test cases For FoorumI just wrote another tutorial to say something about test. mainly I'm talking about DBIx::Class Schema test.<br /><br /><a href="http://code.google.com/p/foorum/wiki/Tutorial5">http://code.google.com/p/foorum/wiki/Tutorial5</a><br /><br />Have fun!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-5198093806918150530?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0tag:blogger.com,1999:blog-7550054840203373805.post-81184955428171206812008-01-13T01:40:00.000-08:002008-01-13T01:42:36.644-08:00Tutorial 2: Dive into Foorum: TheSchwartzI wrote my second tutorial for Foorum: <a href="http://code.google.com/p/foorum/wiki/Tutorial2">Tutorial 2: Dive into Foorum: TheSchwartz</a><br /><br />mainly it's a simple document for introduce TheSchwartz and how Foorum uses it.<br /><br />Enjoy!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-8118495542817120681?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0tag:blogger.com,1999:blog-7550054840203373805.post-31317410374673108952008-01-11T19:42:00.000-08:002008-01-11T19:45:36.322-08:00Tutorial 1: Catalyst Plugins used in FoorumI wrote my first tutorial for Foorum: <br /><a href="http://code.google.com/p/foorum/wiki/Tutorial1">Catalyst Plugins used in Foorum</a><br /><br />maily it has:<br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Config::YAML" rel="nofollow">Catalyst::Plugin::Config::YAML</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Static::Simple" rel="nofollow">Catalyst::Plugin::Static::Simple</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Authentication" rel="nofollow">Catalyst::Plugin::Authentication</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Cache" rel="nofollow">Catalyst::Plugin::Cache</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Session::DynamicExpiry" rel="nofollow">Catalyst::Plugin::Session::DynamicExpiry</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Session" rel="nofollow">Catalyst::Plugin::Session</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::I18N" rel="nofollow">Catalyst::Plugin::I18N</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::FormValidator::Simple" rel="nofollow">Catalyst::Plugin::FormValidator::Simple</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::Captcha" rel="nofollow">Catalyst::Plugin::Captcha</a><br /> * <a href="http://search.cpan.org/perldoc?Catalyst::Plugin::PageCache" rel="nofollow">Catalyst::Plugin::PageCache</a><br /><br />with simple words.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-3131741037467310895?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0tag:blogger.com,1999:blog-7550054840203373805.post-65870678489809128872008-01-11T18:49:00.001-08:002008-01-11T18:49:49.816-08:00Foorum 0.1.2 Release0.1.2 Sat Jan 12 9:39:21 2008<br /> - preview function<br /> - use jquery.lightbox for comments photos<br /> - options for create threads or replies<br /> - send request email for private forum<br /> - add require Authentication verion (thanks for viacheslav.t)<br /> - Scraper::MailMan, hmm, just a scrapper test<br /> - thread mode for Topic/Comments<br /> - configurable PageCache<br /> - add CSS::Minifier<br /><br />enjoy!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7550054840203373805-6587067848980912887?l=blog.foorumbbs.com'/></div>Faylandhttp://www.blogger.com/profile/07225127136123374560noreply@blogger.com0