
عنوان:
Modern Javascript for the Impatient
نویسنده:
Cay S. Horstmann
انتشارات:
Addison-Wesley Professional
تاریخ انتشار
2020
حجم:
8.0MB
معرفی کتاب: "جاوااسکریپت مدرن برای افراد عجول: راهنمای سریع و جامع"
موضوع اصلی:
استفاده از قدرت جاوااسکریپت مدرن و اجتناب از مشکلات آن
جاوااسکریپت دیگر آن زبان سادهی مخصوص صفحات وب نیست. امروز، با امکانات مدرن، توسعهدهندگان میتوانند از
قدرت برنامهنویسی تابعی، شیگرا و غیرهمگام بهره ببرند و مفاهیم قدیمی و پرخطا را کنار بگذارند.
درباره کتاب:
کتاب Modern JavaScript for the Impatient نوشتهی Cay S. Horstmann، راهنمایی جامع و فشرده برای جاوااسکریپت مدرن است. برخلاف بسیاری از منابع، این کتاب شما را مستقیماً به سمت نسخههای ES6 به بعد میبرد و کمک میکند بدون درگیر شدن با نسخههای منسوخ، از قدرت زبان امروزی بهرهمند شوید.
این کتاب به خصوص برای افرادی که از زبانهایی مثل Java، C#، C یا ++C به جاوااسکریپت مهاجرت میکنند، بسیار مفید است.
آنچه در این کتاب خواهید آموخت:
- ✔ یادگیری سریع ساختارهای پایه برنامهنویسی در جاوااسکریپت مدرن
- ✔ دوری از تکنیکها و مفاهیم منسوخ و مستعد خطا
- ✔ استفاده صحیح از تکنیکهای تابعی، شیگرا و asynchronous
- ✔ بهرهگیری از ماژولها برای ساختاردهی بهتر برنامههای پیچیده
- ✔ نوشتن برنامههایی قدرتمند و منعطف با استفاده از متاپروگرمینگ
- ✔ توسعه مهارت استفاده از کتابخانهها، فریمورکها و ابزارهای مدرن جاوااسکریپت
مخاطب این کتاب:
- ✔ توسعهدهندگان تازهکار جاوااسکریپت که میخواهند راه درست را از ابتدا یاد بگیرند
- ✔ برنامهنویسان با سابقه در زبانهای دیگر که قصد دارند وارد دنیای JavaScript شوند
- ✔ توسعهدهندگان حرفهای که میخواهند با ویژگیهای مدرن و قدرتمند این زبان بهتر کار کنند
فهرست مطالب
- Cover Page
- About This eBook
- Half Title Page
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Preface
- About the Author
- Chapter 1. Values and Variables
- 1.1 Running JavaScript
- 1.2 Types and the typeof Operator
- 1.3 Comments
- 1.4 Variable Declarations
- 1.5 Identifiers
- 1.6 Numbers
- 1.7 Arithmetic Operators
- 1.8 Boolean Values
- 1.9 null and undefined
- 1.10 String Literals
- 1.11 Template Literals
- 1.12 Objects
- 1.13 Object Literal Syntax
- 1.14 Arrays
- 1.15 JSON
- 1.16 Destructuring
- 1.17 Advanced Destructuring
- Exercises
- Chapter 2. Control Structures
- 2.1 Expressions and Statements
- 2.2 Semicolon Insertion
- 2.3 Branches
- 2.4 Boolishness
- 2.5 Comparison and Equality Testing
- 2.6 Mixed Comparisons
- 2.7 Boolean Operators
- 2.8 The switch Statement
- 2.9 while and do Loops
- 2.10 for Loops
- 2.11 Breaking and Continuing
- 2.12 Catching Exceptions
- Exercises
- Chapter 3. Functions and Functional Programming
- 3.1 Declaring Functions
- 3.2 Higher-Order Functions
- 3.3 Function Literals
- 3.4 Arrow Functions
- 3.5 Functional Array Processing
- 3.6 Closures
- 3.7 Hard Objects
- 3.8 Strict Mode
- 3.9 Testing Argument Types
- 3.10 Supplying More or Fewer Arguments
- 3.11 Default Arguments
- 3.12 Rest Parameters and the Spread Operator
- 3.13 Simulating Named Arguments with Destructuring
- 3.14 Hoisting
- 3.15 Throwing Exceptions
- 3.16 Catching Exceptions
- 3.17 The finally Clause
- Exercises
- Chapter 4. Object-Oriented Programming
- 4.1 Methods
- 4.2 Prototypes
- 4.3 Constructors
- 4.4 The Class Syntax
- 4.5 Getters and Setters
- 4.6 Instance Fields and Private Methods
- 4.7 Static Methods and Fields
- 4.8 Subclasses
- 4.9 Overriding Methods
- 4.10 Subclass Construction
- 4.11 Class Expressions
- 4.12 The this Reference
- Exercises
- Chapter 5. Numbers and Dates
- 5.1 Number Literals
- 5.2 Number Formatting
- 5.3 Number Parsing
- 5.4 Number Functions and Constants
- 5.5 Mathematical Functions and Constants
- 5.6 Big Integers
- 5.7 Constructing Dates
- 5.8 Date Functions and Methods
- 5.9 Date Formatting
- Exercises
- Chapter 6. Strings and Regular Expressions
- 6.1 Converting between Strings and Code Point Sequences
- 6.2 Substrings
- 6.3 Other String Methods
- 6.4 Tagged Template Literals
- 6.5 Raw Template Literals
- 6.6 Regular Expressions
- 6.7 Regular Expression Literals
- 6.8 Flags
- 6.9 Regular Expressions and Unicode
- 6.10 The Methods of the RegExp Class
- 6.11 Groups
- 6.12 String Methods with Regular Expressions
- 6.13 More about Regex Replace
- 6.14 Exotic Features
- Exercises
- Chapter 7. Arrays and Collections
- 7.1 Constructing Arrays
- 7.2 The length Property and Index Properties
- 7.3 Deleting and Adding Elements
- 7.4 Other Array Mutators
- 7.5 Producing Elements
- 7.6 Finding Elements
- 7.7 Visiting All Elements
- 7.8 Sparse Arrays
- 7.9 Reduction
- 7.10 Maps
- 7.11 Sets
- 7.12 Weak Maps and Sets
- 7.13 Typed Arrays
- 7.14 Array Buffers
- Exercises
- Chapter 8. Internationalization
- 8.1 The Locale Concept
- 8.2 Specifying a Locale
- 8.3 Formatting Numbers
- 8.4 Localizing Dates and Times
- 8.5 Collation
- 8.6 Other Locale-Sensitive String Methods
- 8.7 Plural Rules and Lists
- 8.8 Miscellaneous Locale Features
- Exercises
- Chapter 9. Asynchronous Programming
- 9.1 Concurrent Tasks in JavaScript
- 9.2 Making Promises
- 9.3 Immediately Settled Promises
- 9.4 Obtaining Promise Results
- 9.5 Promise Chaining
- 9.6 Rejection Handling
- 9.7 Executing Multiple Promises
- 9.8 Racing Multiple Promises
- 9.9 Async Functions
- 9.10 Async Return Values
- 9.11 Concurrent Await
- 9.12 Exceptions in Async Functions
- Exercises
- Chapter 10. Modules
- 10.1 The Module Concept
- 10.2 ECMAScript Modules
- 10.3 Default Imports
- 10.4 Named Imports
- 10.5 Dynamic Imports
- 10.6 Exports
- 10.7 Packaging Modules
- Exercises
- Chapter 11. Metaprogramming
- 11.1 Symbols
- 11.2 Customization with Symbol Properties
- 11.3 Property Attributes
- 11.4 Enumerating Properties
- 11.5 Testing a Single Property
- 11.6 Protecting Objects
- 11.7 Creating or Updating Objects
- 11.8 Accessing and Updating the Prototype
- 11.9 Cloning Objects
- 11.10 Function Properties
- 11.11 Binding Arguments and Invoking Methods
- 11.12 Proxies
- 11.13 The Reflect Class
- 11.14 Proxy Invariants
- Exercises
- Chapter 12. Iterators and Generators
- 12.1 Iterable Values
- 12.2 Implementing an Iterable
- 12.3 Closeable Iterators
- 12.4 Generators
- 12.5 Nested Yield
- 12.6 Generators as Consumers
- 12.7 Generators and Asynchronous Processing
- 12.8 Async Generators and Iterators
- Exercises
- Chapter 13. An Introduction to Typescript
- 13.1 Type Annotations
- 13.2 Running TypeScript
- 13.3 Type Terminology
- 13.4 Primitive Types
- 13.5 Composite Types
- 13.6 Type Inference
- 13.7 Subtypes
- 13.8 Classes
- 13.9 Structural Typing
- 13.10 Interfaces
- 13.11 Indexed Properties
- 13.12 Complex Function Parameters
- 13.13 Generic Programming
- Exercises
- Index
- Code Snippets
مشخصات
نام کتاب
Modern Javascript for the Impatient
نویسنده
Cay S. Horstmann
انتشارات
Addison-Wesley Professional
تاریخ انتشار
2020
ISBN
9780136502142
چاپ
اول
تعداد صفحات
1363
زبان
انگلیسی
فرمت
حجم
8.0MB
موضوع
web-development/javascript