You Don’t Know JS: this & Object Prototypes
Kyle Simpson
- ناشرO'Reilly
- سال انتشار2014
- ویرایش1
- زبانEnglish
- تعداد صفحات173
- شابک9781491904152
475,000 تومان – 1,172,000 تومانمحدوده قیمت: 475,000 تومان تا 1,172,000 تومان
تحویل اکسپرس
حمل رایگان سفارشات بالای 1 میلیون تومان
پرداخت امن
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
ضمانت اصالت کالا
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
7 روز گارانتی بازگشت وجه
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
📘 مجموعه You Don’t Know JS — کتاب this & Object Prototypes
🧠 مهم نیست چقدر تجربه با JavaScript داری؛ احتمال زیادی وجود داره که هنوز درک کامل و دقیقی از زبان نداشته باشی. این کتاب بهصورت عمیق وارد دو مفهوم کلیدی میشه: this و Object Prototypes. دو مفهومی که پایهی مدل رفتاری JavaScript و مفهوم behavior delegation هستن.
⚙️ این کتاب هم مثل بقیه کتابهای مجموعه You Don’t Know JS سراغ بخشهایی از زبان میره که خیلی از توسعهدهندهها یا ازش فرار میکنن یا سطحی ازش رد میشن. هدف اینه که به جای حفظ کردن رفتارها، بفهمی چرا این رفتارها اصلاً وجود دارن.
🧰 در این کتاب یاد میگیری:
🎯 اینکه binding مربوط به this چطور بر اساس نحوه call شدن function تعیین میشه
🧩 ماهیت objectها در JavaScript و اینکه چرا به reference به objectها نیاز داریم
🧱 استفاده از الگوی mixin برای شبیهسازی class در JavaScript
🔗 نحوه کار prototype system و اینکه چطور objectها به هم لینک میشن
🔄 حرکت از مدل کلاس/ارثبری به سمت behavior delegation
🧭 استفاده از سبک OLOO (Objects Linked to Other Objects) برای پیادهسازی delegation به شکل طبیعی
📚 هدف نهایی این کتاب اینه که مدل ذهنیات از JavaScript از «کلاسمحور» به «ارتباط بین objectها» تغییر کنه.
📚 فهرست مطالب
1. این یا آن؟ (This or That?)
2. حالا این کاملاً منطقی شد!
3. Objectها
4. ترکیب (Mixing) آبجکتهای “کلاسمحور”
5. Prototypeها
6. Behavior Delegation
👨💻 درباره نویسنده
👨💻 کایل سیمپسون یک Open Web Evangelist از آستین، تگزاسه. تمرکز اصلی او روی JavaScript، HTML5، ارتباطات real-time و performance وبه. او نویسنده، مدرس کارگاههای آموزشی، سخنران فنی و عضو فعال جامعه open-source است.
🔍 مشاهده سایر کتابهای مجموعه You Don’t Know JS:
No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. This concise, in-depth guide takes you inside JavaScript’s this structure and object prototypes. You’ll learn how they work and why they’re integral to behavior delegation―a design pattern in which objects are linked, rather than cloned.
Like other books in the “You Don’t Know JS” series, this and Object Prototypes dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.
With this book you will:
- Explore how the this binding points to objects based on how the function is called
- Look into the nature of JS objects and why you’d need to point to them
- Learn how developers use the mixin pattern to fake classes in JS
- Examine how JS’s prototype mechanism forms links between objects
- Learn how to move from class/inheritance design to behavior delegation
- Understand how the OLOO (objects-linked-to-other-objects) coding style naturally implements behavior delegation
Table of Contents
Chapter 1: This or That?
Chapter 2: This All Makes Sense Now!
Chapter 3: Objects
Chapter 4: Mixing (Up) “Class” Objects
Chapter 5: Prototypes
Chapter 6: Behavior Delegation
Appendix A: ES6 Class
Appendix B: Acknowledgments
About the Author
Kyle Simpson is an Open Web Evangelist from Austin, TX. He’s passionate about JavaScript, HTML5, real-time/peer-to-peer communications, and web performance. Otherwise, he’s probably bored by it. Kyle is an author, workshop trainer, tech speaker, and avid OSS community member.
🔎 The YOU DON’T KNOW JS series includes:
| ناشر | O’Reilly |
|---|---|
| ویرایش | 1 |
| زبان | English |
| سال انتشار | 2014 |
| شابک | 9781491904152 |
| تعداد صفحات | 173 |
| قطع | B5 |
| کیفیت | اورجینال انتشارات |
| نوع چاپ | رنگی, سیاه و سفید |
| نوع جلد | جلد سخت, شومیز, طلقی |
محصولات مشابه

نقد و بررسیها
هنوز بررسیای ثبت نشده است.