A Learner's Guide to Modern JavaScript
Eric Freeman and Elisabeth Robson

#JavaScript
#Web_applications
#DOM
🟨 برنامهنویسی JavaScript به سبک Head First
🧠 از این کتاب چه چیزهایی یاد میگیری؟
📘 ویرایش جدید این راهنمای سازگار با شیوه کار مغز، تو رو وارد یک مسیر جامع برای یادگیری JavaScript مدرن میکنه؛ از مبانی اصلی زبان گرفته تا قابلیتهای پیشرفته و امروزی.
🔍 با جزئیات Typeهای JavaScript و انعطافپذیری منحصربهفرد Functionها آشنا میشی. همینطور یاد میگیری چطور با Classها و Objectها حرفهای کار کنی و بالاخره مفهوم Closureها رو بهدرستی بفهمی.
🌐 اما این تازه شروع کاره. بهصورت عملی با Document Object Model یا DOM مرورگر کار میکنی و روشهای جذابی برای تعامل JavaScript با صفحات وب یاد میگیری.
🎮 در این کتاب فقط متن نمیخونی؛ بازی میکنی، معما حل میکنی، درباره مسئلههای مختلف فکر میکنی و به شکلی با JavaScript تعامل داری که احتمالاً قبلاً تجربه نکردی. همینطور مقدار زیادی کد واقعی مینویسی تا بتونی ساخت اپلیکیشنهای خودت رو شروع کنی.
✨ چه چیزی این کتاب رو خاص میکنه؟
🧩 اگر قبلاً یکی از کتابهای Head First رو خونده باشی، میدونی باید منتظر چه چیزی باشی: یک قالب بصری غنی که متناسب با شیوه یادگیری مغز طراحی شده.
🎨 اگر هنوز کتابی از این مجموعه نخوندی، تجربه متفاوتی در انتظارت هست. در این کتاب، JavaScript رو از طریق یک تجربه چندحسی یاد میگیری که ذهنت رو درگیر میکنه؛ نه با متنهای سنگین و خستهکنندهای که باعث خوابآلودگی میشن.
📖 فهرست مطالب
فصل ۱. آشنایی سریع با JavaScript
فصل ۲. نوشتن کد واقعی
فصل ۳. معرفی Functionها
فصل ۴. منظم کردن دادهها
فصل ۵. درک Objectها
فصل ۶. تعامل با صفحه وب
فصل ۷. Typeها، برابری و موضوعهای مرتبط
فصل ۸. کنار هم قرار دادن همه چیز
فصل ۹. مدیریت Eventها
فصل ۱۰. Functionهای ناشناس و مرتبهبالا
فصل ۱۱. Syntax مدرن، Lexical Scope و Closureها
فصل ۱۲. ساخت پیشرفته Objectها
👤 درباره نویسندگان
👨💻 اریک فریمن دانشمند علوم کامپیوتر، نویسنده حوزه تکنولوژی و کارآفرینه. او قبلاً مدیر ارشد فناوری یا CTO در شرکت Walt Disney بوده.
📚 جدیدترین کتاب اریک با عنوان Head First Learn to Code، یک راهنمای مقدماتی برای یادگیری کدنویسی و تفکر محاسباتیه. او مدرک دکترای علوم کامپیوتر خودش رو از Yale University گرفته و همراه همسر و دختر خردسالش در آستین تگزاس زندگی میکنه.
👩💻 الیزابت رابسون زمانی به کامپیوتر علاقهمند شد که یک برنامه BASIC نوشت تا صفحه نمایش Commodore 64 خودش رو با تصویر قلب پر کنه. از اون زمان تا امروز، همیشه عاشق این بوده که کامپیوترها رو وادار کنه کارهای جالب انجام بدن.
🖥️ او با سیستمهای مختلفی، از ابرکامپیوترها گرفته تا iPhone، کار کرده و از سالهای ابتدایی شکلگیری وب برنامهنویسی میکنه. الیزابت در اون دوران یکی از اولین منابع آنلاین مخصوص زنان فعال در حوزه تکنولوژی رو ساخت.
🎓 او علاوه بر سالها تجربه برنامهنویسی، دورههای آموزشی آنلاین تولید کرده و چهار کتاب پرفروش و یک دوره ویدئویی آنلاین برای O’Reilly Media نوشته:
Head First Design Patterns
Head First HTML and CSS
Head First JavaScript Programming
Head First HTML5 Programming
Learn to Build iPhone Apps with HTML, CSS, and JavaScript
🏢 الیزابت در حال حاضر همبنیانگذار و مدیر اصلی WickedlySmart است؛ شرکتی که در حوزه محتوای آموزشی و تکنولوژی فعالیت میکنه.
What will you learn from this book?
The new edition of this brain-friendly guide takes you through a comprehensive journey into modern JavaScript, covering everything from core language fundamentals to today's cutting-edge features. You'll dive into the nuances of JavaScript types and the unparalleled flexibility of its functions. You'll also learn how to expertly navigate classes and objects, and finally understand closures. But that's just the beginning. You'll also get hands-on with the browser's document object model (DOM), engaging with JavaScript in exciting ways. You won't just be reading—you'll be playing games, solving puzzles, pondering mysteries, and interacting with JavaScript as never before. And you'll write real code, lots of it, so you can start building your own applications.
What's so special about this book?
If you've read a Head First book, you know what to expect: a visually rich format designed for the way your brain works. If you haven't, you're in for a treat. With this book, you'll learn JavaScript through a multisensory experience that engages your mind—rather than a text-heavy approach that puts you to sleep.
Table of Contents
Chapter 1: A quick dip into JavaScript
Chapter 2: Writing real code
Chapter 3: Introducing functions
Chapter 4: Putting some order in your data
Chapter 5: Understanding objects
Chapter 6: Interacting with your web page
Chapter 7: Types, equality, and all that jazz
Chapter 8: Bringing it all together
Chapter 9: Handling events
Chapter 10: Anonymous and higher-order functions
Chapter 11: Modern syntax, lexical scope, and closures
Chapter 12: Advanced object construction
Eric Freeman is a computer scientist, technology writer, and entrepreneur. Previously, he was a CTO at the Walt Disney Company. Eric's most recent book, Head First Learn to Code, is a beginner's guide to coding and computational thinking. Eric lives with his wife and young daughter in Austin, Texas. He holds a PhD in computer science from Yale University.
Elisabeth Robson first got hooked on computers when she wrote a BASIC program to fill up her Commodore 64's monitor screen full of hearts. She's loved getting computers to do fun things ever since. She's tinkered with everything from super computers to her iPhone, and she's been programming the Web since the early days, when she built one of the first online resources for women in technology. Along with her many years of programming experience, Elisabeth has produced online training, and written four best-selling books and an online video course for O'Reilly Media (Head First Design Patterns, Head First HTML and CSS, Head First JavaScript Programming, Head First HTML5 Programming, and Learn to Build iPhone Apps with HTML, CSS, and JavaScript). She is currently co-founder and principal at WickedlySmart, an education content and technology company.









