Sams teach yourself Ajax, JavaScript, and PHP all in one /
In just a short time, you can learn how to use Ajax, JavaScript, and PHP to create interactive interfaces to your web applications by combining these powerful technologies. No previous Ajax programming experience is required. Using a straightforward, step-by-step approach, each lesson in this book b...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Indianapolis, Ind. :
Sams Pub.,
©2009.
|
Colección: | Sams teach yourself all in one.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Contents
- Introduction
- Part I: Web Basics Refresher
- CHAPTER 1: Workings of the Web
- A Short History of the Internet
- The World Wide Web
- Introducing HTTP
- The HTTP Request and Response
- HTML Forms
- Summary
- CHAPTER 2: Writing and Styling Pages in HTML and CSS
- Introducing HTML
- Elements of an HTML Page
- A More Advanced HTML Page
- Some Useful HTML Tags
- Adding Your Own Style
- Defining the Rules
- Add a Little class
- Applying Styles
- Formatting Text with Styles
- Adding Lines
- Summary
- CHAPTER 3: Anatomy of an Ajax Application
- The Need for Ajax
- Introducing Ajax
- The Constituent Parts of Ajax
- Putting It All Together
- Summary
- Part II: Introducing Web Scripting with JavaScript
- CHAPTER 4: Creating Simple Scripts in JavaScript
- Tools for Scripting
- Displaying Time with JavaScript
- Beginning the Script
- Adding JavaScript Statements
- Creating Output
- Adding the Script to a Web Page
- Testing the Script
- JavaScript Syntax Rules
- Using Comments
- Best Practices for JavaScript
- Summary
- CHAPTER 5: Working with the Document Object Model (DOM)
- Understanding Objects
- Understanding the Document Object Model (DOM)
- Working with Web Documents
- Accessing Browser History
- Working with the location Object
- Summary
- CHAPTER 6: Using Variables, Strings, and Arrays
- Using Variables
- Understanding Expressions and Operators
- Data Types in JavaScript
- Converting Between Data Types
- Using String Objects
- Working with Substrings
- Using Numeric Arrays
- Using String Arrays
- Sorting a Numeric Array
- Summary
- CHAPTER 7: Using Functions and Objects
- Using Functions
- Introducing Objects
- Using Objects to Simplify Scripting
- Extending Built-in Objects
- Summary
- CHAPTER 8: Controlling Flow with Conditions and Loops
- The if Statement
- Using Shorthand Conditional Expressions
- Testing Multiple Conditions with if and else
- Using Multiple Conditions with switch
- Using for Loops
- Using while Loops
- Using do8230;while Loops
- Working with Loops
- Looping Through Object Properties
- Summary
- CHAPTER 9: Using Built-In Functions and Libraries
- Using the Math Object
- Working with Math Functions
- Using the with Keyword
- Working with Dates
- Using Third-Party Libraries
- Other Libraries
- Summary
- Part III: Introducing Ajax
- CHAPTER 10: The Heart of Ajaxthe XMLHTTPRequest Object
- Introducing XMLHTTPRequest
- Creating the XMLHTTPRequest Object
- Summary
- CHAPTER 11: Talking with the Server
- Sending the Server Request
- Monitoring Server Status
- The Callback Function
- Summary
- CHAPTER 12: Using the Returned Data
- The responseText and responseXML Properties
- Parsing responseXML
- Providing User Feedback
- Summary
- CHAPTER 13: Our First Ajax Application
- Constructing the Ajax Application
- The HTML Document
- Adding JavaScript
- Putting It All Together
- Summary
- Part IV: Server-side Scripting with PHP
- CHAPTER 14: Getting to Know PHP
- PHP Basics
- Your First PHP Script
- Summary.