我需要 node.js 才能使用 Angularjs 吗? [英] Do I need node.js to use Angularjs?
问题描述
我想在我的网站中使用 angular.js
作为我的图像编辑工具.我还需要 node.js
吗?
I would like to use angular.js
for my Image Editing Tool in my website. Do I need node.js
also?
我不明白这个场景.如果我不需要它,那么我们什么时候同时使用 nodejs 和 angularjs?
I don't understand the scenario. If I don't need it, then when do we use both nodejs and angularjs together?
推荐答案
您不需要 NodeJS 来创建客户端图像编辑工具.
You don't need NodeJS for creating a client side image editing tool.
AngularJS 是一个由 Google 和社区维护的 Web 应用程序框架,可帮助创建单页应用程序,该应用程序由一个 HTML 页面以及客户端的 CSS 和 JavaScript 组成.
AngularJS is a web application framework, maintained by Google and the community, that assists with creating single-page applications, which consist of one HTML page with CSS and JavaScript on the client side.
但是,如果有一天您想将这些图像上传并存储在服务器上,并使多个客户端可以访问它们 - 那么是的,您还需要一个服务器.这个服务器可以用 NodeJS 制作.
But if someday you will want to upload and store those images on a server and make them accessible by multiple clients - then yes you will also need a server. This server could be made with NodeJS.
这篇关于我需要 node.js 才能使用 Angularjs 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!