什么是开始学习AJAX最好的地方(我有Perl作为后端) [英] What would be the best place to start learning AJAX (I have Perl as a backend)

查看:248
本文介绍了什么是开始学习AJAX最好的地方(我有Perl作为后端)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发使用基本CGI转出页的网站。我想在网站更改为有一个更好的(阅读动态)接口。

I am currently developing a website using basic cgi to turn out pages. I would like the website to be changed to have a better (read dynamic) interface.

您会建议让我开始什么技术(如果不是AJAX)和/或教程?

What techniques (if not AJAX) and/or tutorials would you recommend to get me started?

推荐答案

AJAX是最好拿起走近以下内容:

AJAX is best approached by picking up the following:

  1. Javascript语言的
  2. DOM 的理解。
  3. XMLHtt prequest 的了解。
  1. The Javascript language.
  2. An understanding of the DOM.
  3. An understanding of XMLHttpRequest.

一旦你拥有了那些在你的腰带,你可以对API或框架,你想用什么明智的决定。后端并没有多大关系,但我不建议使用 JSON 为您选择的基于XML的协议。 XML解析是充满着矛盾,这将需要code黑客来解决。 JSON是更为直接的。

Once you have those under your belt, you can make an informed decision about what APIs or frameworks you'd like to use. The back-end doesn't matter much, but I do recommend using JSON as your protocol of choice over XML. XML parsing is fraught with inconsistencies that will require code hacks to work around. JSON is much more straightforward.

请参阅我的<一个答案href="http://stackoverflow.com/questions/90078/has-anyone-migrated-from-struts-1-to-another-web-framework#90197">Has从Struts的1人迁移到另一台Web框架?以获取更多信息。

See my answer on "Has anyone migrated from Struts 1 to another web framework?" for more information.

这篇关于什么是开始学习AJAX最好的地方(我有Perl作为后端)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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