Closed Thread
CODING A PHP FORUM from scratch!
Old 10-27-2009, 12:58 AM CODING A PHP FORUM from scratch!
kcmartz's Avatar
Super Talker

Posts: 103
Name: Kenson
Location: Washington, USA
Trades: 0
I would love to code a forum from scratch, and it will be on a domain that doesn't exist yet...

It is for a school project...


Thanks, will check this topic tomorrow morning...
__________________
Thanks,
kcmartz | Email for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
 
When You Register, These Ads Go Away!
Old 10-27-2009, 07:04 AM Re: CODING A PHP FORUM from scratch!
mtishetsky's Avatar
King Spam Talker

Posts: 1,199
Name: Mike
Location: Mataro, Spain
Trades: 0
And what is your question? Mine is "what for?"
__________________
mtishetsky is offline
View Public Profile Visit mtishetsky's homepage!
 
Old 10-27-2009, 08:49 AM Re: CODING A PHP FORUM from scratch!
lizciz's Avatar
Ultra Talker

Posts: 430
Name: Mattias Nordahl
Location: Sweden
Trades: 0
What do you know already? How much experience with php and MySQL (or any other database handler of choice) do you have?
__________________
49206368616e676564206d79207369676e61747572652e2049 2062657420796f75206469646e5c2774206e6f7469636521
lizciz is offline
View Public Profile Visit lizciz's homepage!
 
Old 10-27-2009, 09:11 AM Re: CODING A PHP FORUM from scratch!
kcmartz's Avatar
Super Talker

Posts: 103
Name: Kenson
Location: Washington, USA
Trades: 0
"
It is for a school project...
"


I know a little php, like include and echo, that is pretty much all for now, I will be learning it in 3rd period in school today...
__________________
Thanks,
kcmartz | Email for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Old 10-27-2009, 10:32 AM Re: CODING A PHP FORUM from scratch!
lizciz's Avatar
Ultra Talker

Posts: 430
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Aha, ok...
A basic forum isn't really that hard to do (with minimal functionality of course), but with no experience at all, it's still impossible. Keep up the learning and in a couple of months you may be able to make a forum yourself.
__________________
49206368616e676564206d79207369676e61747572652e2049 2062657420796f75206469646e5c2774206e6f7469636521
lizciz is offline
View Public Profile Visit lizciz's homepage!
 
Old 10-27-2009, 11:15 AM Re: CODING A PHP FORUM from scratch!
Skilled Talker

Posts: 55
Trades: 0
My question is - Why reinvent the wheel?
Scarthingwell is offline
View Public Profile Visit Scarthingwell's homepage!
 
Old 10-27-2009, 11:30 AM Re: CODING A PHP FORUM from scratch!
kcmartz's Avatar
Super Talker

Posts: 103
Name: Kenson
Location: Washington, USA
Trades: 0
Quote:
Originally Posted by Scarthingwell View Post
My question is - Why reinvent the wheel?

I have to, it is for a school project required to graduate...
__________________
Thanks,
kcmartz | Email for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Old 10-27-2009, 11:32 AM Re: CODING A PHP FORUM from scratch!
spyderwebtech's Avatar
Experienced Talker

Posts: 46
Trades: 0
kcmartz,

It is true that it will be extremely difficult to create a forum with no PHP knowledge, but nothing is IMPOSSIBLE!

Let's face it, most if not all of us on this forum, have learned all the programming languages by just getting out there and doing it, trail and error, and doing tons of searches on forums like webmaster-talk.

If we can do it so can you.

If you are serious about creating a forum, I would recommend not starting by creating every line of code yourself but rather use a PHP framework that can help you along the way. Yes you will still have to do a ton of reading and searching but at the end of the day you will be learning how to produce code faster and take advantage of what the framework has to offer (being speed, support, and modularization).

Just to give you a little background, a PHP framework is a system where you can organize your business logic (Controllers), database/data storage (Models), and presentation (Views) elements for your application in a structured way and then let the framework do the hard part and display the end result to your users. (I am obviously over-simplifying it).

Here are just a few suggestions of PHP frameworks that you can look into to create your forum:

1) The Zend Framework - fantastic support, video tutorials
2) The Symfony Framework - Haven't used yet, but on my list to give a try
3) CakePHP Framework - has a few tutorials to create wiki's & cookbooks (step-by-step)
4) Kohana Framework - personally what I use and really enjoy, good for large applications

There are other like codeIgnighter (supports PHP4) which in my opinion is a bit on the heavier side due to the PHP4 support. But I am sure other people on this forum will chip in with their opinions.

Good luck with your forum, and remember nothing is impossible. Take a look at this article from Inc magazine on a guy who decided to hand code a dating website just so he could learn how to do it.
spyderwebtech is offline
View Public Profile
 
Old 10-27-2009, 12:38 PM Re: CODING A PHP FORUM from scratch!
orionoreo's Avatar
Ultra Talker

Posts: 286
Name: Jerry
Trades: 0
I don't get it... is this thread just to say that you're making a forum or is there something else going on.

If you're planning to do it in one semester I suggest you work a lot after school hours because there's a lot of things you need, front end and back
orionoreo is offline
View Public Profile
 
Old 10-27-2009, 06:57 PM Re: CODING A PHP FORUM from scratch!
jim1228's Avatar
Extreme Talker

Posts: 155
Name: Jim
Location: Ohio
Trades: 0
Pick up a PHP book at your local book store. Some may have examples on how to build a simple forum application. Learn by example type stuff. You do not need to learn OOP or any advance coding style to build a simple forum, but it could help with organization and reusing code.
__________________
My Great Scripts
Custom DHTML/JavaScript Animation - Hire me for your next web project.
jim1228 is offline
View Public Profile Visit jim1228's homepage!
 
Old 10-27-2009, 07:04 PM Re: CODING A PHP FORUM from scratch!
kcmartz's Avatar
Super Talker

Posts: 103
Name: Kenson
Location: Washington, USA
Trades: 0
Quote:
Originally Posted by orionoreo View Post
I don't get it... is this thread just to say that you're making a forum or is there something else going on.

If you're planning to do it in one semester I suggest you work a lot after school hours because there's a lot of things you need, front end and back
I do work on it at home, via SSH (school Mac given to me to use)
__________________
Thanks,
kcmartz | Email for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Old 10-28-2009, 11:19 AM Re: CODING A PHP FORUM from scratch!
kcmartz's Avatar
Super Talker

Posts: 103
Name: Kenson
Location: Washington, USA
Trades: 0
*BUMP*
(Been 24 Hours)
__________________
Thanks,
kcmartz | Email for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Old 10-28-2009, 12:17 PM Re: CODING A PHP FORUM from scratch!
jim1228's Avatar
Extreme Talker

Posts: 155
Name: Jim
Location: Ohio
Trades: 0
Wow! I am so surprised at my search results for searching for a good php forum tutorial.

Anyways I found this:

http://www.chipmunk-scripts.com/boar...mID=43&ID=9268


Of course, this is a big project and can be way to time consuming for someone to write a decent tutorial on.
__________________
My Great Scripts
Custom DHTML/JavaScript Animation - Hire me for your next web project.
jim1228 is offline
View Public Profile Visit jim1228's homepage!
 
Old 11-13-2009, 05:26 PM Re: CODING A PHP FORUM from scratch!
kcmartz's Avatar
Super Talker

Posts: 103
Name: Kenson
Location: Washington, USA
Trades: 0
Nevermind, I am going to use SMF, because I found out I didn't pass a required test and have to take a math class next sem. I will not have time to develop a PHP forum.

MODS:
PLEASE LOCK THIS TOPIC!
__________________
Thanks,
kcmartz | Email for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Closed Thread     « Reply to CODING A PHP FORUM from scratch!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13939 seconds with 13 queries