Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 28th, 2008, 12:35 PM   #1
roma2509
Newbie
 
Join Date: May 2008
Posts: 4
Rep Power: 0 roma2509 is on a distinguished road
Exclamation php forum

help please! how can i create a forum from zero.i want to create him alone.can any body help me?please send me any information to roma2509@yahoo.com. i don't want to install any kind of forums. thanks very match.
roma2509 is offline   Reply With Quote
Old May 28th, 2008, 1:46 PM   #2
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3 kruptof is on a distinguished road
Re: php forum

Quote:
Originally Posted by roma2509 View Post
i want to create him alone.
You can't create him alone, it takes two.

phpBB is a good example of a php forum system, you might want to look at that for inspiration. I think it's also opensource so have a look at their code.
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old May 28th, 2008, 3:14 PM   #3
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 431
Rep Power: 4 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: php forum

Creating a forum by yourself isn't easy (and is likely far more involved than you'd like to think). I myself started a similar project a ways back (and since then have been working to improve it, or rather get it to work at all). Since you've apparently chosen PHP as the web language of choice, your first step would likely be to decide what database you'll be using for your forum. Typically this tends to be a flat-file database or a relational database.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old May 29th, 2008, 5:36 AM   #4
Apophis
Newbie
 
Join Date: Apr 2008
Posts: 16
Rep Power: 0 Apophis is on a distinguished road
Re: php forum

i was making a php based forum- it is a lot easier than you initially think to make a basic one- but all the other stuff is really hard
Apophis is offline   Reply With Quote
Old May 29th, 2008, 9:04 AM   #5
derzok
Newbie
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0 derzok is on a distinguished road
Re: php forum

Quote:
Originally Posted by grimpirate View Post
Creating a forum by yourself isn't easy (and is likely far more involved than you'd like to think). I myself started a similar project a ways back (and since then have been working to improve it, or rather get it to work at all). Since you've apparently chosen PHP as the web language of choice, your first step would likely be to decide what database you'll be using for your forum. Typically this tends to be a flat-file database or a relational database.
haha, don't use flatfiles. It's incredibly obnoxious to code (what with having to seek around files) and it's generally slower than relational databases (especially while performing searches). Flat files are also infinitely more annoying to manage when you've got a few thousand active posters on your BBS. I ran a UBB Classic BBS with 50k+ registered members - terribly slow. Searches were impossible.

Making a the shell of a forum is not difficult. Making the work flows, forms, and whatnot is typically rather easy. Securing your code for public use, making it the site look pretty, and writing it in an OOP paradigm (for modularity) can be more challenging.

My suggestion is to just start. Write it as poorly/sloppily as you like. When you've got mistakes or design flaws you'll figure it out and you won't do it again. If you run into something you can't figure out, just ask here. The best way to learn is from experience.
derzok is offline   Reply With Quote
Old May 29th, 2008, 2:30 PM   #6
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 431
Rep Power: 4 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: php forum

Quote:
Originally Posted by derzok View Post
haha, don't use flatfiles. It's incredibly obnoxious to code (what with having to seek around files) and it's generally slower than relational databases (especially while performing searches). Flat files are also infinitely more annoying to manage when you've got a few thousand active posters on your BBS. I ran a UBB Classic BBS with 50k+ registered members - terribly slow. Searches were impossible.
Flat files aren't generally slower with searches. Google is a shining example of that. All a standard database provides is a controlled method/wrapper for how to access what is essentially a flat file. Dependent on the application and how you use it, flat files may be easier to code than a standard database. For instance, pmWiki.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Php Tutorial 3 bulio PHP 4 Jul 16th, 2006 4:00 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:13 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC