• 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
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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

 
Ranch Hand
Posts: 2944
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: 2944
    13
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    thanks
     
    Sheriff
    Posts: 67750
    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: 2944
    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: 67750
    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: 67750
    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: 2944
    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.
     
    Good heavens! What have you done! Here, try to fix it with this tiny ad:
    Smokeless wood heat with a rocket mass heater
    https://woodheat.net
    reply
      Bookmark Topic Watch Topic
    • New Topic