What Is Harder, JavaScript Or PHP?

Discussion in 'Programming' started by gobbly2100, Oct 9, 2007.

  1. #1
    Hey all,

    Maybe seems like an odd question to ask but the reason I ask is because I am learning JavaScript which I find fairly hard to pick up and I am going to start learning PHP soon and so I wondered if I am going to find it easier or harder than JavaScript?
     
    gobbly2100, Oct 9, 2007 IP
  2. GMROCKS

    GMROCKS Active Member

    Messages:
    648
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #2
    PHP is a language that outputs html (and other text) to a browser.

    javascript is clientside, and can be used in a lot of ways. like making snow in you browser.

    it depends.

    I would say php is easier for a lot of things.
     
    GMROCKS, Oct 9, 2007 IP
  3. jmhyer123

    jmhyer123 Peon

    Messages:
    542
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would say PHP is WAY easier than JS but that's probably just because I haven't learned much JS.
     
    jmhyer123, Oct 9, 2007 IP
  4. ndreamer

    ndreamer Guest

    Messages:
    339
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    php is much easier it has by far the best documentation and error checking is so much easier.
     
    ndreamer, Oct 10, 2007 IP
  5. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #5
    PHP is cinch compared to JavaScript, thats pretty much it...

    BP
     
    blueparukia, Oct 10, 2007 IP
  6. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #6
    Javascript is on an entirely different level than PHP.

    Try to make a RuneScape with PHP!
     
    zac439, Oct 10, 2007 IP
  7. ajaychadha

    ajaychadha Banned

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'd say both are easy but it depends on the interest you show in them. If you are good at Javscript and PHP both then you can do a lot like AJAX programming that includes both JavaScript and Server side language like PHP to display and manipulate data instantly.

    Regards,

    Ajay Chadha :)
     
    ajaychadha, Oct 11, 2007 IP
  8. Ronson

    Ronson Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'd say both are hard if you have never done programming and if you are not aware of how server and client side script languages work.
     
    Ronson, Oct 11, 2007 IP
  9. MetaCipher

    MetaCipher Peon

    Messages:
    55
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    JavaScript is by far the hardest because of cross-platform problems. PHP is easier because it lets you get away with a whole lot more. They are both easy languages, like someone mentioned, but the problems of JavaScript not having a standard will eat at you until you die.
     
    MetaCipher, Oct 11, 2007 IP
  10. ste.richards

    ste.richards Guest

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10

    Are you confusing Java with Javascript? They're totally different languages and are nothing alike.

    But in reply to the thread title I would think that Javascript is harder to learn. I've read many other people agree with this.
     
    ste.richards, Oct 14, 2007 IP
  11. Invent

    Invent Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    PHP is much easier in my opinion, but then again I'm only 15 so it might just be because I'm young that I find JS Harder ;s
     
    Invent, Oct 15, 2007 IP
  12. jmansel

    jmansel Well-Known Member

    Messages:
    302
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #12
    Learn PHP, especially writing and reading from databases. That will you how to create information rich websites.

    Then learn Javascript so that your get a nice interactive website for users accessing your data.

    Both complement each other.
     
    jmansel, Oct 15, 2007 IP