gpt4 book ai didi

javascript - 单页应用程序(网站)的工具框架

转载 作者:行者123 更新时间:2023-11-30 09:02:42 24 4
gpt4 key购买 nike

美好的一天!

这里有很多类似的问题,但我对构建单页 Web 应用程序的这些方面特别感兴趣:

  • 哪些服务器组件非常适合大量 AJAX 请求(可能是 Node.js)?我的服务器平台是 *nix (Debian) 和 PHP。

  • 我何时以及如何需要用 COMET 替换 AJAX,我可以使用相同的服务器端吗?

  • 哪些 javascript 框架可以帮助我组织客户端(我指的是 MVC、MVVM、客户端模板)?

非常感谢关于整体方法和架构模式的任何优点。

谢谢!

最佳答案

从各种博客来看,Angular JS 似乎可以满足大部分 SPA 需求

Angular and Durandal Converge

罗伯·艾森伯格说:

I would join the AngularJS 2.0 Core Team and help to design and implement AngularJS 2.0, bringing all my experience with Caliburn.Micro and Durandal into the mix.


来自 Compare Durandal to Angular, Not Knockout to Angular

Knockout is a data binding library. It’s not a SPA framework.

Drundal Vs Angular: They solve the same problems (in different ways of course). They both have routing, animations, view orchestration, dependency management, as well as data binding.

Durandal is a natural progression from Knockout because Durandal uses Knockout. Durandal uses Knockout for data binding because its solid, very widespread, and reliable. Angular rolled their own data binding.

另请参阅:

  1. > Create an Angular App in Seconds with Hot Towel
  2. > http://forums.asp.net/t/1896043.aspx?What+to+choose+e+g+Hot+Towel+or+Angular+JS+
  3. > How to master AngularJS?

关于javascript - 单页应用程序(网站)的工具框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8070338/

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