Advanced JavaScript Second Edition doc

733 473 2
Advanced JavaScript Second Edition doc

Đ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

[...]... both fully support JavaScript JavaScript in a Browser Client-side JavaScript Client-side JavaScript is the most common form of the language The script should be included in or referenced by an HTML document for the code to be interpreted by the browser Suppose you load a web page with a JavaScript- generated banner The browser begins interpreting the HTML code and then encounters a JavaScript script... course in basic JavaScript to help readers with no prior knowledge of JavaScript as well as those who require a brief refresher This chapter covers all the fundamental elements of JavaScript and will prepare the reader to continue on with the material in this book How to Read This Book As the title suggests, this book is geared towards advanced JavaScript programming and has the experienced JavaScript programmer... one -second- long requests per second Each of these ten requests is a CGI script executing on the server Helpers, Plug-ins, Applets, and CGI Web page authoring consists of several layers The more powerful the layer, the more complex it is to program The fundamental layer is HTML As we explained earlier, JavaScript extends HTML to a dynamic user/page interaction Helpers, plug-ins, and applets extend JavaScript s... of this book and is very difficult to learn without detailed documentation n 5 What is JavaScript? JavaScript is an easy-to-use object scripting language designed for creating live online applications that link together objects and resources on both clients and servers While Java is used by programmers to create new objects and applets, JavaScript is designed for use by HTML page authors and enterprise... the server JavaScript s design and concepts represent the next generation of software for the Internet JavaScript is: n Designed for creating network-centric applications n Complementary to and integrated with Java n Complementary to and integrated with HTML n Open and cross-platform With JavaScript, an HTML page might contain a form that processes data on the client side A server-side JavaScript might... HTML on the fly A page might contain JavaScript scripts that run on both the client and the server Who Can Benefit from JavaScript? Generally speaking, web surfers benefit most from JavaScript, because they have the opportunity to enjoy the language’s capabilities in the form of games, animation, interaction, and so forth Netscape Communications benefited from JavaScript early on, because it gave them... Netscape Navigator fully support JavaScript Many other companies believe that they will benefit from JavaScript and its descendants The words of Rose Ann Giordano, vice president of the Internet Business Group at Digital Equipment Corp., demonstrate it: “Tools like JavaScript will unleash a new wave of creativity and transform the Internet in ways no one can predict JavaScript and other developments... also mentioned how JavaScript matches his company’s plans in a press release: JavaScript is an exciting technology because it represents the next generation of software designed specifically for the Internet Hewlett-Packard is committed to open standards and is a supporter of JavaScript because it complements Hewlett-Packard’s open systems architecture.” 1 Chapter Introduction to JavaScript 6 n Chapter... December 1995, Sun Microsystems took over LiveScript development and changed its name to JavaScript On the one hand, JavaScript is related to Java in its C++ object flavor On the other hand, JavaScript s vernacular is much reduced compared to Java, in order to make it suitable for less experienced programmers and scripters JavaScript s first and foremost advantage is in its ease of learning Additionally,... Passing Values Between Java and JavaScript Getting a Handle for the Browser Window Accessing JavaScript Objects and Properties Calling JavaScript Methods Other Methods in the JSObject Class JavaScript Exception JavaScript to Java Communication Accessing Java Directly Controlling Java Applets . Interface) 4 What is JavaScript? 5 Who Can Benefit from JavaScript? 5 The History of JavaScript 6 JavaScript in a Browser 6 Client-side JavaScript 6 Browser.

Ngày đăng: 06/03/2014, 00:21

Từ khóa liên quan

Mục lục

  • Advanced JavaScript

  • Contents

  • Acknowledgments

  • Introduction

  • Chapter 1 Introduction to JavaScript

  • Chapter 2 HTML Primer

  • Chapter 3 Writing Your First JavaScript

  • Chapter 4 JavaScript Fundamentals

  • Chapter 5 Object-Oriented Programming

  • Chapter 6 Functions and Variable Scope

  • Chapter 7 Utilizing JavaScript Operators

  • Chapter 8 JavaScript by Example¡ª A Review

  • Chapter 9 Events in JavaScript

  • Chapter 10 Building and Extending Objects

  • Chapter 11 Arrays

  • Chapter 12 Time and Date in JavaScript

  • Chapter 13 JavaScript Math

  • Chapter 14 Handling Strings

  • Chapter 15 Browser Objects

  • Chapter 16 Utilizing the Status Bar

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

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

Tài liệu liên quan