ajax beginner guidea

494 127 0
ajax beginner guidea

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... well, using Ajax There are thousands of other Ajax applications For example, take a look at Netflix’s top 100 video list, at www.netflix.com/Top100, as shown in Figure 1-12 The information you see in the pop-up about the movie was downloaded using Ajax Chapter 1: Figure 1-11 Downloading images with Ajax Figure 1-12 The Netflix top 100 Essential Ajax 13 14 Ajax: A Beginner s Guide Figure 1-13 Ajax chess... addition to XML): Welcome to Ajax! This text will be fetched from the server using Ajax, and displayed in the ajax. html page All that happens when you click the button in ajax. html, as you can see in Figure 2-2 Figure 2-1 Ajax. html Chapter 2: Figure 2-2 Try This Getting to Know JavaScript Ajax. html fetching data from the server Test ajax. html This is your first true example of an Ajax script written from... good overview of what Ajax has to offer xvii This page intentionally left blank Chapter 1 Essential Ajax 1 Copyright © 2009 by The McGraw-Hill Companies Click here for terms of use 2 Ajax: A Beginner s Guide Key Skills & Concepts ● Introducing Ajax ● Live searches ● Auto-complete ● Drag and drop ● Ajax chat programs O pen your web browser, go to Google, www.google.com, type Ajax in the search text... parts together into the single term Ajax Since then, Ajax has exploded You can’t be a web developer unless you know how to work with Ajax Fortunately, Ajax is not hard to get to know, as you’re going to see in this book Let’s continue our guided tour of what Ajax has to offer us Knowing what Ajax is capable of is very important when you set out to write your own Ajax- enabled applications We’ll start... acronym Ajapt, which doesn’t sound nearly as good as Ajax) 9 10 Ajax: A Beginner s Guide Figure 1-8 The Rico Ajax demo Chatting in Real Time with Ajax There are many, many Internet applications that would benefit by appearing as a desktop application, and some of those are chat applications that let you type interactively with other users on the Internet Ajax chat sessions operate by downloading what others... great if you could download images behind the scenes? As it turns out, you can 11 12 Ajax: A Beginner s Guide Figure 1-10 Dragging and dropping Ajax Downloading Images with Ajax (and Dynamic HTML) Behind the scenes, Ajax communicates with the server using text (that includes XML, which is also text) So on the face of it, Ajax doesn’t seem suited to downloading binary data, like images However, with a little... addition, we’ll look at how to support Ajax on web servers You can download static data files using Ajax, but that’s not very exciting Ajax usually involves some programming on the server, and the scripting language PHP is the language most commonly used on the server with Ajax, so you’ll be introduced to PHP You can send commands and data to the server using Ajax and, with PHP on the server, customize... introduction to Ajax everything you need to know is here We’ll start with an overview of what Ajax can do, and how it’s being used today Then, you’ll get an introduction to JavaScript, which is the foundation of Ajax on the browser side of the equation (later on, you’ll see the web server side) After you have JavaScript under your belt, we’ll dig into Ajax itself, showing you how to create Ajax- enabled... spreadsheet program is In this chapter, you’re going to get familiar with what Ajax is about and what it has to offer There are thousands of Ajax- enabled web applications out there, and you’re going to get a good sample of them in this chapter We’ll start this survey by determining just what Ajax is—and what it stands for What Is Ajax? Ajax, which stands for Asynchronous JavaScript and XML, is a set of techniques... problems, such as how to keep two Ajax requests to the server from getting confused with each other xv Copyright © 2009 by The McGraw-Hill Companies Click here for terms of use xvi Ajax: A Beginner s Guide There is even an easy way to create Ajax applications, in case you’re utterly adverse to programming, and that’s to use a package of prewritten code, called an Ajax framework, to do the programming . JavaScript Ajax Framework . . . . . . . . . . . . . . . . . . . 176 Using the AJAXLib JavaScript Ajax Framework . . . . . . . . . . . . . . . . . . . . . . 179 6 Handling XML in Ajax . . . computer. Ajax enables you create that browsing experience. This book gives you a complete introduction to Ajax everything you need to know is here. We’ll start with an overview of what Ajax can. of Ajax on the browser side of the equation (later on, you’ll see the web server side). After you have JavaScript under your belt, we’ll dig into Ajax itself, showing you how to create Ajax- enabled

Ngày đăng: 27/10/2014, 00:23

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan