我是否需要AJAX之前学习JavaScript还是AJAX并不需要使用Javascript知识? [英] Do I need to learn Javascript before AJAX or does AJAX not require Javascript knowledge?

查看:162
本文介绍了我是否需要AJAX之前学习JavaScript还是AJAX并不需要使用Javascript知识?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想,如果它是第一个值得学习JavaScript? AJAX是否需要使用Javascript反正还是仅仅是相似性的标记语言?

I was wondering if it is worth learning javascript first? Does AJAX require Javascript in anyway or is it just similarities in the markup language?

推荐答案

首先,学习了JavaScript的基础知识。它是一种编程语言,而不是一个标记语言。你并不需要立即成为一个专家,但学习基础知识和NBSP;—它是什么,基本的结构(功能,控制流语句,变量,对象等),诸如此类的事情。

First, learn the basics of JavaScript. It's a programming language, not a markup language. You don't need to become an expert immediately, but learn the basics — what it is, the basic structures (functions, control flow statements, variables, objects, etc.), that sort of thing.

Ajax是(,任它,如果你不想或者确实)用于检索的网页数据,而无需刷新页面的完整内容的技术。您执行Ajax操作(发送请求,除preting响应)使用JavaScript和一些其他的东西,如 XMLHtt prequest 对象。 Ajax不是JavaScript的一个组成部分。他们只是一起使用的网络环境。

Ajax is a technique for retrieving data in a web page without refreshing the full content of the page (or indeed, any of it if you don't want to). You perform Ajax operations (sending a request, interpreting the response) using JavaScript and some other things, such as the XMLHttpRequest object. Ajax isn't a part of JavaScript. They're just used together in the web environment.

(附注:虽然Ajax的全称是异步JavaScript和XML,中的XML部分是可选的,你可以做的阿贾克斯,而无需使用XML,事实上,很多如果不是大多数人做的AJAX可以发送。和检索各种数据,包括XML,还包括HTML,JSON,纯文本,和许多其他的东西。)

(Side note: Although Ajax stands for "Asynchronous JavaScript and XML", the XML part of that is optional; you can do "Ajax" without using XML and in fact, many if not most people do. Ajax lets you send and retrieve all kinds of data, including XML but also including HTML, JSON, plain text, and lots of other stuff.)

一些参考文献,可能是有用的:

Some references that may be useful:

  • 的JavaScript:
    • Mozilla的JavaScript的网页
    • JavaScript权威指南的大卫·弗拉纳根(是的,一个老式的纸质图书)
    • 于JavaScript Crockford的文章(有点先进,等待,直到你准备好了)。克罗克福德很聪明,知识渊博,但不是每个人都同意他的所有结论。 (我不知道。)但是,这是很好的阅读和理解他的观点,并作出自己的决定。他基本上是正确的,大部分的时间。
    • 我自己贫血的小博客(先从最旧的条目,携手向前)
    • 在ECMAScript规范( PDF |的方便的HTML版本
    • JavaScript:
      • The Mozilla JavaScript pages
      • JavaScript: The Definitive Guide by David Flanagan (yes, an old-fashioned paper book)
      • Crockford's articles on JavaScript (a bit advanced, wait 'till you're ready). Crockford is smart and knowledgeable, but not everyone agrees with all of his conclusions. (I don't.) But it's good to read and understand his points, and make your own decisions. He's mostly right, most of the time.
      • My own anemic little blog (start with the oldest entries and work forward)
      • The ECMAScript specification (PDF | handy HTML version)
      • DOM2 Core
      • DOM2 HTML
      • DOM3 Core
      • HTML5 Web Application APIs

      这篇关于我是否需要AJAX之前学习JavaScript还是AJAX并不需要使用Javascript知识?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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