Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am reading a book "Real-Time Communication with WebRTC", it says:
Node.js is an extremely powerful software platform that allows users
to easily build scalable server-side applications with JavaScript. It
is based on a single-threaded event loop management process making use
of nonblocking I/O. The library provides a built-in HTTP server
implementation, making it independent from third-party software
components. With Node.js, it is really easy for the programmer to
implement a high-performance HTTP server with customized behavior with
just a few lines of code.
I already use XAMMP as a local HTTP server, why do i need Node.js? What's the difference with Node js and XAMPP? I am new to Node.js stuff.
XAMPP and Node.js are completely different:
XAMPP is a distribution consisting of Apache, MySQL and PHP. So you are using Apache as your web server.
Node.js is a Javascript framework. You could build you own web server with Node.js
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I know this question is all over the place but i'm new to the back end and I'm trying to understand web servers. With Node, you can create a server and deploy it to Heroku. But why create a server in Node if you are using the servers with Heroku? Is Heroku the same as AWS and Firebase in terms of what they do? And what is Apache? Thank you.
Node is a tool/software written in c++, that uses browser's V8 engine to run JS code on your computer OUTSIDE browser. So it can be used to develop server aplications with JavaScript.
Heroku is a platform that your server application can be deployed to to make it accessible from the web.
Firebase is a set of tools to run serverless applications, it provides nosql database, file storage, server for static files to store your frontend application etc
Apache is a software to make static files accessible from the web on your machine. Similar to NGINX.
AWS is a huge platform, that can provide you with all kinds of stuff: databases/servers/cloud functions/analytics etc. Similar to gCloud platform.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I used node for 1 year, but only for writing server applications. I am now interested in making an application that's usually written in a language like C or C++, so I am not sure if it's possible, for example, to write a keylogger or simillar applications using JavaScript and Node.js?
Yes, you can use Node.js to write desktop applications which can act as a keylogger, communicate with device drivers and other system resources.
Most of the system interoperability has gone into providing cross-platform support for particular system event notifications and I/O. Be mindful that there are tall stacks for reading keyboard events that differ from platform to platform, so you will probably want to take a look around the Node.js ecosystem for packages like node-ffi, which may assist you at accessing system resources from your application's event loop.
Should you want to write your own system bindings that are exposed to V8 and accessible by your Node.js application, there is excellent support for going native, from packaging to creating asynchronous events for your Node.js application.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
What is difference between JavaScript and full-stack JavaScript.
Both are same or not.
Full stack - in simplification - generally means Front-end and Back-end. You can do backend with NodeJS, and do frontend with frameworks like React or Angular. All with Javascript.
First off, JavaScript is a programming language, no matter if it's used in the browser, on the server or compiled into apps and desktop programs.
Generally, as #Tomasz wrote, with full-stack people refer to developers that can develop on all (or at least multiple) platforms, but it's still the same language. The difference lies in the usage of certain special bits of (third-party-)code.
Node has packages and many platforms (like electron) use those to accomplish their usage of the language.
On the frontend you'll likely find frameworks that make it easier to interact with what the user sees.
So to answer your question, yes, both are the same language, but they are not the same thing.
Full stack: Backend(Server Side) + Front-end(Client Side)
Backend Technology: NodeJs (Role of Backend Technologies)
Front-end Technology: React Js, Angular Js etc. (more)
For More Detail read the following URL:
Is it possible to write the backend using JavaScript?
https://airbrake.io/blog/javascript/javascript-frameworks-love
http://thefullstack.xyz/full-stack-javascript-developer/
https://www.smashingmagazine.com/2013/11/introduction-to-full-stack-javascript/
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am looking to build a Order Management and Task Management App for my company. I am a beginner in Programming and know only Javascript (Can manage with HTML and CSS ) . This app would also require to connect with a database. Is it possible to build it only using Javascript (without the use of any other languages like PHP etc) and is it advisable. Is there any other more feasible solution.
If Javascript will suffice, a few more queries in the same line
What database would be the best to use ?
Would using Angular JS help ?
How do I search and use if theres a similar project in Github that runs only on Javascript ?
suggest you read more about the MEAN stack, it's a very popular stack that let you build the whole stack (DB, Server side logic, Client Side logic) with Javascript alone.
in short:
MongoDB, a NoSQL database
Express.js, a web application framework that runs on Node.js
Angular.js, a JavaScript MVC framework that runs in browser JavaScript engines
Node.js, an execution environment for event-driven server-side and networking applications
using the angular JS is optional in my opinion, it is required if you want to make it to feel as single page app.
try this on github, an example for MEAN stack.
You have to Choose
Nodejs Server (Javascript)
AngularJS Client (Javascript )
Mysql Backend
They are More Flexible with friendly Solutions
You could build and host your app on something like https://firebase.google.com/ - build the entire thing in eg polymer and let google host it, that way you'd be building the thing entirely in JS, no other language required
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I believe "full-stack" means that a language can handle both the server and client side of things. I have heard that javascript is now able to handle the server side now. I have also heard of node.js but am not 100% sure what that is. What exactly is full-stack javascript? it seems to be the talk of the web.
"full-stack javascript" is idea and marketing term that says that JavaScript is used for both server and client side.
Node.js http://nodejs.org/ was the first JavaScript platform to become popular and set standard for server side JavaScript.
It is using V8 engine from WebKit open-source project, that power Apple browsers and Google Chrome (before they forked it into new own project.)
JavaScript cab be also used for development of Windows 8, GNOME and Mozilla FireOS apps.
Some companies promotes using their frameworks and packs as stack (choices for framework already made)