建议单页Web应用程序设计? [英] Suggestions for Single-Page Web Application Design?

查看:96
本文介绍了建议单页Web应用程序设计?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的观点是,除非你需要更改用户界面的基本结构,你不应该在所有重新加载页面的任何用户交互。

My view is that unless you need to change the basic structure of the user interface, you should not have to reload the page at all for any user interactions.

我想这个接近我的下一个ASP.NET MVC项目的初衷。任何人都可以提出任何原则,模式或做法*我应该考虑?

I'd like to approach my next ASP.NET MVC project with this in mind. Can anyone suggest any principles, patterns or practices* I should consider?


  • 优秀图书,顺便说一句。仍在试图尽管换我周围的一些概念头。我想这样的问题,将有助于理论链接到一个实用的设计。

修改我应该还提到,我打算使用jQuery处理异步客户端/服务器交互。具体来说,我想对archetectural考虑建议要记住

edit I should also mention that I intend to use jQuery to handle the asynchronous client/server interactions. Specifically, I'd like suggestions on archetectural considerations to keep in mind

感谢

推荐答案

事实上,AJAX,可以1页上所做的一切,这不是真的很难在所有一旦你的基本知识。

Indeed, AJAX, you can do everything on 1 page, it's not really difficult at all once you get the basics.

有一些挑战/缺点,但:

There are some challenges/downsides though:


  • 搜索引擎优化是一个非首发,如果你想在谷歌排名与单个Ajax页面,你已经得到了很多艰苦的工作agead的。

  • Search engine optimisation is a non-starter, if you want to rank on google with a single ajax page, you've got a lot of hard work agead.

浏览器历史记录,broweser历史是用户体验很重要,所以你需要解决它,它并不难,虽然与阿贾克斯的内容来实现。

Browser history, broweser history is important to the user experience, so you will need to tackle it, it's not that hard to implement with ajax content though.

这篇关于建议单页Web应用程序设计?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆