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.

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 Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #3
    I need to eat breakfast so...motorcycle or the sun?
     
    NetStar, Jun 1, 2014 IP
    deathshadow likes this.
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #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:
    93
    #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:
    331
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    80
    #6
    Give that man a brain!!! :p
     
    WebDeveloperSahil, Jun 3, 2014 IP
  7. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #7
    Obviously the color red.
     
    NetStar, Jun 4, 2014 IP
  8. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #8
    Color you say? Use jQuery!
     
    deathshadow, Jun 5, 2014 IP
    wiicker95 likes this.