For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > March 2005 > BBS PHP Books suggestions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author BBS PHP Books suggestions
NeoPhreak

2005-03-16, 8:57 am

I'm looking to build a message board from scratch... something pretty
advanced... similar to the features of phpbb, but i'm looking to code it
myself for experience sake ( big job i know) I want to know if anyone knows
of any good books out there that walk you through an object oriented
approach to this. I'm specifically looking for a book dedicatd to using php
for a message board. Anyone who's made their own already.. what kind of
books did you use to learn about them a little more?


Thanks in advanced

>.< NeoPhreak



David Robinson

2005-03-18, 3:57 am

"NeoPhreak" <blah@blah.com> wrote in message
news:amRZd.34831$Jd2.850056@news20.bellglobal.com...
> I'm looking to build a message board from scratch... something pretty
> advanced... similar to the features of phpbb, but i'm looking to code it
> myself for experience sake ( big job i know) I want to know if anyone
> knows of any good books out there that walk you through an object oriented
> approach to this. I'm specifically looking for a book dedicatd to using
> php for a message board. Anyone who's made their own already.. what kind
> of books did you use to learn about them a little more?
>
>

BBs are really just a load of SELECT, UPDATE and DELETE queries, but the
bulk of the work is done in how you set yor tables up. Might be worth
installing a BB and looking at the guts to see how they did it.

On a side note, whilst integrating into phpBB yesterday, I realised that the
authors don't use autonumbering on the phpbb_users table, so that if you
want to add a user from outside phpBB you have to SELECT MAX from the users
table first and increment the UID by 1.... crazy.

David


Dave E

2005-03-30, 3:57 pm

I think for a more elegant OO solution first I would look into using PHP
5 - and possibly go checkout some books on that because they will surely
go into the OO aspects of PHP 5. You might just happen across a simple
OO example that implements a bulletin board while your at it. Also you
might investigate the idea of 'linked lists' and tree structures as they
relate to OO programming as a bulletin board could possibly be
abstracted into such data structures. Put simply, any one message object
can have pointers to 'children', or 'siblings' which are other message
objects. And then there is the question of mapping objects to db tables,
or db tables to objects :) which is a whole other book in itself.

NeoPhreak wrote:
> I'm looking to build a message board from scratch... something pretty
> advanced... similar to the features of phpbb, but i'm looking to code it
> myself for experience sake ( big job i know) I want to know if anyone knows
> of any good books out there that walk you through an object oriented
> approach to this. I'm specifically looking for a book dedicatd to using php
> for a message board. Anyone who's made their own already.. what kind of
> books did you use to learn about them a little more?
>
>
> Thanks in advanced
>
>
>
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com