1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.
  2. Better Analytics for WordPress Get It Free

Javascript vs PHP

Discussion in 'Programming' started by tovidebne, May 28, 2014.

  1. #1
    Hello,
    i need to draw images ... so the question is:
    draw with php or javascript? which one is less evel for CPU usage on shared hosting?
    thanks
     
    Solved! View solution.
    tovidebne, May 28, 2014 IP
  2. #2
    Javascript runs on YOUR compputer, PHP runs on the server. That's sort of a start...
     
    PoPSiCLe, May 28, 2014 IP
  3. NetStar

    NetStar Well-Known Member

    Messages:
    1,543
    Likes Received:
    239
    Best Answers:
    19
    Trophy Points:
    115
    #3
    I need to eat breakfast so...motorcycle or the sun?
     
    NetStar, Jun 1, 2014 IP
    deathshadow likes this.
  4. deathshadow

    deathshadow Illustrious Member

    Messages:
    6,923
    Likes Received:
    1,066
    Best Answers:
    171
    Trophy Points:
    445
    #4
    I need to tell the time, spaghetti or sledgehammer?
     
    deathshadow, Jun 2, 2014 IP
  5. Jigney

    Jigney Active Member

    Messages:
    168
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    68
    #5
    You must go for jquery or javascript, Which is client side scripting,
    Where php code runs on server and than give you output.

    And in the jquery it's also easy to draw a image if you are using some jquery library or plugin.
     
    Jigney, Jun 3, 2014 IP
  6. WebDeveloperSahil

    WebDeveloperSahil Active Member

    Messages:
    255
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    55
    #6
    Give that man a brain!!! :p
     
    WebDeveloperSahil, Jun 3, 2014 IP
  7. NetStar

    NetStar Well-Known Member

    Messages:
    1,543
    Likes Received:
    239
    Best Answers:
    19
    Trophy Points:
    115
    #7
    Obviously the color red.
     
    NetStar, Jun 4, 2014 IP
  8. deathshadow

    deathshadow Illustrious Member

    Messages:
    6,923
    Likes Received:
    1,066
    Best Answers:
    171
    Trophy Points:
    445
    #8
    Color you say? Use jQuery!
     
    deathshadow, Jun 5, 2014 IP
    wiicker95 likes this.