Learning from jQuery

Overview

If you’re comfortable with jQuery but a bit shaky with JavaScript, this concise guide will help you expand your knowledge of the language—especially the code that jQuery covers up for you. Many jQuery devotees write as little code as possible, but with some JavaScript under your belt, you can prevent errors, reduce overhead, and make your application code more efficient.

This book explores event handling, prototypes, and working with the DOM and AJAX through examples and lots of...

See more details below
Other sellers (Paperback)
  • All (14) from $3.87   
  • New (10) from $11.54   
  • Used (4) from $3.87   
Learning from jQuery

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.49
BN.com price
(Save 30%)$14.99 List Price

Overview

If you’re comfortable with jQuery but a bit shaky with JavaScript, this concise guide will help you expand your knowledge of the language—especially the code that jQuery covers up for you. Many jQuery devotees write as little code as possible, but with some JavaScript under your belt, you can prevent errors, reduce overhead, and make your application code more efficient.

This book explores event handling, prototypes, and working with the DOM and AJAX through examples and lots of code. You’ll learn common conventions and patterns in JavaScript and—if you’ve never coded with JavaScript before—a tutorial will take you through the basics.

  • Enhance your jQuery code by using object constructors and prototypes
  • Reduce overhead and gain more control by handling events with JavaScript
  • Work with the DOM much faster with JavaScript than you can with jQuery
  • Send a few AJAX requests without having to load the entire jQuery library
  • Understand the importance of JavaScript code standards, comments, code reuse, and anti-patterns
  • Enlist JavaScript resources, such as a good IDE, a syntax checker, and version control
Read More Show Less

Product Details

  • ISBN-13: 9781449335199
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 2/13/2013
  • Edition number: 1
  • Pages: 102
  • Product dimensions: 7.00 (w) x 9.19 (h) x 0.21 (d)

Meet the Author

Callum Macrae is a professional JavaScript developer based in the UK. He regularly contributes JavaScript related patches to open source projects, including phpBB and jQuery++. When not coding or writing, he spends most of his time drumming or cycling.

Read More Show Less

Table of Contents

Preface;
Who This Book Is For;
Who This Book Isn’t For;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Event Handling;
1.1 Listening for Events;
1.2 Event Propagation;
1.3 Triggering Events;
1.4 Removing Event Handlers;
1.5 Adding a "Once Only" Event Listener;
1.6 Summary;
Chapter 2: Constructors and Prototypes;
2.1 Constructors;
2.2 Prototypes;
2.3 Summary;
Chapter 3: DOM Traversal and Manipulation;
3.1 Selecting an Element;
3.2 Selecting Children;
3.3 Selecting the Next Element;
3.4 Creating an Element;
3.5 Modifying an Existing Element;
3.6 Cycling Through Elements;
3.7 Moving and Copying Elements;
3.8 Summary;
Chapter 4: AJAX;
4.1 Sending an AJAX Request;
4.2 Debugging;
4.3 Sending POST Requests in JavaScript;
4.4 Writing a Wrapper Function;
4.5 A Simple Application of AJAX;
4.6 Designing a Site with AJAX;
4.7 Summary;
Chapter 5: JavaScript Conventions;
5.1 Writing JavaScript;
5.2 Literals Notation;
5.3 Optimizations;
5.4 Functions;
5.5 Code Reuse;
5.6 Common Antipatterns;
5.7 Common Design Patterns;
5.8 Summary;
JavaScript Basics;
Hello World!;
Comments;
Variables;
Numbers;
Functions;
Objects;
Finding the Type of a Variable;
Arrays;
Looping;
Conditional Statements;
Delays;
Regular Expressions;
Error Handling;
Summary;
JavaScript Resources;
A Good IDE;
GitHub;
JSHint;
JSPerf;
Mozilla Developer Network;
Pastebins;
Version Control Software;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)