
۴۴٬۰۰۰تومان
نوع فایل دانلود: PDF
پس از خرید، یک فایل PDF دریافت میکنید.
این فایل با Adobe Reader، مرورگر و اپهای PDF روی کامپیوتر و موبایل باز میشود.
مفاهیم برنامهنویسی تابعی و ماهیت تابعی زبان جاوااسکریپت را بشناسید. با معرفی مفاهیم برنامهنویسی تابعی شروع میکنید و تفاوتهای اصلی بین برنامهنویسی امری و تابعی را یاد میگیرید. سپس مستقیم سراغ توابع جاوااسکریپت میروید و نوشتن آنها با ES8 را میآموزید. بعد از آن به توابع مرتبه بالاتر میرسید و میبینید که «تابع بهعنوان داده» چه امکانات گستردهای باز میکند. سپس با بستنها (closures) توابع مرتبه بالاتر میسازید. بعد آرایهها معرفی میشوند و مجموعهای از APIهایی که میتوانید با آنها استفاده کنید. یاد میگیرید چگونه با کارینگ و اعمال جزئی، یک تابع را به تابع دیگری تبدیل کنید. تابع compose با جزئیات بررسی میشود و سپس فانکتورها و مونادها. پس از نگاهی عمیق به فانکتورهای applicative، ویژگیهای جدید ES8 را میآموزید. فصلهای پایانی Beginning Functional JavaScript نشان میدهد چگونه با یک جعبهابزار تابعی یک کتابخانه کوچک بسازید که به شما اجازه میدهد برنامههای وب توسعه دهید؛ سپس نکاتی درباره تست کد تابعیتان میآید. شما یاد خواهید گرفت:• مفاهیم برنامهنویسی تابعی مانند padding رشته و توابع async را کشف کنید• ببینید توابع در جاوااسکریپت چگونه رفتار میشوند• یک کتابخانه تابعی بسازید که شبیه Underscore.JS باشد• عمیق وارد ویژگیهای تابعی ES8 مانند عملگرهای spread و ژنراتورها شوید• با پیروی از پارادایم تابعی، کتابخانهای بسازید که مانند الگوی react-redux کار کند
Understand functional programming concepts and the functional nature of the JavaScript language. Starting with an introduction to functional programming concepts, you will learn the key differences between imperative and functional programming. Diving straight into JavaScript functions, you will learn to write them with ES8. Followed by this you will move to higher order functions and learn how 'Function as Data' opens up a world of possibilities.You will then build higher order functions with closures. Arrays will then be introduced, followed by a set of APIs you can use with them. You will learn how to transform one function to another using currying and partial application. The compose function will be discussed in detail, followed by functors and monads. After having an in-depth look at applicative functors, you will learn the new features offered in ES8.The concluding chapters of Beginning Functional JavaScript will show you how to use a functional toolkit to build a small library that allows you to develop web applications, followed by tips on testing your functional code.You will:• Discover functional programming concepts such as string padding and async functions• Identify how functions are treated in JavaScript• Create a functional library that mimics Underscore.JS• Deep dive into ES8 functional features such as spread operators and generators• Create a library that works like the react-redux pattern by following the functional paradigm