PEAR Forum

From: Date: Tue, 25 Sep 2001 10:37:32 +0000
Subject: PEAR Forum
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2013@lists.php.net to get a copy of this message
Hello, i'm wondering what you think of having larger things like forums in PEAR, or perhaps optionally downloadable, which might be better, since there is no good way of keeping the automatically installed repository updated. I'm thinking of naming it PEAR Forum, if you don't approve you don't have to worry. Anyway, i've written a forum that is designed as a library, so to display a page you do something like this: <?PHP $list = new pear_forum_list(); $list->forum_id = $HTTP_GET_VARS["forum_id"]; $list->offset = $HTTP_GET_VARS["offset"]; $list->display(); ?> It's written with the PEAR codeing standards, with the exception of functions which currently has the first brace at the same line as the function declaration. It has PHPDoc generated documentation, a plugin and template system, abstracted DB, has a system to easily cache pages (just catch $list->display() in the output buffer) and/or you can add a little code to cache SQL queries. Well that's most of the features, PEAR stands for PHP Extension and Application Repository so why shouldn't it include apps? I think PEAR Forum fullfill the purpose of PEAR: - to provide a consistent means for library code authors to share their code with other developers. It is class based easily embedded in other apps and has a plugin system to extend the base functionality and uses PHP as a template parser to give highly flexible templates. /Morgan Christiansson

« previous php.pear.dev (#2013) next »