Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • What is the difference between client-side and server-side programming?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 91
    Comment on it

    There are n number of difference between client-side and server-side programming.

    The below code is split into two entirely separate parts, the server side and the client side.

                        |
                   ---------->
                  HTTP request
                        |
    +--------------+    |    +--------------+
    |              |    |    |              |
    |    browser   |    |    |  web  server |
    | (JavaScript) |    |    |  (PHP etc.)  |
    |              |    |    |              |
    +--------------+    |    +--------------+
                        |
      client side       |      server side
                        |
                   <----------
              HTML, CSS, JavaScript
                        |
    

    In programming we have 2 sides that are HTTP requests and responses. Php is a server side programming language which will execute our code on server and the response is sent to the client where the HTML is interpreted and the JavaScript is executed. Once PHP has finished outputting the response, the script ends and nothing will happen on the server until a new HTTP request comes in.

    By this it's clear the difference between client-side and server-side programming.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: