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
I am pretty new to web application development and testing,currently working on a project which requires me to set up a stand alone environment for testing the Web application. The idea is web application should be testable and the server should be in simulated mode.
As, i was researching came to know that one of the ways it can be done is by node.js which can help in server application for the web app and data can be sent to Web application by JSON.
Please let me know if there is a better way to test standalone web application. All possible ideas are welcome.Please suggest.
It should pretty same as how you setup your production server but test server should have its own database instance and should collide with production data.I didn't get the point about using nodejs. ?? Your tech stack should be same as the production tech stack. Then only it will be called simulated environment.
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 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
Now I program all my web apps with Flask or Django. (blogs, social networks...). I need templates, db access, controllers, routing...
Now I want to do same web applications, but with javascript.
People tell me : You need NodeJs for server-side, Angular for the front, and for example firebase or mongodb. Or also you can use Express JS.
But can I just use Angular JS and Firebase for start a big web app ? Need I Node if Angular can Access/Update/Delete in my db ?
Angular is a client-side framework, so you'll have to at least have some web server to serve your static files. Other than that, if you're using Firebase, you wouldn't technically need any server-side code to handle your logic - but naturally, that depends strongly on what data your application deals with.
If what Firebase provides, doesn't cut it for your cases though, you will need a server-side, and pretty much any web application framework would do. Node.js (using Express), PHP, ASP.NET, whatever your heart desires.
And yes, Angular works perfectly well for creating big complex web applications.
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 6 years ago.
Improve this question
I'm using Trigger.io to make an app I can deploy to both the app store and google play.
I'm researching baas backends that offer native sdk's for android and apple, but also offer javascript sdk's which I assume are meant for things like Trigger or Phonegap.
My question is do the app store guidelines favor one kind of back end service over another? Is javascript risky for backend? I just want to be sure before I pay for a service. The services I'm considering are cloudmine and shephertz.
They shouldn't know anything about your back-end web service.
Sounds like you are talking about making a hybird app though, which is also fine (and is technically a client). There are a ton of hybrid frameworks out there: Ionic, Cordova, Cocoon, PhoneGap, apparently Trigger.io, etc. They wouldn't be useful if app stores rejected them.
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
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)