Web Development with JavaScript and Ajax Illuminated

Book description


Web Development with JavaScript and AJAX teaches your students the cutting-edge techniques for web development for Web 2.0 and 3.0. Ideal for the undergraduate student delving into the world of web development, this text illustrates how to create dynamic, interactive web applications with ease. Interesting real-world case studies are integrated throughout the text, offering students a glimpse of actual web development scenarios. AJAX is quickly becoming the number one tool in the Web industry. Make sure your students are up to speed using Web Development with JavaScript and AJAX.
Instructor's materials, including PowerPoint lecture slides, test items, and PowerPoint figures and tables, are available. Contact your sales representative for more information.
Key topics include: Introduction to Web 2.0 and Web 3.0, HTML, XHTML, and JavaScript, AJAX Basics, Server Side Technology, AJAX with database, and much more!

Table of contents

  1. Cover Page
  2. Title Page
  3. Copyright
  4. Contents
  5. Preface
  6. Chapter 1 - Ajax Defined
    1. 1.1 - History Lesson
    2. 1.2 - Basic Web Architecture
      1. 1.2.1 - Uniform Resource Identifier (URI)/Uniform Resource Locator (URL)
      2. 1.2.2 - Hypertext Transfer Protocrol (HTTP)
    3. 1.3 - Evolution of the Web
    4. 1.4 - The Age of Ajax
    5. 1.5 - Summary
    6. 1.6 - Self-Review Questions
    7. 1.7 - Exercises
    8. 1.8 - References
  7. Chapter 2 - Web Pages Using Web Standards
    1. 2.1 - Overview
    2. 2.2 - HTML Basics
      1. 2.2.1 - Tags, Elements, and Attributes
      2. 2.2.2 - Basic Structure of an HTML File
      3. 2.2.3 - Basic HTML Elements
    3. 2.3 - Cascading Style Sheets (CSS)
      1. 2.3.1 - Style Rule Format
      2. 2.3.2 - Formatting Text
      3. 2.3.3 - Formatting a Subset of Element Instances
      4. 2.3.4 - Formatting Part of Text or a Document with span and div
    4. 2.4 - HTML Forms and HTTP Basics
      1. 2.4.1 - HTTP Basics
      2. 2.4.2 - HTML Forms
      3. 2.4.3 - HTTP GET vs. HTTP Post
    5. 2.5 - Summary
    6. 2.6 - Self-Review Questions
    7. 2.7 - Exercises
    8. 2.8 - Programming Exercises
    9. 2.9 - References
  8. Chapter 3 - XML—the x in Ajax
    1. 3.1 - Overview
    2. 3.2 - XML Documents
      1. 3.2.1 - XML Declaration
      2. 3.2.2 - Unicode Encoding
      3. 3.2.3 - Tags, Elements, and Attributes
      4. 3.2.4 - Using Special Characters
      5. 3.2.5 - Well-Formed XML Documents
    3. 3.3 - Document Type Definition (DTD)
      1. 3.3.1 - Declaring Elements
      2. 3.3.2 - Declaring Attributes
      3. 3.3.3 - Declaring Entity Names
      4. 3.3.4 - Associating DTD Declarations with XML Documents
    4. 3.4 - XML Schema
      1. 3.4.1 - XML Namespace
      2. 3.4.2 - Declaring Simple Elements and Attributes
      3. 3.4.3 - Declaring Complex Elements
      4. 3.4.4 - Controlling Element Order and Repetition
      5. 3.4.5 - Referencing XML Schema Specification in an XML Document
    5. 3.5 - XML Parsing and Validation with Sax and DOM
    6. 3.6 - XML Transformation with XSLT
      1. 3.6.1 - Identifying XML Nodes with XPath
      2. 3.6.2 - Transforming XML Documents into XHTML Documents
    7. 3.7 - Summary
    8. 3.8 - Self-Review Questions
    9. 3.9 - Exercises
    10. 3.10 - Programming Exercises
    11. 3.11 - References
  9. Chapter 4 - JavaScript and the Document Object Model
    1. 4.1 - JavaScript—the J in Ajax
      1. 4.1.1 - Comments
      2. 4.1.2 - Identifiers
      3. 4.1.3 - Datatypes and Values
      4. 4.1.4 - Built-In Objects and Host Objects
      5. 4.1.5 - Variables
      6. 4.1.6 - Statements
      7. 4.1.7 - Operators
      8. 4.1.8 - Functions
      9. 4.1.9 - Arrays
      10. 4.1.10 - Regular Expressions
      11. 4.1.11 - Error Handling and Error Objects
      12. 4.1.12 - Constructor Functions and Simulated Classes
    2. 4.2 - Embedding JavaScript in HTML
    3. 4.3 - The Browser Object Model (BOM)
      1. 4.3.1 - The window Object
      2. 4.3.2 - The navigator Object
      3. 4.3.3 - The screen Object
      4. 4.3.4 - The history Object
      5. 4.3.5 - The location Object
      6. 4.3.6 - The frames[] Array
    4. 4.4 - The Document Object Model (DOM)
      1. 4.4.1 - Traversing and Manipulating the DOM
      2. 4.4.2 - Manipulating Styles
      3. 4.4.3 - Handling Events
    5. 4.5 - Summary
    6. 4.6 - Self-Review Questions
    7. 4.7 - Exercises
    8. 4.8 - Programming Exercises
    9. 4.9 - References
  10. Chapter 5 - Web Remoting Techniques—the a in Ajax
    1. 5.1 - Web Remoting
    2. 5.2 - XMLHttpRequest
      1. 5.2.1 - Creating an XMLHttpRequest Object
      2. 5.2.2 - Sending an HTTP Request
      3. 5.2.3 - Processing the Response
      4. 5.2.4 - Timing Out a Request
    3. 5.3 - Hidden IFrame
    4. 5.4 - HTTP Streaming
    5. 5.5 - Web Remoting Pitfalls
    6. 5.6 - Complete Example
    7. 5.7 - Summary
    8. 5.8 - Self-Review Questions
    9. 5.9 - Exercises
    10. 5.10 - Programming Exercises
    11. 5.11 - References
  11. Chapter 6 - Dojo Toolkit
    1. 6.1 - Dojo Toolkit
      1. 6.1.1 - Overview
      2. 6.1.2 - Ajax XMLHttpRequest with Dojo
    2. 6.2 - Dojo xhrGet Request with JSON Data
    3. 6.3 - Examples and Lab Practice
    4. 6.4 - Summary
    5. 6.5 - Self-Review Questions
    6. 6.6 - Programming Exercises
    7. 6.7 - References
  12. Chapter 7 - Ajax Challenges and Best Practices
    1. 7.1 - Overview
    2. 7.2 - Diagnosis of Ajax Web Applications
      1. 7.2.1 - Diagnosis of HTML
      2. 7.2.2 - Diagnosis of JavaScript
      3. 7.2.3 - The Challenge of Asynchronous Call in Debugging
      4. 7.2.4 - Profiling
    3. 7.3 - Testing Ajax Web Applications
      1. 7.3.1 - Unit Testing
      2. 7.3.2 - Integration Testing
      3. 7.3.3 - System Testing
    4. 7.4 - Ajax Security
      1. 7.4.1 - SQL Injection Attack
      2. 7.4.2 - Cross-site Scripting and Cross-site Remote Forgery Attacks
      3. 7.4.3 - Summary of Ajax Security
    5. 7.5 - Summary
    6. 7.6 - Self-Review Questions
    7. 7.7 - Exercises
    8. 7.8 - Design Exercises
    9. 7.9 - References
  13. Chapter 8 - Ajax Case Study
    1. 8.1 - Introduction
    2. 8.2 - Case Study: BigPeachYardSaleExpress
    3. 8.3 - High-Level Design
      1. 8.3.1 - GUI Design
      2. 8.3.2 - Database Design
    4. 8.4 - Milestone 1: Create a Web Project and Database with NetBeans
    5. 8.5 - Milestone 2: Portal Page and Cascading Style Sheet
      1. 8.5.1 - Page Navigation
      2. 8.5.2 - Layout of Header Fragment by Using HTML Table
      3. 8.5.3 - Refine Layout and CSS of the Portal Page
    6. 8.6 - Milestone 3: Seller Page and JavaServer Faces (JSF)
    7. 8.7 - Milestone 4: Upload Images and Java Servlet
    8. 8.8 - Milestone 5: Dynamic Ad Banner and Ajax
    9. 8.9 - Milestone 6: Buyer Page and Dojo Framework
    10. 8.10 - Milestone 7: Map IDE and Google Maps
    11. 8.11 - Milestone 8: Itinerary Planner and Drag and Drop
    12. 8.12 - Conclusion
    13. 8.13 - Self-Review Questions
    14. 8.14 - Exercises
    15. 8.15 - Design Exercises
  14. Chapter 9 - The Future of Web Applications
    1. 9.1 - Overview
    2. 9.2 - XForms
      1. 9.2.1 - XForms Example
    3. 9.3 - Semantic Web
      1. 9.3.1 - Overview
      2. 9.3.2 - Structure of Semantic Web
      3. 9.3.3 - RDF
      4. 9.3.4 - RDF Schema (RDFS) and Application Classes
      5. 9.3.5 - Ontology and Web Ontology Language (OWL)
      6. 9.3.6 - Query Semantic Web with SPARQL Query Language
    4. 9.4 - References
  15. Chapter 10 - Appendix
    1. 10.1 - Overview
    2. 10.2 - Firebug
    3. 10.3 - Apache
      1. 10.3.1 - Overview of Apache Web Server
      2. 10.3.2 - Apache Server Installation and Startup
    4. 10.4 - PHP
      1. 10.4.1 - Overview
      2. 10.4.2 - Practice Lab for PHP Web Application on Apache
      3. 10.4.3 - PHP and Ajax with XAMPP
      4. 10.4.4 - PHP and Ajax with WAMP
    5. 10.5 - NetBeans and Tomcat
      1. 10.5.1 - Overview of NetBeans
      2. 10.5.2 - Practice Lab: Using JSP on Embedded Tomcat in NetBeans
      3. 10.5.3 - Ajax with JSP Developed in NetBeans
    6. 10.6 - NetBeans PHP Plugin
    7. 10.7 - Ajax with ASP
    8. 10.8 - MySQL
      1. 10.8.1 - Overview
      2. 10.8.2 - Practice Lab for MySQL, PHP, and Apache
      3. 10.8.3 - A Simple MySQL Application
    9. 10.9 - Summary
  16. Index

Product information

  • Title: Web Development with JavaScript and Ajax Illuminated
  • Author(s): Richard Allen, Kai Qian, Lixin Tao, Xiang Fu
  • Release date: November 2008
  • Publisher(s): Jones & Bartlett Learning
  • ISBN: 9781449613242