sams teach yourself ajax in 10 minutes (2006)

241 1.9K 1
sams teach yourself ajax in 10 minutes (2006)

Đ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

[...]... those familiar with the mainstream web design technologies and does not require users to have any browser plugins or other special software About This Book Part of the Sams Publishing Teach Yourself in 10 Minutes series, this book aims to teach the basics of building Ajax applications for the Internet Divided into bite-sized lessons, each designed to take no more than about 10 minutes to complete, this... tutorials/refreshers in HTML, JavaScript, PHP, and XML • An understanding of the architecture of Ajax applications • Example Ajax coding projects After completing all the lessons you’ll be equipped to write and understand basic Ajax applications, including all necessary client- and serverside programming What Is Ajax? Ajax stands for Asynchronous Javascript And XML Although strictly speaking Ajax itself is... mixes well-known programming techniques in an uncommon way to enable web developers to build 2 Sams Teach Yourself AJAX in Ten Minutes Internet applications with much more appealing user interfaces than those to which we have become accustomed When using popular desktop applications, we expect the results of our work to be made available immediately, without fuss, and without us having to wait for the whole... Notes, and Cautions 3 4 Sams Teach Yourself AJAX in Ten Minutes Tip Tips offer useful shortcuts or easier ways to achieve something Note Notes are snippets of extra information relevant to the current theme of the text Caution Cautions detail traps that may catch the unwary and advise how to avoid them Online Resources and Errata Visit the Sams Publishing website at www.samspublishing.com where you can... which indicate cells in the table’s header; and and , which contain individual cells of table data Look ahead to Figure 2.3 to see an example of how a table looks when displayed in a browser window Writing Web Pages in HTML Hyperlinks Hypertext links (hyperlinks) are fundamental to the operation of HTML By clicking on a hyperlink, you can navigate to a new location, be that to another point... or to some point on a different page on another website entirely Links are contained within an , or anchor tag, a container tag that encloses the content that will become the link The destination of the link is passed to this tag as a parameter href: Here is my hyperlink Clicking on the words my hyperlink in the above example results in the browser requesting the page... Ajax within this book Instead we’ll review the fundamental principles and give some code examples to illustrate them, paying particular attention to the subjects that will become relevant when we start to develop Ajax applications Tip If you want to explore HTML in greater detail, Sams Publishing offers a number of titles that will help you, including Sams Teach Yourself HTML 4 in 24 Hours by Dick Oliver... contains text to be interpreted and displayed to the user via the browser window The of the Document From Listing 2.1 we can see that the head section of our simple HTML document contains only one line—the words A Simple HTML Document enclosed in and tags Writing Web Pages in HTML Remember that the head section contains information that is not to be displayed in the browser window... server, Ajax handles server communications in the background, submitting server requests and processing the returned data The results may then be integrated seamlessly into the page being viewed, without that page needing to be refreshed or a new one loaded In Ajax applications, such server requests are not necessarily synchronized with user actions such as clicking on buttons or links A well-written Ajax. .. available for serverside programming, including PHP, Java, and ASP (the latter being available only on servers running the Microsoft Windows operating system) Sophisticated server setups often also include databases of information that can be addressed by server-side scripts Anatomy of a Website Note Server-side programming in this book is carried out using the popular PHP scripting language, which is flexible, . alt="" Ajax in 10 Minutes Phil Ballard 800 East 96th Street, Indianapolis, Indiana, 46240 USA Teach Your self Sams Teach Yourself Ajax in 10 Minutes Copyright  2006 by Sams Publishing All. Sheets in Two Minutes 25 Summary 26 3 Sending Requests Using HTTP 27 Introducing HTTP 27 The HTTP Request and Response 28 HTML Forms 31 Summary 35 iv Sams Teach Yourself Ajax in Ten Minutes 4. Cautions. 4 Sams Teach Yourself AJAX in Ten Minutes Online Resources and Errata Visit the Sams Publishing website at www.samspublishing.com where you can download the example code and obtain further information

Ngày đăng: 27/03/2014, 13:38

Từ khóa liên quan

Mục lục

  • Contents

  • Introduction

    • About This Book

    • What Is Ajax?

    • Who This Book Is For

    • What Do I Need To Use This Book?

    • Conventions Used in This Book

    • Online Resources and Errata

    • PART I: A Refresher on Web Technologies

      • 1 Anatomy of a Website

        • A Short History of the Web

        • Workings of the World Wide Web

        • Summary

        • 2 Writing Web Pages in HTML

          • Introducing HTML

          • Elements of an HTML Page

          • A More Advanced HTML Page

          • Some Useful HTML Tags

          • Cascading Style Sheets in Two Minutes

          • Summary

          • 3 Sending Requests Using HTTP

            • Introducing HTTP

            • The HTTP Request and Response

            • HTML Forms

            • Summary

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

Tài liệu liên quan