gpt4 book ai didi

angularjs - Angular js 是前端还是后端?

转载 作者:行者123 更新时间:2023-12-03 22:53:57 25 4
gpt4 key购买 nike

我只是想知道 Angular js 是前端语言还是后端语言。因为有时有时表现得像后端..我们应该使用 angular 作为前端,使用 php 作为后端而不是节点 js 吗???

最佳答案

Angularjs 是一个由 JavaScript 提供支持的前端框架。
甚至你在你的介绍中也说过。
从文档中,
为什么是 AngularJS?

HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Other frameworks deal with HTML’s shortcomings by either abstracting away HTML, CSS, and/or JavaScript or by providing an imperative way for manipulating the DOM. Neither of these address the root problem that HTML was not designed for dynamic views.

AngularJS is a toolset for building the framework most suited to your application development. It is fully extensible and works well with other libraries. Every feature can be modified or replaced to suit your unique development workflow and feature need.

关于angularjs - Angular js 是前端还是后端?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43979691/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com