- عنوان کتاب: Become a ninja with Angular
- نویسنده: Ninja Squad
- حوزه: برنامهنویسی انگولار
- سال انتشار: 2026
- تعداد صفحه: 371
- زبان اصلی: انگلیسی
- نوع فایل: pdf
- حجم فایل: 8.38 مگابایت
پس میخوای نینجا بشی، نه؟ خب، دستت تو کاره! اما ما، من و تو، راه درازی در پیش داریم، با کلی چیز برای یادگیری :). ما دوران هیجانانگیزی رو در توسعه وب تجربه میکنیم. یه انگولار جدید اومده. یه بازنویسی کامل از AngularJS قدیمی و خوب. چرا یه بازنویسی کامل؟ آیا AngularJS 1.x کافی نبود؟ من AngularJS قدیمی رو خیلی دوست دارم. تو شرکت کوچیکمون، چندین پروژه باهاش ساختیم، کدها رو به چارچوب اصلی اضافه کردیم، صدها توسعهدهنده رو آموزش دادیم (بله، واقعاً)، و حتی یه کتاب در موردش نوشتیم (به زبان فرانسوی، اما اون هم هنوز مهمه). AngularJS وقتی بهش مسلط بشیم، فوقالعاده پربازدهست. با وجود همه اینا، این مانع از دیدن نقاط ضعفش نمیشه. AngularJS بینقص نیست، با مفاهیم خیلی سختی که باید فهمید، و تلههایی که نمیشه ازشون اجتناب کرد. بیشتر از همه، وب از وقتی که AngularJS شکل گرفت تغییر کرده. جاوااسکریپت تغییر کرده. چارچوبهای جدیدی با ایدههای عالی یا پیادهسازی بهتر ظهور کردن. ما از اون دسته توسعهدهندگانی نیستیم که به شما بگیم باید از این ابزار به جای اون یکی استفاده کنید. ما اتفاقاً بعضی از ابزارها را خیلی خوب میشناسیم و میدانیم چه چیزی برای پروژه مناسب است. AngularJS یکی از این ابزارها بود که به ما اجازه میداد برنامههای وب آزمایششده و سریع بسازیم. ما همچنین سعی کردیم آن را در جاهایی که مناسب نبود، خم کنیم. ما را سرزنش نکنید، این اتفاق برای بهترینهای ما هم میافتد. Angular نکات جالب زیادی دارد و چشماندازی که کمتر فریمورک دیگری دارد. این فریمورک برای وب فردا طراحی شده است، با در نظر گرفتن ECMAScript 6، کامپوننتهای وب و موبایل. وقتی برای اولین بار معرفی شد، من هم مثل خیلیها در ابتدا ناراحت بودم که نسخه ۲.۰ یک بهروزرسانی ساده نخواهد بود (اگر تازه در مورد آن یاد میگیرید، متاسفم). اما مشتاق بودم ببینم تیم بااستعداد گوگل چه راهحلی ارائه میدهد. بنابراین تقریباً بعد از اولین کامیتها، شروع به نوشتن این کتاب الکترونیکی کردم، اسناد طراحی را خواندم، ویدیوهای کنفرانس را تماشا کردم و از ابتدا هر کامیت را بررسی کردم. وقتی اولین کتاب الکترونیکیام را در مورد AngularJS 1.x نوشتم، از قبل یک هیولای پایدار و شناختهشده بود. این یکی خیلی متفاوت است. این کار از زمانی شروع شد که Angular حتی در ذهن طراحانش هم مشخص نبود. چون میدانستم چیزهای زیادی یاد خواهم گرفت، نه تنها در مورد Angular، بلکه در مورد مفاهیمی که آینده توسعه وب را شکل میدهند، که برخی از آنها هیچ ارتباطی با Angular ندارند. و این کار را هم کردم. مجبور شدم در مورد برخی از این مفاهیم عمیقاً کاوش کنم و امیدوارم شما هم از سفر یادگیری در مورد آنها و نحوه ارتباط آنها با Angular به اندازه من لذت ببرید. هدف این کتاب الکترونیکی تکامل با Angular است. اگر معلوم شود که Angular همان چارچوب بزرگی است که امیدواریم، بهروزرسانیهایی با بهترین شیوهها و برخی ویژگیهای جدید به محض ظهور آنها دریافت خواهید کرد (و با اشتباهات تایپی کمتر، زیرا با وجود بررسیهای بیشمار ما، احتمالاً برخی از آنها باقی ماندهاند…). و دوست دارم از شما بشنوم – اگر برخی از فصلها به اندازه کافی واضح نیستند، اگر اشتباهی را متوجه شدید یا اگر راه بهتری برای برخی از قسمتها دارید. با این حال، من در مورد نمونههای کد کاملاً مطمئن هستم، زیرا همه آنها در یک پروژه واقعی با چند صد تست واحد هستند. این تنها راه برای نوشتن یک کتاب الکترونیکی با یک فریمورک تازه متولد شده بود، و اینکه بتوان تمام مشکلاتی را که ناگزیر با هر نسخه به وجود میآمدند، در نظر گرفت.
So you want to be a ninja, huh? Well, you’re in good hands! But we have a long road, you and me, with lots of things to learn :). We’re living exciting times in Web development. There is a new Angular. A complete rewrite of the good old AngularJS. Why a complete rewrite? Was AngularJS 1.x not enough? I like the old AngularJS very much. In our small company, we have built several projects with it, contributed code to the core framework, trained hundreds of developers (yes, really), and even written a book about it (in French, but that still counts). AngularJS is incredibly productive once you have mastered it. Despite all of this, it doesn’t prevent us from seeing its weaknesses. AngularJS is not perfect, with some very difficult concepts to grasp, and traps hard to avoid. Most of all, the Web has changed since AngularJS was conceived. JavaScript has changed. New frameworks have emerged, with great ideas, or better implementation. We are not the kind of developers to tell you that you should use this tool instead of that one. We just happen to know some tools very well, and know what fits the project. AngularJS was one of those tools, allowing us to build well-tested web applications, and to build them fast. We also tried to bend it where it didn’t fit. Don’t blame us, it happens to the best of us. Angular has a lot of interesting points, and a vision that few other frameworks have. It has been designed for the Web of tomorrow, with ECMAScript 6, Web Components and Mobile in mind. When it was first announced, I was, like many, sad at first that the 2.0 version would not be a simple update (I’m sorry if you’re just learning about it). But I was also eager to see what solution the talented Google team would come up with. So I started to write this ebook, pretty much after the first commits, reading the design docs, watching the conference videos, reviewing every commit since the beginning. When I wrote my first ebook, about AngularJS 1.x, it was already a stable and known beast. This one is very different. It started when Angular was not even clear in the minds of its designers. Because I knew I would learn a lot, not only about Angular but also about the concepts that would shape the future of Web development, some of which have nothing to do with Angular. And I did. I had to dig deep about some of these concepts, and I hope that you will enjoy the journey of learning about them, and how they relate to Angular, as much as I did. The ambition of this ebook is to evolve with Angular. If it turns out that Angular is the great framework we hope, you will receive updates with the best practices and some new features as they emerge (and with fewer typos, because, despite our countless reviews, there are probably some left…). And I would love to hear back from you – if some chapters aren’t clear enough, if you spot a mistake or if you have a better way for some parts. I’m fairly confident about the code samples, though, as they are all in a real project, with several hundred unit tests. It was the only way to write an ebook with a newborn framework, and to be able to catch all the problems that inevitably arose with each release.
این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:
Download: Become a ninja with Angular





نظرات کاربران