Node.js 和 AngularJS 的区别
Angular JS是由 Google 开发的开源 Web 应用程序开发框架。它为开发动态和单页 Web 应用程序提供支持。
Node.JS是一个跨平台的运行时环境,用于在浏览器之外运行 JavaScript 应用程序。它提供了丰富的各种 JavaScript 模块库,可以简化编码。
Angular JS Node.JS It is a structural framework for developing dynamic web apps. It is a cross-platform run-time environment for applications written in JavaScript language. It is entirely written in JavaScript. It is written in C, C++ and JavaScript. It is used to build single-page client-side applications. It is used to build fast, scalable server-side and client-side networking applications. Ideal for developing highly active and interactive web apps. Ideal for developing small size projects. The developer only need to add the AngularJS file to use it in his application. The developer need to install the NodeJS on his computer system. Models and views in AngularJS are much simpler than what found in other JavaScript client-side frameworks. It uses the event driven nature of the JavaScript to support non blocking operations and that makes the platform efficient. It is based on the model-view-controller design pattern and embraces that pattern completely. It is single threaded meaning the web requests and processed and run on the same thread. AngularJS is a Web Framework. NodeJS provides different Web Frameworks like Socket.io, Hapi.js, Meteor.js, Express.js, and Sails.js