3%
Object-Oriented JavaScript -

Object-Oriented JavaScript -

5       |  5 Reviews 
5
4
3
2
1

International Edition


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Quantity:
Add to Wishlist

About the Book

You will first be introduced to object-oriented programming, then to the basics of objects in JavaScript. This book takes a do-it-yourself approach when it comes to writing code, because the best way to really learn a programming language is by writing code. You are encouraged to type code into Firebug's console, see how it works and then tweak it and play around with it. There are practice questions at the end of each chapter to help you review what you have learned.For new to intermediate JavaScript developer who wants to prepare themselves for web development problems solved by smart JavaScript!

Table of Contents:
Preface Chapter 1: Object-oriented JavaScript Chapter 2: Primitive Data Types, Arrays, Loops, and Conditions Chapter 3: Functions Chapter 4: Objects Chapter 5: Prototype Chapter 6: Inheritance Chapter 7: The Browser Environment Chapter 8: Coding and Design Patterns Appendix A: Reserved Words Appendix B: Built-in Functions Appendix C: Built-in Objects Appendix D: Regular Expressions Index Preface Up Chapter 1: Object-oriented JavaScript A bit of history Browser wars and renaissance The present The future ECMAScript 5 Object-oriented programming Objects Classes Encapsulation Aggregation Inheritance Polymorphism OOP summary Setting up your training environment WebKit's Web Inspector JavaScriptCore on a Mac More consoles Summary Up Chapter 2: Primitive Data Types, Arrays, Loops, and Conditions Variables Variables are case sensitive Operators Primitive data types Finding out the value type the typeof operator Numbers Octal and hexadecimal numbers Exponent literals Infinity NaN Strings String conversions Special strings Booleans Logical operators Operator precedence Lazy evaluation Comparison Undefined and null Primitive data types recap Arrays Adding/updating array elements Deleting elements Arrays of arrays Conditions and loops The if condition The else clause Code blocks Checking if a variable exists Alternative if syntax Switch Loops While loops Do-while loops For loops For-in loops Comments Summary Exercises Up Chapter 3: Functions What is a function? Calling a function Parameters Predefined functions parseInt() parseFloat() isNaN() isFinite() eval() Scope of variables Variable hoisting Functions are data Anonymous functions Callback functions Callback examples Immediate functions Inner (private) functions Functions that return functions Function, rewrite thyself! Closures Scope chain Breaking the chain with a closure Closure #1 Closure #2 A definition and closure #3 Closures in a loop Getter/setter Iterator Summary Exercises Up Chapter 4: Objects From arrays to objects Elements, properties, methods, and members Hashes and associative arrays Accessing an object's properties Calling an object's methods Altering properties/methods Using the this value Constructor functions The global object The constructor property The instanceof operator Functions that return objects Passing objects Comparing objects Objects in the WebKit console console.log Built-in objects Object Array A few array methods Function Properties of function objects Methods of function objects The arguments object revisited Inferring object types Boolean Number String A few methods of string objects Math Date Methods to work with date objects RegExp Properties of RegExp objects Methods of RegExp objects String methods that accept regular expressions as arguments search() and match() replace() Replace callbacks split() Passing a string when a RegExp is expected Error objects Summary Exercises Up Chapter 5: Prototype The prototype property Adding methods and properties using the prototype Using the prototype's methods and properties Own properties versus prototype properties Overwriting a prototype's property with an own property Enumerating properties isPrototypeOf() The secret __proto__ link Augmenting built-in objects Augmenting built-in objects discussion Prototype gotchas Summary Exercises Up Chapter 6: Inheritance Prototype chaining Prototype chaining example Moving shared properties to the prototype Inheriting the prototype only A temporary constructor new F() Uber access to the parent from a child object Isolating the inheritance part into a function Copying properties Heads-up when copying by reference Objects inherit from objects Deep copy object() Using a mix of prototypal inheritance and copying properties Multiple inheritance Mixins Parasitic inheritance Borrowing a constructor Borrow a constructor and copy its prototype Summary Case study drawing shapes Analysis Implementation Testing Exercises Up Chapter 7: The Browser Environment Including JavaScript in an HTML page BOM and DOM an overview BOM The window object revisited window.navigator Your console is a cheat sheet window.location window.history window.frames window.screen window.open()/close() window.moveTo() and window.resizeTo() window.alert(), window.prompt(), and window.confirm() window.setTimeout() and window.setInterval() window.document DOM Core DOM and HTML DOM Accessing DOM nodes The document node documentElement Child nodes Attributes Accessing the content inside a tag DOM access shortcuts Siblings, body, first, and last child Walk the DOM Modifying DOM nodes Modifying styles Fun with forms Creating new nodes DOM-only method cloneNode() insertBefore() Removing nodes HTML-only DOM objects Primitive ways to access the document document.write() Cookies, title, referrer, domain Events Inline HTML attributes Element Properties DOM event listeners Capturing and bubbling Stop propagation Prevent default behavior Cross-browser event listeners Types of events XMLHttpRequest Sending the request Processing the response Creating XMLHttpRequest objects in IE prior to Version 7 A is for Asynchronous X is for XML An example Summary Exercises Up Chapter 8: Coding and Design Patterns Coding patterns Separating behavior Content Presentation Behavior Example of separating behavior Asynchronous JavaScript loading Namespaces An Object as a namespace Namespaced constructors A namespace() method Init-time branching Lazy definition Configuration object Private properties and methods Privileged methods Private functions as public methods Immediate functions Modules Chaining JSON Design patterns Singleton Singleton 2 Global variable Property of the Constructor In a private property Factory Decorator Decorating a Christmas tree Observer Summary Up Appendix A: Reserved Words Keywords Future reserved words Previously reserved words Up Appendix B: Built-in Functions Up Appendix C: Built-in Objects Object Members of the Object constructor The Object.prototype members ECMAScript 5 additions to Object Array The Array.prototype members ECMAScript 5 additions to Array Function The Function.prototype members ECMAScript 5 additions to a function Boolean Number Members of the Number constructor The Number.prototype members String Members of the String constructor The String.prototype members ECMAScript 5 additions to String Date Members of the Date constructor The Date.prototype members ECMAScript 5 additions to Date Math Members of the Math object RegExp The RegExp.prototype members Error objects The Error.prototype members JSON Members of the JSON object Up Appendix D: Regular Expressions


Best Sellers


Product Details
  • ISBN-13: 9781849693127
  • Publisher: Packt Publishing Limited
  • Publisher Imprint: Packt Publishing Limited
  • Depth: 19
  • Height: 235 mm
  • No of Pages: 382
  • Spine Width: 20 mm
  • Width: 191 mm
  • ISBN-10: 1849693129
  • Publisher Date: 02 Apr 2023
  • Binding: Digital (delivered electronically)
  • Edition: 2
  • Language: English
  • Returnable: N
  • Weight: 652 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

5       |  5 Reviews 
out of (%) reviewers recommend this product
Top Reviews
Rating Snapshot
Select a row below to filter reviews.
5
4
3
2
1
Average Customer Ratings
5       |  5 Reviews 
00 of 0 Reviews
Sort by :
Active Filters

00 of 0 Reviews
SEARCH RESULTS
1–2 of 2 Reviews
    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!

    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!


Sample text
Photo of
    Media Viewer

    Sample text
    Reviews
    Reader Type:
    BoxerLover2
    00 of 0 review

    Your review was submitted!
    Object-Oriented JavaScript -
    Packt Publishing Limited -
    Object-Oriented JavaScript -
    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.

    Object-Oriented JavaScript -

    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

      New Arrivals


      Inspired by your browsing history


      Your review has been submitted!

      You've already reviewed this product!
      ASK VIDYA