创建单页应用程序的最佳实践是什么?

发布于 2024-12-26 22:00:13 字数 67 浏览 3 评论 0原文

一般来说,在创建单页应用程序(完全依赖 ajax)时,不要忘记或考虑的最重要的事情是什么?或者MVC有什么具体的考虑吗?

What are the most important things not to forget or consider when creating a single page app(completely ajax depended) in general? Or any specific consideration on MVC?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

月下伊人醉 2025-01-02 22:00:13

对于复杂的项目,请考虑 js 库 - Backbone http://documentcloud.github.com/backbone/

For complex projects consider js library - Backbone http://documentcloud.github.com/backbone/

朕就是辣么酷 2025-01-02 22:00:13

为此,我们使用 ExtJs

ExtJs 通过 JSON 从 MVC 控制器获取所有必需的数据。

We are using ExtJs for that.

ExtJs get all required data from MVC Controllers via JSON.

聆听风音 2025-01-02 22:00:13

Steven Sanderson 在单页应用程序上有一系列很好的博客文章:

我还会推荐他的Knockout 框架。

Steven Sanderson has a good series of blog posts on single page apps:

I would also recommend his Knockout framework.

似狗非友 2025-01-02 22:00:13

DURANDAL Startkit 是一个很好的开始方式。它具有 MVVM 模式,我们可以将它与 Visual Studio 一起使用。

此外,Stephen Walther 发表了一篇关于安全问题的好文章。 http://stephenwalther.com/archive/2013 /03/05/单页应用程序的安全问题

DURANDAL Startkit is a good way to start. Its has MVVM pattern and we can use it with Visual Studio.

Also, Stephen Walther make a good post about security issues. http://stephenwalther.com/archive/2013/03/05/security-issues-with-single-page-apps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文