What kind of coding do I need for comments?

Discussion in 'Programming' started by Diminished29, Sep 27, 2007.

  1. #1
    I want to give my visitors the ability to comment on articles I post up on the site like you see on blogs.

    I hope this isn't too difficult as I don't have any programming knowledge, but I'm willing to learn if someone could give me a little insight on how to get started.

    Chad
     
    Diminished29, Sep 27, 2007 IP
  2. Synchronium

    Synchronium Active Member

    Messages:
    463
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #2
    If you have no programming experience, it's going to be a pain in the arse to write a comment script from scratch, since that requires just as much programming as anything else: EG, databases, loops, etc.

    Go get a script, or start to learn PHP from the begining.
     
    Synchronium, Sep 27, 2007 IP
  3. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #3
    php, mysql, check php.net if no free stuff is available you can buy one at websites like hotscripts.
     
    it career, Sep 27, 2007 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You will need some serverside code to do it and a database.

    PHP and .Net are both easy choices. .Net's free Visual Web Developer Express gives you a drag and drop type interface but you do need to learn it to get it working to its best.
     
    AstarothSolutions, Sep 27, 2007 IP
  5. Diminished29

    Diminished29 Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks guys for the advice, looks like I'll probabaly have to be running .NET as my site is on a Windows Server. PHP comment scripts seem to be easy to find but what about .NET comment scripts?

    Know of any good ones, I'll probably just purchase one for now until I can have time to really dig deep and learn all this for myself. I saw the PHP script that I needed for $19, but again I believe I'll have to go with a .NET script because of the server.
     
    Diminished29, Sep 27, 2007 IP
  6. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you need to know which web server is actually running on the server more than just the OS. .Net only runs on Microsofts IIS (properly anyway) where as PHP can run on many servers including IIS but you will find compatibility issues with IIS as it doesnt support a number of key features.

    As .Net was originally seen as a much more "professional" solution and as such there are not as many free scripts and those that there are are more expensive (basic supply and demand) even though our developers can do the same thing in net in only 2/3rds the time it takes for them to do in PHP.

    Do a search and you will find a lot of excellent examples which are a "script" as a php'er would know.
     
    AstarothSolutions, Sep 28, 2007 IP
  7. foreststone

    foreststone Peon

    Messages:
    1,355
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you do not have any coding experience, just downlaod some free php script, it is more easy
     
    foreststone, Sep 28, 2007 IP
  8. Bisje

    Bisje Active Member

    Messages:
    152
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #8
    You should take a look here : http://www.scripts.oldguy.us/

    I'm not a programmer but implemented it in my pages and it works like a charm. Also, the developer has a support forum and is very fast in helping you.
    succes !
     
    Bisje, Sep 28, 2007 IP
  9. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #9
    If you are still looking, be sure to check out Ruby on Rails (if your host supports it!).

    I think all that you really need to do in adding comments is to add the form, make a model, database values for your database, and then just add a few lines of code. (And add a relationship to users/comments). this is all really easy.

    Ruby on Rails is amazing. I wouldn't know how to integrate it into whatever you are running right now, however.
     
    zac439, Sep 28, 2007 IP