Sams Teach Youself Serials
Powered by MaxBlogPress  
Top

Learning JavaScript

Tags:, ; 1,038 views

Learning
by Shelley Powers

Paperback: 335 pages
Publisher: O’Reilly Media (October 1, 2006)
Language: English
ISBN: 0596527462

Book Description


0596527462500lr9 Learning JavaScript
As web browsers have become more capable and standards compliant, has grown in prominence. lets designers add sparkle and life to web pages, while more complex has led to the rise of Ajax — the latest rage in web development that allows developers to create powerful and more responsive applications in the browser window.

Learning introduces this powerful scripting language to web designers and developers in easy-to-understand terms. Using the latest examples from modern browser development practices, this book teaches you how to integrate the language with the browser environment, and how to practice proper coding techniques for standards-compliant web sites. By the end of the book, you’ll be able to use all of the language and many of the object models provided by web browsers, and you’ll even be able to create a basic Ajax application.

Table of Contents

Preface

1. Introduction and First Looks
Twisted History: Specs and Implementations
Cross-Browser Incompatibility and Other Common Myths
What You Can Do with
First Look at : “Hello World!”
The Sandbox
Accessibility and Best Practices

2. Data Types and Variables
Identifying Variables
Scope
Simple Types
Constants: Named but Not Variables
Questions

3. Operators and Statements
Format of a Statement
Simple Statements
Conditional Statements and Program Flow
The Conditional Operators
The Logical Operators
Advanced Statements: The Loops
Questions

4. The Objects
The Object Constructor
The Number Object
The String Object
Regular Expressions and RegExp
Purposeful Objects: Date and Math
Arrays
Associative Arrays: The Arrays That Aren’t
Questions

5. Functions
Defining a Function: Let Me Count the Ways
Callback Functions
Functions and Recursion
Nested Functions, Function Closure, and Memory Leaks
Function As Object
Questions

6. Catching Events
The Event Handler at DOM Level 0
Questions

7. Forms and JiT Validation
Accessing the Form
Attaching Events to Forms: Different Approaches
Selection
Radio Buttons and Checkboxes
Input Fields and JiT Regular Expressions
Questions

8. The Sandbox and Beyond: Cookies, Connectivity, and Piracy
The Sandbox
All About Cookies
Alternative Storage Techniques
Cross-Site Scripting (XSS)
Questions

9. The Basic Browser Objects
BOM at a Glance
The window Object
Frames and Location
history, screen, and navigator
The all Collection, Inner/Outer HTML and Text, and Old and New Documents
Something Old, Something New
Questions

10. DOM: The Document Object Model
A Tale of Two Interfaces
The DOM and Compliant Browsers
The DOM HTML API
Understanding the DOM: The Core API
The DOM Core Document Object
Element and Access in Context
Modifying the Tree
Questions

11. Creating Custom Objects
The Object and Prototyping
Creating Your Own Custom Objects
Object Detection, Encapsulation, and Cross-Browser Objects
Chaining Constructors and JS Inheritance
One-Off Objects
Advanced Error-Handling Techniques (try, throw, catch)
What’s New in
Questions

12. Building Dynamic Web Pages: Adding Style to Your Script
DHTML: , CSS, and DOM
Fonts and Text
Position and Movement
Size and Clipping
Display, Visibility, and Opacity
Questions

13. Moving Outside the Page with Ajax
Ajax: It’s Not Only Code
How Ajax Works
Hello Ajax World!
The Ajax Object: XMLHttpRequest and IE’s ActiveX Objects
Working with XML-or Not
Google Maps
Questions

14. Good News: Juicy Libraries! Amazing Web Services! Fun APIs!
Before Jumping In, A Word of Caution
Working with Prototype
Script.aculo.us: More Than the Sum of Its Periods
Sabre’s Rico
Dojo
The Yahoo! UI
MochiKit
Questions

Appendix: Answers

Index

About the Author

Shelley Powers is a software developer/architect, photographer, and writer who has authored numerous computer books on web development and technologies, including the O’Reilly titles Developing ASP Components; Unix Power Tools, Third Edition; Essential Blogging; and Practical RDF. Through the years, Shelley has also contributed several articles on cross-browser development, standards, RDF, , CSS, and XML for several publications, and has worked with some of the world’s leading companies. Shelley’s tech web site is http://burningbird.net.

bloglink Learning JavaScript Join the forum discussion on this post - (1) Posts
Download Download Links: Link1 , Link2

Tags:,
Popularity: 10% [?]
Help us to buy a hostmonster hosting, Thank you! ($6.95/month)

We don't host these ebooks! This is only a index of ebooks. If you don't want this ebook to post here, please contact us! We'll remove it.


Comments

Download links broken?





If you don't want this book to be posted here, please contact us.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Bottom