Marijn Haverbeke

#Eloquent
#JavaScript
#Node.js
#HTTP
🚀 ساخت اپلیکیشنهای وب زیبا با JavaScript رو با یکی از پرفروشترین کتابهای آموزشی این زبان شروع کن؛ کتابی که حالا با قابلیتهای جدید، تمرینهای تازه و پروژههای جذاب بهروزرسانی شده.
🌐 JavaScript، زبانیه که به ما اجازه میده برنامهها رو داخل صفحات وب اجرا کنیم و تقریباً قلب تمام اپلیکیشنهای مدرن وب محسوب میشه؛ از شبکههای اجتماعی گرفته تا بازیهای تحت مرورگر. تقریباً روی هر دستگاهی قابل اجراست و همین موضوع باعث میشه انتخاب فوقالعادهای برای نوشتن کدهای کاربردی و همهجانبه باشه.
📘 نسخهی چهارم این کتاب کلاسیک، تو رو وارد سفری در دنیای زبان وب میکنه؛ سفری که از مفاهیم پایه شروع میشه و کمکم به ساخت برنامههای کامل و جذاب میرسه. تجربههای شخصی نویسنده از سالها نگهداری پروژههای Open Source محبوب، باعث شده متن کتاب پر از نکات عملی و مثالهای واقعی باشه.
⚡️ این نسخه از Eloquent JavaScript کتاب رو برای توضیح نسخهی ۲۰۲۴ JavaScript بهروزرسانی کرده و تمرکز بعضی مباحث رو تغییر داده تا با شیوههای مدرن توسعهی نرمافزار هماهنگتر باشه.
🧠 رویکرد کتاب کاملاً عملیه و مفاهیم تئوری رو با مثالهای زیاد و کاربردی آموزش میده. نیمهی اول کتاب روی مفاهیم اصلی زبان تمرکز داره و نیمهی دوم نشون میده چطور JavaScript رو در دو محیط اصلی استفاده کنی: مرورگر وب و Node.js.
🎮 پنج فصل پروژهمحور بهت نشون میدن چطور برنامههای بزرگتر بسازی. پروژهها بهشکل مرحلهای و محاورهای جلو میرن و شامل موارد زیر هستن:
🤖 یک ربات مسیریاب (Pathfinding Robot)
🧩 یک زبان برنامهنویسی کوچک
🎮 یک بازی پلتفرمر
🎨 یک برنامهی نقاشی Pixel Art
🌍 یک وبسایت داینامیک ساده
📝 تمرینهایی که در انتهای بیشتر فصلها قرار گرفتن، مجبورت میکنن مفاهیم و تکنیکهای یادگرفتهشده رو خلاقانه استفاده کنی. همچنین وبسایت همراه کتاب، محیطی تعاملی برای حل تمرینها و اجرای مثالها فراهم کرده.
💡 فرقی نمیکنه هدفت شروع یادگیری JavaScript باشه یا عمیقتر کردن مهارتهای برنامهنویسی؛ این کتاب پر از محتوای ارزشمند و الهامبخشه.
⚙️ بهروزرسانیشده بر اساس ECMAScript 2024
📑 فهرست مطالب
📰 نقد و بررسیها
🌟 «یک بهروزرسانی کاملاً ارزشمند و ضروری برای این کتاب محبوب برنامهنویسی. اینکه کتاب ES6 رو پوشش میده خودش دلیل خوبی برای دوباره خوندنشه، ولی نسخهی جدید خیلی فراتر از این رفته؛ با تصویرسازیهای جدید، تمرینهای تازه و نگارشی بهتر. نسخهی سوم این کتاب نسبت به نسخههای قبلی پیشرفت بزرگی داشته و واقعاً ارزش این همه تعریف رو داره.»
— Books on Code
📘 «یک آموزش JavaScript هوشمند، جمعوجور و خوشساخت که هم نسخهی چاپی از No Starch Press داره و هم نسخهی وب رایگان با فرمت عالی... بدون شک یکی از لذتبخشترین کتابهای این لیسته. اینقدر نکتهی مفید داخلش هست که اصلاً خسته نمیشی.»
— Matthew MacDonald، Medium's Young Coder
🚀 «تمام دانشی که برای شروع جدی یک پروژهی JavaScript نیاز داری داخل این کتاب پیدا میشه... کتابیه که مرتب بهش برمیگردم، چون دوباره JavaScript رو وارد رادارم کرد.»
— GeekTechStuff
🧠 «این کتاب میتونه یک اضافهی فوقالعاده به مجموعه کتابهای مرجع هر توسعهدهندهای باشه. واقعاً سبک نوشتن نویسنده و شفافیت توضیحاتش رو دوست داشتم. نمونهکدها و تمرینها هم واقعاً کار میکنن؛ چیزی که در کتابهای فنی همیشه رایج نیست.»
— Gary Woodfine، توسعهدهنده نرمافزار
📚 «فکر میکنم این یکی از لذتبخشترین کتابهای برنامهنویسیایه که خوندم. ویژگیهای اصلی زبان رو خیلی خلاصه و دقیق توضیح میده و بعد خیلی خوب نشون میده چطور باید از اون ویژگیها استفاده کرد.»
— Ian Hopkinson
💡 «اگر حتی کمی به یادگیری JavaScript علاقهمند باشی، انتخاب این کتاب بهعنوان اولین راهنما میتونه تفاوت بین ناامید شدن و رها کردن برنامهنویسی یا وارد شدن جدی به این مسیر برای تمام عمر باشه.»
— Joshua Johnson
👨🏫 «مارین هاوربکه یک فیلسوف نرمافزار و نابغهی واقعی محسوب میشه. حس شوخطبعی فوقالعادهای داره و هم متن و هم کد رو بهشکل دوستانه و بدون ترس ایجاد کردن مینویسه. مثل بهترین معلمها، دانشش رو با سادگی خیرهکننده منتقل میکنه. من بعد از خوندن این کتاب، معمار، نویسنده، منتور و توسعهدهندهی بهتری شدم. این کتاب شایستهست کنار آثار فلاناگان و کراکفورد قرار بگیره.»
— Angus Croll، Javascript We Blog
⚡️ «یک شاهکار واقعی که تو رو از مفاهیم پایه تا اوج تسلط بر JavaScript میبره. نثر محاورهای مارین هاوربکه به JavaScript جان میده و اون رو قابلفهم و جذاب میکنه.»
— Alex Maher، توسعهدهنده .NET و C#
🗣️ «مارین هاوربکه لحن نوشتاری فوقالعادهای داره.»
— Abu Sayed، وبلاگ Sayed.Cyou
🎯 «یکی از ویژگیهایی که باعث میشه نسخهی سوم Eloquent JavaScript اینقدر خوب باشه اینه که از پیچیدگی فرار نمیکنه... هاوربکه معلم بسیار بااستعدادیه و انگار بهصورت ذاتی میدونه چطور مفاهیم سخت رو بدون بیشازحد سادهسازی توضیح بده.»
— Neil Abad، Book Review Buffs
👨💻 درباره نویسنده
🌍 مارین هاوربکه علاقهمند به زبانهای برنامهنویسی و یک Polyglot Programmer محسوب میشه. اون روی طیف گستردهای از سیستمهای نرمافزاری کار کرده؛ از دیتابیسها گرفته تا کامپایلرها و ویرایشگرهای کد. همچنین یک کسبوکار کوچک حول پروژههای Open Source خودش اداره میکنه.
Start building beautiful web applications in JavaScript with the bestselling introduction to the language, updated with new features, fresh exercises, and fun projects.
JavaScript, the programming language that allows us to add programs to web pages, lies at the heart of almost every modern web application, from social media sites to browser-based games. Just about every device can run it, making it a great choice for writing universally useful code.
The fourth edition of this classic textbook takes you on a journey through the language of the web, starting from its basic elements and building up to engaging, complete programs. The author’s personal experiences from years of maintaining popular open source projects enliven the text with practical insights and examples.
This edition of Eloquent JavaScript updates the book to describe the 2024 version of JavaScript, and shifts the attention given to some topics to better reflect current development practices.
The text takes a practical approach to teaching, rooting theory in plenty of motivating examples. The first half of the book describes the fundamentals of the language, whereas the second half shows how to apply it in two programming environments: the web browser and Node.js. Five project chapters show how to build bigger programs, working through these projects in a piecemeal, conversational way. They include a pathfinding robot, a small programming language, a platform game, a pixel drawing program, and a simple dynamic website.
Exercises provided at the end of most chapters will challenge you to creatively apply the concepts and techniques introduced. The book’s companion website provides an interactive environment for working on these exercises and playing with the example programs.
Whether you’re looking to learn JavaScript or to deepen your programming skills, you’ll find this book full of stimulating material.
Updated to ECMAScript 2024
Table of Contents
1. Values, Types, and Operators
2. Program Structure
3. Functions
4. Data Structures: Objects and Arrays
5. Higher-Order Functions
6. The Secret Life of Objects
7. Project: A Robot
8. Bugs and Errors
9. Regular Expressions
10. Modules
11. Asynchronous Programming
12. Project: A Programming Language
13. JavaScript and the Browser
14. The Document Object Model
15. Handling Events
16. Project: A Platform Game
17. Drawing on Canvas
18. HTTP and Forms
19. Project: A Pixel Art Editor
20. Node.js
21. Project: Skill-Sharing Website
Praise for the 3rd edition of Eloquent JavaScript:
“A worthy and much-needed update to the popular programming book. The fact that the book covers ES6 is worth a re-read, but the new edition goes above and beyond with new illustrations, a new exercise, and tighter writing. The 3rd edition of the book is substantially improved from its predecessors and worthy of the hype.”
—Books on Code
"It’s a smart, lean JavaScript tutorial that exists as an in-print book from No Starch Press, and a free, nicely formatted web version . . . easily the most enjoyable read in this list. And there are so many useful insights that you won’t be bored."
—Matthew MacDonald, Medium's Young Coder
“This is all the JavaScript knowledge you’ll need to hit the ground running in a JavaScript project . . . it’s a book I will be frequently revisiting as it has put JavaScript back on my radar.”
—GeekTechStuff
“This book would make a great addition to any developer's reference books . . . I really like the author's style of writing and clarity of explanations. The sample code and exercises also work, which can be a rare feature in tech-related books”
—Gary Woodfine, Software Developer
“I think this is one of the most enjoyable programming books I’ve read. It covers the core features of the language concisely but then goes on to illustrate how to use those features.”
—Ian Hopkinson, IanHopkinson.org
“If you’re at all interested in learning JavaScript, making this your first guide could mean the difference between getting discouraged and giving up and really getting into programming as a lifelong venture.”
—Joshua Johnson, Design Shack
“Marijn Haverbeke is a software philosopher and all-round genius. He also has a terrific sense of humor and writes both prose and code in a friendly and un-intimidating fashion. In common with the very best teachers he dispenses his wisdom with disarming simplicity. I became a better architect, author, mentor and developer because of this book. It deserves to share shelf space with Flannagan and Crockford.”
—Angus Croll, Javascript We Blog
"A tour de force that takes you from the fundamentals to the heights of JavaScript mastery. Marijn Haverbeke’s conversational prose breathes life into JavaScript, making it accessible and engaging."
—Alex Maher, .NET C# dev
"The author, Marijn Haverbeke, has a great voice."
—Abu Sayed, Sayed.Cyou Blog
"One of the things that makes [Eloquent JavaScript, 3rd Edition] so good is that it doesn’t shy away from complexity . . . Haverbeke is a talented teacher, and he seems to have an intuitive understanding of how difficult concepts can be explained without oversimplifying them."
—Neil Abad, Book Review Buffs
Marijn Haverbeke is a programming language enthusiast and polyglot. He’s worked on a wide range of software systems, from databases to compilers to editors. He runs a small business around his open source projects.









