JavaScript in 24 Hours, Sams Teach Yourself - Bookswagon UAE
close menu
Bookswagon
search
My Account
Home > Computer programming / software engineering > Programming and scripting languages: general > JavaScript in 24 Hours, Sams Teach Yourself: (Sams Teach Yourself)
JavaScript in 24 Hours, Sams Teach Yourself: (Sams Teach Yourself)

JavaScript in 24 Hours, Sams Teach Yourself: (Sams Teach Yourself)


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book


In just 24 lessons of one hour or less,  Sams Teach Yourself JavaScript in 24 Hours helps you learn the fundamentals of programming using the JavaScript language.
Designed for beginners with no previous programming experience, this book’s straightforward, step-by-step approach shows you how to use JavaScript to add a wide array of interactive features and effects to your web pages.


Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.

  • Step-by-step instructions carefully walk you through the most common JavaScript programming tasks.
  • Practical, hands-on examples show you how to apply what you learn.
  • Quizzes and exercises help you test your knowledge and stretch your skills.
  • Notes and tips point out shortcuts and solutions.

Learn how to:

  • Use JavaScript to build dynamic, interactive web pages
  • Debug scripts
  • Create scripts that work in all browsers
  • Write clear, reliable, and reusable code
  • Use object-oriented programming techniques
  • Script with the DOM
  • Access JSON data
  • Work with HTML5 and CSS3
  • Leverage the popular jQuery library
  • Control CSS with simple JavaScripts
  • Read and write cookies
  • Use some of the new ECMAScript 6 features today
  • Get started with frameworks such as AngularJS
  • Build browser add-ons and extensions
Who This Book Is For:
  • Those who have at least a basic understanding of HTML and web page design in general and want to move on to adding some extra interactivity to your pages. 
  • Those who currently code in another programming language and want to see what additional capabilities JavaScript can add to your armory
  • Someone who has never done any computer programming. Browse through an HTML primer before using this book. You don't need to be an HTML expert to use JavaScript but should have a basic understanding.
Contents at a Glance:

Part I: First Steps with JavaScript

1 Introducing JavaScript

2 Writing Simple Scripts

3 Using Functions

4 DOM Objects and Built-in Objects


Part II: Cooking with Code

5 Numbers and Strings

6 Arrays

7 Program Control


Part III: Objects

8 Object-Oriented Programming

9 Scripting with the DOM

10 Meet JSON


Part IV: HTML5 and CSS3

11 JavaScript and HTML5

12 JavaScript and CSS

13 Introducing CSS3


Part V: Using JavaScript Libraries

14 Using Libraries

15 A Closer Look at jQuery

16 The jQuery UI User Interface Library

17 Ajax with jQuery


Part VI: Advanced Topics

18 Reading and Writing Cookies

19 Coming Soon to JavaScript

20 Using Frameworks

21 JavaScript Beyond the Web Page


Part VII: Learning the Trade

22 Good Coding Practice

23 Debugging Your Code

24 JavaScript Unit Testing


Part VIII: Appendices

A Tools for JavaScript Development

B JavaScript Quick Reference



Table of Contents:


Part I: First Steps with JavaScript


HOUR 1: Introducing JavaScript

Web Scripting Fundamentals

Server- Versus Client-Side Programming

JavaScript in a Nutshell

Where JavaScript Came From

The Script Tag

Introducing the DOM

Talking to the User

HOUR 2: Writing Simple Scripts

Including JavaScript in Your Web Page

JavaScript Statements

Variables

Operators

Capturing Mouse Events

HOUR 3: Using Functions

General Syntax

Calling Functions

Passing Arguments to Functions

Returning Values from Functions

Scope of Variables

HOUR 4: DOM Objects and Built-in Objects

Interacting with the User

Selecting Elements by Their ID

Accessing Browser History

Using the location Object

Browser Information–The navigator Object

Dates and Times

Simplifying Calculation with the Math Object

Part II: Cooking with Code


HOUR 5: Numbers and Strings

Numbers

Strings

Boolean Values

HOUR 6: Arrays

Arrays

HOUR 7: Program Control

Conditional Statements

Loops and Control Structures

Setting and Using Timers

Part III: Objects


HOUR 8: Object-Oriented Programming

What Is Object-Oriented Programming?

Object Creation

Extending and Inheriting Objects Using prototype

Encapsulation

Using Feature Detection

HOUR 9: Scripting with the DOM

DOM Nodes

Selecting Elements with getElementsByTagName()

Reading an Element’s Attributes

Mozilla’s DOM Inspector

HOUR 10: Meet JSON

What Is JSON?

Accessing JSON Data

Data Serialization with JSON

JSON Data Types

Simulating Associative Arrays

Creating Objects with JSON

JSON Security

Part IV: HTML and CSS


HOUR 11: JavaScript and HTML5

New Markup for HTML5

Some Important New Elements

Drag and Drop

Local Storage

Working with Local Files

HOUR 12: JavaScript and CSS

A Ten-Minute CSS Primer

The DOM style Property

Accessing Classes Using className

The DOM styleSheets Object

HOUR 13: Introducing CSS3

Vendor-Specific Properties and Prefixes

CSS3 Borders

CSS3 Backgrounds

CSS3 Gradients

CSS3 Text Effects

CSS3 Transitions, Transformations, and Animations

Referencing CSS3 Properties in JavaScript

Setting CSS3 Properties with Vendor Prefixes

Part V: Using JavaScript Libraries


HOUR 14: Using Libraries

Why Use a Library?

What Sorts of Things Can Libraries Do?

Some Popular Libraries

Introducing prototype.js

HOUR 15: A Closer Look at jQuery

Including jQuery in Your Pages

jQuery’s $(document).ready Handler

Selecting Page Elements

Working with HTML Content

Showing and Hiding Elements

Animating Elements

Command Chaining

Handling Events

HOUR 16: The jQuery UI User Interface Library

What jQuery UI Is All About

How to Include jQuery UI in Your Pages

Interactions

Using Widgets

HOUR 17: Ajax with jQuery

The Anatomy of Ajax

Using jQuery to Implement Ajax

Part VI: Advanced Topics


HOUR 18: Reading and Writing Cookies

What Are Cookies?

The document.cookie Property

Cookie Ingredients

Writing a Cookie

A Function to Write a Cookie

Reading a Cookie

Deleting Cookies

Setting Multiple Values in a Single Cookie

HOUR 19: Coming Soon to JavaScript

Classes

Arrow Functions

Modules

Using let and const

Template Strings

Access Arrays with for-of

Transpilation

HOUR 20: Using Frameworks

Software Frameworks

Model-View-Controller (MVC) Architecture

Using an MVC Framework for Web Apps

The AngularJS Framework

Building an AngularJS Application

HOUR 21: JavaScript Beyond the Web Page

JavaScript Outside the Browser

Writing Google Chrome Extensions

Going Further

Part VII: Learning the Trade


HOUR 22: Good Coding Practice

Don’t Overuse JavaScript

Writing Readable and Maintainable Code

Graceful Degradation

Progressive Enhancement

Unobtrusive JavaScript

Feature Detection

Handling Errors Well

HOUR 23: Debugging Your Code

An Introduction to Debugging

More Advanced Debugging

HOUR 24: JavaScript Unit Testing

What Is Unit Testing?

Writing JavaScript for Unit Testing

The QUnit Test Suite

Part VIII: Appendices


APPENDIX A: Tools for JavaScript Development

Editors

Validators

Debugging and Verifying Tools

APPENDIX B: JavaScript Quick Reference



About the Author :

Phil Ballard, the author of various Sams Teach Yourself titles, graduated in 1980 with an honors degree in electronics from the University of Leeds, England. Following an early career as a research scientist with a major multinational, he spent a few years in commercial and managerial roles within the high technology sector, later working full time as a software engineering consultant. Operating as “The Mouse Whisperer” (www.mousewhisperer.co.uk ), Ballard has spent recent years involved solely in website and intranet design and development for an international portfolio of clients, as well as writing numerous technical books and articles.

 


Best Sellers


Product Details
  • ISBN-13: 9780134172170
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Series Title: Sams Teach Yourself
  • ISBN-10: 0134172175
  • Publisher Date: 04 Jun 2015
  • Binding: Digital download
  • No of Pages: 416
  • Weight: 1 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
JavaScript in 24 Hours, Sams Teach Yourself: (Sams Teach Yourself)
Pearson Education (US) -
JavaScript in 24 Hours, Sams Teach Yourself: (Sams Teach Yourself)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

JavaScript in 24 Hours, Sams Teach Yourself: (Sams Teach Yourself)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Your IP: 216.73.217.72 IN