Wednesday, October 1, 2008

 

Foorum 0.2.7 release

Please download from http://foorum.googlecode.com/files/Foorum-0.2.7.tar.gz

it's a good code source to learn Catalyst+DBIx::Class+Template and others.

try http://www.foorumbbs.com/

Patches or suggestion is really appreciated.

Thanks.

Labels:


Sunday, September 14, 2008

 

a new version of Foorum: 0.2.2

http://code.google.com/p/foorum/downloads/list

0.2.2 Mon Sep 15 12:03:00
- use Catalyst::Plugin::PageCache '0.19' and key_maker
- split Model/Validation.pm into ResultSet and remove it
- use 'MooseX::TheSchwartz' and 'TheSchwartz::Simple' to replace 'TheSchwartz'

Labels:


Monday, June 16, 2008

 

3 day 3 release

CPAN generally means responsibility. I released 3 Foorum distribution in the last 3 days.

CPAN means better document. so I tried to use DBICx::AutoDoc 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.

code are:(briefly)
my $ad = DBICx::AutoDoc->new(
schema => 'Foorum::Schema',
output => File::Spec->catdir($Bin, '..', '..', 'docs'),
);

# rewrite the Schema pm POD
use Template;

my $tt2 = Template->new( { INCLUDE_PATH => $ad->include_path, POST_CHOMP => 0, PRE_CHOMP => 0 } );
my $vars = $ad->get_vars;

# first get the lists of all Foorum::Schema pm files
my @sources = @{ $vars->{sources} };
foreach my $source (@sources) {
my $class = $source->{class}; # Foorum::Schema::User

# make file dir
my @parts_of_modules = split('::', $class);
$parts_of_modules[-1] .= '.pm';
my $file_dir = File::Spec->catfile( $Bin, '..', '..', 'lib', @parts_of_modules );

my $output;
$tt2->process('pod.html', { source => $source }, \$output)
|| die $tt2->error(), "\n";

# replace POD in real module
open(my $fh, '<', $file_dir);
local $/ = undef;
my $in = <$fh>;
close($fh);

my ($code, $pod) = split(/\n1;\n/, $in);
open(my $fh2, '>', $file_dir);
print $fh2 "$code\n1;\n__END__\n\n$output\n";
close($fh2);

print "working on $class\n";
}
Full code can be found in http://foorum.googlecode.com/svn/trunk/bin/misc/dbicx_autodoc.pl

Thanks.

Labels:


Sunday, June 15, 2008

 

Foorum 0.1.5 release

Finally I release the Foorum 0.1.5 after 2 months later.

CHANGES:
1, Foorum::Search with backend Foorum::Search::Database and Foorum::Search::Sphinx
2, change DATETIME to INT(11) for tables.

it's a release for my little boy diudiu. :)

u can get it from http://foorum.googlecode.com/files/Foorum-0.1.5.tar.gz

and I uploaded to CPAN too.

Thanks.

Labels:


Saturday, January 19, 2008

 

Tutorial 5: How to write test cases For Foorum

I just wrote another tutorial to say something about test. mainly I'm talking about DBIx::Class Schema test.

http://code.google.com/p/foorum/wiki/Tutorial5

Have fun!

Labels:


Sunday, January 13, 2008

 

Tutorial 2: Dive into Foorum: TheSchwartz

I wrote my second tutorial for Foorum: Tutorial 2: Dive into Foorum: TheSchwartz

mainly it's a simple document for introduce TheSchwartz and how Foorum uses it.

Enjoy!

Labels: ,


Friday, January 11, 2008

 

Tutorial 1: Catalyst Plugins used in Foorum

I wrote my first tutorial for Foorum:
Catalyst Plugins used in Foorum

maily it has:
* Catalyst::Plugin::Config::YAML
* Catalyst::Plugin::Static::Simple
* Catalyst::Plugin::Authentication
* Catalyst::Plugin::Cache
* Catalyst::Plugin::Session::DynamicExpiry
* Catalyst::Plugin::Session
* Catalyst::Plugin::I18N
* Catalyst::Plugin::FormValidator::Simple
* Catalyst::Plugin::Captcha
* Catalyst::Plugin::PageCache

with simple words.

Labels: ,


 

Foorum 0.1.2 Release

0.1.2 Sat Jan 12 9:39:21 2008
- preview function
- use jquery.lightbox for comments photos
- options for create threads or replies
- send request email for private forum
- add require Authentication verion (thanks for viacheslav.t)
- Scraper::MailMan, hmm, just a scrapper test
- thread mode for Topic/Comments
- configurable PageCache
- add CSS::Minifier

enjoy!

Labels:


This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]