开发者

Want to create a Question/ Answer site, So what should I read to build such a site?

开发者 https://www.devze.com 2023-02-26 03:10 出处:网络
I am new to website building and want to create a site which have following features: People should be able to post new questions.

I am new to website building and want to create a site which have following features:

  1. People should be able to post new questions.
  2. Should be able to comment on the already provided questions (Providing Answer is equal to providing comments.)
  3. Should be able to categorize various questions.

I am planning to go on Open source side: Using PHP/APACHE/MYSQL/LINUX.

I am not sure what all things i should read Like CMS (Drupal/Joomla etc.)

Can an开发者_如何转开发yone help me?


It's impossible to answer all your questions in one answer.

If you're really new to php, I doub't you should dive in a CMS.

I recomend you to split-up your questions in to smaller ones and start googling and coding.

  • People should ble able to post
    • Choosing a database?
    • Adding entries to a table?
    • Registering users?
  • Commenting
    • Again, adding to database
    • Retreiving from database
    • Displaying results
  • Categories
    • Database architecture
    • Normalazing database
    • Again, adding and retreivieng from database

..and so on.

This would be ok if you're doing it for practice, not for real life product.

If you're looking for a quality product, you should go for a cms.


There are several open-source packages you could use. Or you could go over to http://area51.stackexchange.com/ and see if any of the 566 sites in development would do what you want.

Some open-source question-and-answer packages:

  • OSQA - http://www.osqa.net/ (Django / Python)
  • AskBot - http://askbot.org/ (Django / Python)
  • Shapado - http://shapado.com/ (Ruby/Rails)
  • Question2Answer - (see that dot org)- (PHP)


OSQA is open source stackoverflow.com clone, running on Django and Python

http://www.osqa.net/

(just replace one P in your LAMP stack with another P :)


If you are just trying to have a forum in PHP for question/answer, I recommend you take a look at phpBB. You may also take a look at http://en.wikipedia.org/wiki/Comparison_of_Internet_forum_software_(PHP)

0

精彩评论

暂无评论...
验证码 换一张
取 消