چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

JavaScript, object oriented programming : build sophisticated web applications by mastering the art of object-oriented a course in three modules

Ved Antani; Gaston C. Hillar; Stoyan Stefanov; Kumar Chetan Sharma

قیمت نهایی

۴۹٬۰۰۰ تومان

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

سال انتشار
۲۰۱۶
فرمت
PDF
زبان
انگلیسی
تعداد صفحات
۵ صفحه
حجم فایل
۶٫۲ مگابایت
شابک
9781787123595، 9781787126749، 1787123596، 1787126749

دربارهٔ کتاب

Build sophisticated web applications by mastering the art of Object-Oriented Javascript About This Book Learn popular Object-Oriented programming (OOP) principles and design patterns to build robust apps Implement Object-Oriented concepts in a wide range of frontend architectures Capture objects from real-world elements and create object-oriented code that represents them Learn the latest ES6 features and how to test and debug issues with JavaScript code using various modern mechanisms Who This Book Is For JavaScript developers looking to enhance their web developments skills by learning object-oriented programming. What You Will Learn Get acquainted with the basics of JavaScript language constructs along with object-oriented programming and its application. Learn to build scalable server application in JavaScript using Node.js Generate instances in three programming languages: Python, JavaScript, and C# Work with a combination of access modifiers, prefixes, properties, fields, attributes, and local variables to encapsulate and hide data Master DOM manipulation, cross-browser strategies, and ES6 Identify and apply the most common design patterns such as Singleton, Factory, Observer, Model-View-Controller, and Mediator Patterns Design applications using a modular architecture based on SOLID principles In Detail JavaScript is the behavior, the third pillar in today's paradigm that looks at web pages as something that consists of : content (HTML), presentation (CSS), and behavior (JavaScript). Using JavaScript, you can create interactive web pages along with desktop widgets, browser, and application extensions, and other pieces of software. Object-oriented programming, which is popularly known as OOP, is basically based on the concept of objects rather than actions. The first module will help you master JavaScript and build futuristic web applications. You will start by getting acquainted with the language constructs and how to organize code easily. You develop concrete understanding of variable scoping, loops, and best practices on using types and data structures, as well as the coding style and recommended code organization patterns in JavaScript. The book will also teach you how to use arrays and objects as data structures. By the end of the book, you will understand how reactive JavaScript is going to be the new paradigm. The second module is an easy-to-follow course, which includes hands-on examples of solutions to common problems with object-oriented code. It will help to identify objects from real-life scenarios, to protect and hide data with the data encapsulation features of Python, JavaScript, and C#. You will discover the advantage of duck typing in both Python and JavaScript, while you work with interfaces and generics in C#. With a fair understanding of interfaces, multiple inheritance, and composition, you will move on to refactor existing code and to organize your source for easy maintenance and extension. The third module takes you through all the in-depth and exciting futures hidden behind the facade. You should read through this course if you want to be able to take your JavaScript skills to a new level of sophistication. Style and approach This course is a comprehensive guide where each chapter consists of best practices, constructive advice, and few easy-to-follow examples that will build up your skills as you advance through the book. Get object oriented with this course, which takes you on a journey to get acquainted with few useful hands-on tools, features, and ways to enhance your productivity using OOP techniques. It will also act as a reference guide with useful examples on resolving problems with object-oriented code in Python, JavaScript, and C#. Cover 1 Copyright 3 Credits 4 Preface 6 Mastering JavaScript 12 JavaScript Primer 22 A little bit of history 23 How to use this book 24 Hello World 27 Summary 64 Functions, Closures, and Modules 66 A function literal 67 Functions as data 70 Scoping 71 Function declarations versus function expressions 79 The arguments parameter 81 Anonymous functions 85 Closures 87 Timers and callbacks 90 Private variables 90 Loops and closures 91 Modules 92 Summary 94 Data Structures and Manipulation 96 Regular expressions 97 Exact match 98 Match from a class of characters 98 Repeated occurrences 102 Beginning and end 105 Backreferences 105 Greedy and lazy quantifiers 106 Arrays 107 Maps 116 Sets 116 A matter of style 118 Summary 118 Object-Oriented JavaScript 120 Understanding objects 120 Instance properties versus prototype properties 125 Inheritance 131 Getters and setters 138 Summary 141 JavaScript Patterns 142 Design patterns 143 The namespace pattern 144 The module pattern 145 The factory pattern 152 The mixin pattern 154 The decorator pattern 155 The observer pattern 158 JavaScript Model-View-* patterns 160 The Model-View-Presenter pattern 162 Model-View-ViewModel 163 Summary 164 Testing and Debugging 166 Unit testing 167 JavaScript debugging 175 Summary 183 ECMAScript 6 184 Shims or polyfills 185 Transpilers 185 ES6 syntax changes 186 Summary 200 DOM Manipulation and Events 202 DOM 202 Chaining 212 Traversal and manipulation 212 Working with browser events 214 Propagation 215 jQuery event handling and propagation 216 Event delegation 219 The event object 220 Summary 221 Server-Side JavaScript 222 An asynchronous evented-model in a browser 223 Callbacks 227 Timers 231 EventEmitters 232 Modules 233 npm 236 JavaScript performance 239 Summary 243 Objects Everywhere 246 Recognizing objects from nouns 246 Generating blueprints for objects 249 Recognizing attributes/fields 250 Recognizing actions from verbs – methods 251 Organizing the blueprints – classes 254 Object-oriented approaches in Python, JavaScript, and C# 256 Summary 257 Classes and Instances 258 Understanding classes and instances 258 Understanding constructors and destructors 259 Declaring classes in Python 261 Customizing constructors in Python 262 Customizing destructors in Python 264 Creating instances of classes in Python 266 Declaring classes in C# 268 Customizing constructors in C# 268 Customizing destructors in C# 271 Creating instances of classes in C# 272 Understanding that functions are objects in JavaScript 274 Working with constructor functions in JavaScript 275 Creating instances in JavaScript 279 Summary 280 Encapsulation of Data 282 Understanding the different members of a class 282 Protecting and hiding data 284 Working with properties 285 Understanding the difference between mutability and immutability 286 Encapsulating data in Python 288 Encapsulating data in C# 298 Encapsulating data in JavaScript 311 Summary 319 Inheritance and Specialization 320 Using classes to abstract behavior 320 Understanding inheritance 323 Understanding method overloading and overriding 326 Understanding operator overloading 326 Taking advantage of polymorphism 327 Working with simple inheritance in Python 327 Working with simple inheritance in C# 336 Working with the prototype-based inheritance in JavaScript 349 Summary 356 Interfaces, Multiple Inheritance, and Composition 358 Understanding the requirement to work with multiple base classes 358 Working with multiple inheritance in Python 360 Interfaces and multiple inheritance in C# 373 Working with composition in JavaScript 388 Summary 403 Duck Typing and Generics 404 Understanding parametric polymorphism and duck typing 404 Working with duck typing in Python 405 Working with generics in C# 415 Working with duck typing in JavaScript 430 Summary 439 Organization of Object-Oriented Code 440 Thinking about the best ways to organize code 440 Organizing object-oriented code in Python 443 Organizing object-oriented code in C# 452 Organizing object-oriented code in JavaScript 468 Summary 475 Taking Full Advantage of Object-Oriented Programming 476 Putting together all the pieces of the object-oriented puzzle 476 Refactoring existing code in Python 479 Refactoring existing code in C# 486 Refactoring existing code in JavaScript 493 Summary 497 Object-oriented JavaScript 500 A bit of history 501 ECMAScript 5 505 Object-oriented programming 505 Setting up your training environment 506 Summary 511 Primitive Data Types, Arrays, Loops, and Conditions 512 Variables 512 Operators 515 Primitive data types 519 Strings 524 Booleans 527 Logical operators 528 Comparison 532 Primitive data types recap 535 Arrays 536 Conditions and loops 539 Code blocks 541 Switch 545 Loops 547 Comments 552 Summary 552 Exercises 553 Functions 554 What is a function? 555 Scope of variables 563 Functions are data 566 Closures 576 Summary 585 Exercises 586 Objects 588 From arrays to objects 588 Built-in objects 603 Summary 639 Exercises 640 Prototype 644 The prototype property 645 Using the prototype's methods and properties 646 Augmenting built-in objects 655 Summary 660 Exercises 660 Inheritance 662 Prototype chaining 662 Inheriting the prototype only 668 Uber – access to the parent from a child object 672 Isolating the inheritance part into a function 673 Copying properties 675 Heads-up when copying by reference 677 Objects inherit from objects 679 Deep copy 681 object() 683 Using a mix of prototypal inheritance and copying properties 684 Multiple inheritance 686 Parasitic inheritance 688 Borrowing a constructor 689 Summary 692 Case study – drawing shapes 696 Exercises 702 The Browser Environment 704 Including JavaScript in an HTML page 704 BOM and DOM – an overview 705 BOM 706 DOM 718 Events 741 XMLHttpRequest 751 Summary 758 Exercises 759 Coding and Design Patterns 762 Coding patterns 763 Design patterns 780 Summary 790 Reserved Words 792 Keywords 792 Future reserved words 793 Previously reserved words 794 Built-in Functions 796 Built-in Objects 800 Object 800 Array 809 Function 816 Boolean 818 Number 818 String 820 Date 824 Math 830 RegExp 832 Error objects 834 JSON 834 Regular Expressions 838 Biblography 844

کتاب‌های مشابه

JavaScript, object oriented programming : build sophisticated web applications by mastering the art of object-oriented Javascript : a course in three modules

JavaScript, object oriented programming : build sophisticated web applications by mastering the art of object-oriented Javascript : a course in three modules

۴۹٬۰۰۰ تومان

JavaScript, object oriented programming : build sophisticated web applications by mastering the art of object-oriented Javascript : a course in three modules

JavaScript, object oriented programming : build sophisticated web applications by mastering the art of object-oriented Javascript : a course in three modules

۴۹٬۰۰۰ تومان

Mastering JavaScript object-oriented programming : unleash the true power of JavaScript by mastering object-oriented programming principles and patterns

Mastering JavaScript object-oriented programming : unleash the true power of JavaScript by mastering object-oriented programming principles and patterns

۴۹٬۰۰۰ تومان

Mastering JavaScript object-oriented programming : unleash the true power of JavaScript by mastering object-oriented programming principles and patterns

Mastering JavaScript object-oriented programming : unleash the true power of JavaScript by mastering object-oriented programming principles and patterns

۴۹٬۰۰۰ تومان

JavaScript-mancy: Object-Oriented Programming: Mastering the Arcane Art of Summoning Objects in JavaScript for C# Developers (JavaScript-mancy: Mastering the Arcane Art of JavaScript Book 2)

JavaScript-mancy: Object-Oriented Programming: Mastering the Arcane Art of Summoning Objects in JavaScript for C# Developers (JavaScript-mancy: Mastering the Arcane Art of JavaScript Book 2)

۴۹٬۰۰۰ تومان

Principles of Object-Oriented Programming in JavaScript

Principles of Object-Oriented Programming in JavaScript

۴۹٬۰۰۰ تومان

Principles of Object-Oriented Programming in JavaScript

Principles of Object-Oriented Programming in JavaScript

۴۹٬۰۰۰ تومان

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

۴۹٬۰۰۰ تومان

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

۴۹٬۰۰۰ تومان

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

۴۹٬۰۰۰ تومان

JavaScript-mancy: Object-Oriented Programming: Mastering the Arcane Art of Summoning Objects in JavaScript for C# Developers (Volume 2)

JavaScript-mancy: Object-Oriented Programming: Mastering the Arcane Art of Summoning Objects in JavaScript for C# Developers (Volume 2)

۴۹٬۰۰۰ تومان

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

Mastering JavaScript high performance : master the art of building, deploying, and optimizing faster web applications with JavaScript

۴۹٬۰۰۰ تومان

قیمت نهایی

۴۹٬۰۰۰ تومان