Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Perl based forum code that has good API

by datamonk (Acolyte)
on Aug 28, 2009 at 04:53 UTC ( [id://791828]=perlquestion: print w/replies, xml ) Need Help??

datamonk has asked for the wisdom of the Perl Monks concerning the following question:

I need to add some forum like features to a website. I'd like to find something not too complex - basic messages that can have files or photos added. Also would be nice if it wasn't flat file based, but used MySQL.

The key item is that I need to have my site create forum topics and make posts on the fly over an API. It would also be nice if I can use my existing DB for users and authentication.

I've done some Googling, but can't seem to find anything that looks like it will do the trick.

Any suggestions out there?

Replies are listed 'Best First'.
Re: Perl based forum code that has good API
by assemble (Friar) on Aug 28, 2009 at 14:45 UTC

    I doubt that you'll be able to find anything like that now.

    For YaBB 3, we are building objects for things like User, Post, etc. that may be usable for what you're doing. It could theoretically be as easy as creating a new post object. We haven't gotten to that part of the work yet, we're still building/testing some deep parts of the core.

    We are planning on releasing YaBB 3 next year--if you can wait that long you may be in luck. If you can't, I wish you luck in your quest to find an acceptable solution.

      Thanks for the details on Yabb 3 - I've used Yabb before and was impressed with how easy it was.

      I was also impressed with all the coding standards documentation, etc. - you folks are setting up a great foundation!

Re: Perl based forum code that has good API
by Sewi (Friar) on Aug 28, 2009 at 06:55 UTC
    Try SBB. I installed it some years ago and it's still running, but I didn't find an English Website: http://www.coder-world.de/cw/seite__pagewebdesignsbb.html
Re: Perl based forum code that has good API
by Burak (Chaplain) on Aug 28, 2009 at 06:49 UTC
    I don't think such a thing exists. Not so sure but, the only "maintained" Perl based forums are YaBB & e-Blah. But these two are old-skool non-api things and you need to edit the code directly to add something AFAICT. However, I suggest trying MovableType Pro. It has a "Forum" feature (it really is a blog with different template set). Also, there is Foorum but it's a kind of a toy with no roadmap I believe.
      Not so sure but, the only "maintained" Perl based forums are YaBB & e-Blah.

      On what grounds are you discounting mwForum?

      mwForum doesn't have an external API feature either, but unlike most of the inexplicably popular UBB clones it does have an internal plugin API, meaning you can extend it without modifying the original code.

        +1 for mwForum, supports SQLite, PostgreSQL and MySQL backends and runs under mod_perl, which is everything I was looking for but couldn't find when I settled for YaB earlier this year (for some reason I didn't find it, and I guess neither did the author of the post above. I will have to look into how feasible importing the YaB data into it will be.
        On what grounds are you discounting mwForum?
        I didn't know it existed :) Thanks for mentioning.
Re: Perl based forum code that has good API
by Anonymous Monk on Aug 28, 2009 at 06:56 UTC
    Also would be nice if it wasn't flat file based, but used MySQL.

    Why?

      From what I've read the file based ones run into performance issues. (I'm open to education here if you feel otherwise . . . )

        The big difference between flat-file and database backed forum systems is that the load for accessing the file system and doing all the nasty bits get shifted to the database server. There are several other things that make a database backend better, but it is possible to run large boards on a flat-file based system without many problems.

        I won't lie: in many cases database backed systems perform better; however, it doesn't really matter unless you have a very popular board with lots of posts, activity, etc.

Re: Perl based forum code that has good API
by hangon (Deacon) on Aug 29, 2009 at 02:42 UTC

    When looking for an API, don't forget to Search CPAN. There are a few forum related modules there, including some complete systems. I have not tried any of them, but you may find something useful.

      Great suggestion! I did a search, but nothing really jumped out at me

Re: Perl based forum code that has good API
by youlose (Scribe) on Aug 29, 2009 at 16:03 UTC
Re: Perl based forum code that has good API
by leocharre (Priest) on Aug 30, 2009 at 15:39 UTC

    I don't know what your topic is. But..

    I have been using bugzilla for development inhouse for a while. It's been real good.

    It's good for tracking some technical stuff between people.

      I can't imagine using bugzilla as a forum :) What about RT then? ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://791828]
Approved by ELISHEVA
Front-paged by Burak
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-03-19 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found