• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

Does NodeJS mean JavaScript with not just client side but server side capability too?

 
Ranch Hand
Posts: 2878
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java script has always been used on client side in the past.Does NodeJS mean JavaScript with not just client side but server side capability too?

thanks
 
Rancher
Posts: 89
13
Scala Eclipse IDE MySQL Database Tomcat Server Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not a JS person, but I'm pretty sure nodeJS is only executed server-side.

-Zach
 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, NodeJS is a server side implementation of JavaScript. In theory with the introduction of NodeJS and other such frameworks you don't have to learn a new language when switching from client side to server side.
However when starting out with NodeJS some things may confuse new users like when the code is run on the client or on the server.

If you are just starting to learn NodeJS then I you may want to take a look at one of the following development stacks/frameworks:
  • MEAN - http://mean.io/
  • Meteor - https://www.meteor.com/
  • ExpressJS - https://expressjs.com/
  •  
    Monica Shiralkar
    Ranch Hand
    Posts: 2878
    13
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    thanks
     
    Sheriff
    Posts: 67734
    173
    Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Pete Letkeman wrote:In theory with the introduction of NodeJS and other such frameworks you don't have to learn a new language when switching from client side to server side.


    While the language is the same, the ecosystems are much different. A rough analogy (though not the best) is using Java in the JEE ecosystem and switching to Spring -- it's a whole 'nuther world.
     
    Monica Shiralkar
    Ranch Hand
    Posts: 2878
    13
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    While the language is the same, the ecosystems are much different. A rough analogy (though not the best) is using Java in the JEE ecosystem and switching to Spring -- it's a whole 'nuther world



    Understood this. Good example.

    I have one doubt. NodeJS is server side java script but is the vice versa also true?

    thanks
     
    Bear Bibeault
    Sheriff
    Posts: 67734
    173
    Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Monica Shiralkar wrote:I have one doubt. NodeJS is server side java script but is the vice versa also true?



    Huh?
     
    Bear Bibeault
    Sheriff
    Posts: 67734
    173
    Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    OK, I think this got answered in your other post.
     
    Monica Shiralkar
    Ranch Hand
    Posts: 2878
    13
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks.
     
    Ranch Hand
    Posts: 312
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Zach Rode wrote:Not a JS person, but I'm pretty sure nodeJS is only executed server-side.

    -Zach



    Mostly true, but you can create client side applications also using electronjs.
     
    You firghten me terribly. I would like to go home now. Here, take this tiny ad:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic