dongyakui8675 2015-12-04 22:17
浏览 52
已采纳

创建一个完整的ajax网站[关闭]

When I take a look at popular websites, I see there is just some ajax pages. In other word, I haven't seen a pure-ajax website so fay, Why?

I want to create a full-ajax website. All pages open using ajax, even contact_us or about_us. So, what is wrong with it? Consider google, yahoo, msn, stackoverflow and etc ..., all of them have used both ajax and http requests (reloading page). Again, why?

I think a full-ajax website will be more user-friendly. Well, Is there any reason for creating some pages as re-loadable?

  • 写回答

2条回答 默认 最新

  • dqdjfb2325 2015-12-04 22:23
    关注

    It's somehow user friendly. But you also need to be able to get the same conent when loading the HTTP URL and that's proably the biggest problem with these pages.

    When you're building a fully featured ajax sit with aother pages and so on, you probalby want every page having it's own URL in the address bar. This is also needed for going back in the major browsers. You are required to change the URL everytime you get onto a new site. But the visitor must also be able to access this site when entering this URL (you just chaged with javascript) again into his address bar.

    This is the biggest problem I could think of.

    But you'll also find problems with browser compatibility. For example in IE it's pretty much complicated changing the URL in the address bar due no reload occurs.

    I hope I was able to help you out.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!