SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript - client side or both client & sever side

    I'm just a newbie...my question may seem very kiddish....I had an argument over this topic with my friends.....

    Is JavaScript only a client side programming language or is it both a server and client side scripting language???

  2. #2
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    It's both, while still predominantly a client-side language, it can be used as a server-side language as well.

    Javascript has been a very versatile language for a long time. With the recent rise in popularity of Node.js it has become much more popular to use on the server as well. It was possible to do this before Node.JS (and Common.JS) were around as well though, and even command-line applications can be written in JavaScript.
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }

  3. #3
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a looott!!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •