
JavaScript Design
William B. Sanders(Author)
New Riders (Publisher)
Published on 21. December 2001
Book
Paperback/Softback
480 pages
978-0-7357-1167-9 (ISBN)
Description
JavaScript Design shows designers how to create interactive JavaScript applications for the web. It provides detailed descriptions of JavaScript structures, statements and objects, using JavaScript to create different elements of a web page,controlling a page's overall design and function with JavaScript, passing data and variables between clients and servers. Also covered are advanced topics server-side languages: PHP, Perl, ASP, CGI, XML, connections to Java and Cold Fusion. The line between developers and designers is fading. Designers are challenged with projects that require them to have a strong knowledge of the server side issues traditionally fielded by a web developer. Designers are looking for books that teach them the web developer knowledge in a language in which they are accustomed.
More details
Language
English
Place of publication
United States
Publishing group
Pearson Education (US)
Target group
College/higher education
Dimensions
Height: 230 mm
Width: 187 mm
Thickness: 26 mm
Weight
1093 gr
ISBN-13
978-0-7357-1167-9 (9780735711679)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Person
Dr. William B. Sanders is a professor in the Interactive Information Technology program at the University of Hartford. The program is designed to develop students who will work in collaborative environments using the Internet and the World Wide Web and develop digital communicative technologies. Bill has written more than 35 computer-related books, with the goal of translating technology to a wide interest base. To mangle a phrase from Will Rogers, he never met a computer or computer language that he didn't like.
Like the revolution spawned by personal computers, the Internet and the World Wide Web have spawned another. The new languages and applications required to master and effectively use Internet technologies have been a focal interest of Bill's since the web's inception. He has been focused on languages such as JavaScript, PHP, ASP, XML, ActionScript, MySQL, and a host of other web-based programs and applications. However, instead of looking at the new technologies solely as a cool way to make things happen on the web, Bill has been involved with different aspects of e-business and e-commerce, bridging the digital divide in communities and generally looking at ways in which the Internet and the web serve as a lively linkage between people and their aspirations.
As a source of information and understanding, the web is unparalleled, but it is also an arena to explore new art forms and ways of human expression. Bill has sought out design concepts from Edward Tufte's work on information, Hillman Curtis's work on motion design, and David Siegel's work on third-generation web sites. For Bill, each new development in creativity, technology, and communication is an opportunity to see the world in a new light and expand horizons.
His hobbies include travel, Greater Swiss Mountain Dogs, and life with his wife, Delia.
Like the revolution spawned by personal computers, the Internet and the World Wide Web have spawned another. The new languages and applications required to master and effectively use Internet technologies have been a focal interest of Bill's since the web's inception. He has been focused on languages such as JavaScript, PHP, ASP, XML, ActionScript, MySQL, and a host of other web-based programs and applications. However, instead of looking at the new technologies solely as a cool way to make things happen on the web, Bill has been involved with different aspects of e-business and e-commerce, bridging the digital divide in communities and generally looking at ways in which the Internet and the web serve as a lively linkage between people and their aspirations.
As a source of information and understanding, the web is unparalleled, but it is also an arena to explore new art forms and ways of human expression. Bill has sought out design concepts from Edward Tufte's work on information, Hillman Curtis's work on motion design, and David Siegel's work on third-generation web sites. For Bill, each new development in creativity, technology, and communication is an opportunity to see the world in a new light and expand horizons.
His hobbies include travel, Greater Swiss Mountain Dogs, and life with his wife, Delia.
Content
I. BASIC JAVASCRIPT.
1. Jump-Starting JavaScript.
JavaScript Lives in a Web Page. Putting JavaScript into Your HTML Pages. What You Can Do with JavaScript That You Can't Do with HTML. An Interpreted Language. A Tale of Two Interpreters. Generated JavaScript.
2. An Orientation to JavaScript.
Writing JavaScript. Naming Rules and Conventions. A Weakly Typed Language Means That JavaScript Is Smart.
3. Dealing with Data and Variables.
Literals. Variables. Primitive and Compound Data. Arrays.
4. Using Operators and Expressions.
General and Bitwise Operators. General Operators in JavaScript. Operators. Precedence.
5. JavaScript Structures.
Statements in Sequential Structures. Conditional Structures. Loops. The with Statement. The label and continue Statements and Nested Loops.
6. Building and Calling Functions.
Methods and Functions. Creating Functions. Firing Functions with Event Handlers. The return Statement. Using Functions as Data. Properties in Functions. Methods in Functions.
7. Objects and Object Hierarchies.
Hierarchy of Objects in JavaScript. User-Defined Objects. Built-in Objects and Their Properties. Key Built-in Object Methods.
II. USING JAVASCRIPT WITH WEB PAGES.
8. JavaScript Object-Oriented Programming and the Document Object Model.
Object-Oriented Programming in JavaScript. The Prototype Concept. The Document Object Model.
9. Frames and Addressing Frames in Windows.
The Window as a Complex Object. Scripts That Write Scripts.
10. Event Handlers.
The location, anchor, and history Objects. Events and Event Handlers in HTML and JavaScript.
11. Making Forms Perform.
The Many Types of Forms Elements in HTML. All Text Entries Are Strings. Passing Data Between Forms and Variables. Forms as Arrays. Types of Forms. Buttons and Their Events.
12. Dynamic HTML.
What Is Dynamic HTML? Cascading Style Sheets. Borders. External CSS Style Sheets. The Role of JavaScript in Dynamic HTML.
13. Remember with Cookies.
What Are Cookies and How Are They Used? Adding More Attributes. Getting Information and Giving It Back. Summary.
III. JAVASCRIPT AND OTHER APPLICATIONS AND LANGUAGES.
14. Using PHP with JavaScript.
The PHP4 Scripting Language. Passing Data from JavaScript to PHP. Controlling Multiple PHP Pages with JavaScript. JavaScript Form Preprocessing for PHP. JavaScript, PHP, and MySQL.
15. Using ASP with JavaScript.
Creating ASP Pages. Variables in VBScript. Operators and Conditional Statements. Loop Structures. Arrays. Passing Data from JavaScript to ASP. Controlling Multiple ASP Pages with JavaScript. Microsoft Access, ASP, and JavaScript. Setting Up the Access 2000 File. Placing the Access 2000 File on the Server and Preparing the DSN. Making the Connection Between Your ASP Page and Database File. Reading an Access 2000 Database with ASP. Reading and Displaying Multiple Fields. Inserting Records into Access from HTML.
16. CGI and Perl.
Scripting with Perl. A Brief Perl Tutorial. Perl Operators. Perl Statements. File Handling in Perl. Passing Data to CGI from HTML.
17. Working with XML and JavaScript.
The XML Mystique. What Is XML? Reading and Showing XML Data with JavaScript.
18. Flash ActionScript and JavaScript.
ActionScript and JavaScript. Firing a JavaScript Function from Flash. Passing Variables from Flash 5 to JavaScript.
19. JavaScript and Other Languages.
JavaScript and Java Applets. A Little Java. JavaScript and ColdFusion. JavaScript and ASP.NET.
Example Glossary.
Index.
1. Jump-Starting JavaScript.
JavaScript Lives in a Web Page. Putting JavaScript into Your HTML Pages. What You Can Do with JavaScript That You Can't Do with HTML. An Interpreted Language. A Tale of Two Interpreters. Generated JavaScript.
2. An Orientation to JavaScript.
Writing JavaScript. Naming Rules and Conventions. A Weakly Typed Language Means That JavaScript Is Smart.
3. Dealing with Data and Variables.
Literals. Variables. Primitive and Compound Data. Arrays.
4. Using Operators and Expressions.
General and Bitwise Operators. General Operators in JavaScript. Operators. Precedence.
5. JavaScript Structures.
Statements in Sequential Structures. Conditional Structures. Loops. The with Statement. The label and continue Statements and Nested Loops.
6. Building and Calling Functions.
Methods and Functions. Creating Functions. Firing Functions with Event Handlers. The return Statement. Using Functions as Data. Properties in Functions. Methods in Functions.
7. Objects and Object Hierarchies.
Hierarchy of Objects in JavaScript. User-Defined Objects. Built-in Objects and Their Properties. Key Built-in Object Methods.
II. USING JAVASCRIPT WITH WEB PAGES.
8. JavaScript Object-Oriented Programming and the Document Object Model.
Object-Oriented Programming in JavaScript. The Prototype Concept. The Document Object Model.
9. Frames and Addressing Frames in Windows.
The Window as a Complex Object. Scripts That Write Scripts.
10. Event Handlers.
The location, anchor, and history Objects. Events and Event Handlers in HTML and JavaScript.
11. Making Forms Perform.
The Many Types of Forms Elements in HTML. All Text Entries Are Strings. Passing Data Between Forms and Variables. Forms as Arrays. Types of Forms. Buttons and Their Events.
12. Dynamic HTML.
What Is Dynamic HTML? Cascading Style Sheets. Borders. External CSS Style Sheets. The Role of JavaScript in Dynamic HTML.
13. Remember with Cookies.
What Are Cookies and How Are They Used? Adding More Attributes. Getting Information and Giving It Back. Summary.
III. JAVASCRIPT AND OTHER APPLICATIONS AND LANGUAGES.
14. Using PHP with JavaScript.
The PHP4 Scripting Language. Passing Data from JavaScript to PHP. Controlling Multiple PHP Pages with JavaScript. JavaScript Form Preprocessing for PHP. JavaScript, PHP, and MySQL.
15. Using ASP with JavaScript.
Creating ASP Pages. Variables in VBScript. Operators and Conditional Statements. Loop Structures. Arrays. Passing Data from JavaScript to ASP. Controlling Multiple ASP Pages with JavaScript. Microsoft Access, ASP, and JavaScript. Setting Up the Access 2000 File. Placing the Access 2000 File on the Server and Preparing the DSN. Making the Connection Between Your ASP Page and Database File. Reading an Access 2000 Database with ASP. Reading and Displaying Multiple Fields. Inserting Records into Access from HTML.
16. CGI and Perl.
Scripting with Perl. A Brief Perl Tutorial. Perl Operators. Perl Statements. File Handling in Perl. Passing Data to CGI from HTML.
17. Working with XML and JavaScript.
The XML Mystique. What Is XML? Reading and Showing XML Data with JavaScript.
18. Flash ActionScript and JavaScript.
ActionScript and JavaScript. Firing a JavaScript Function from Flash. Passing Variables from Flash 5 to JavaScript.
19. JavaScript and Other Languages.
JavaScript and Java Applets. A Little Java. JavaScript and ColdFusion. JavaScript and ASP.NET.
Example Glossary.
Index.