
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
با مثالهای دقیق یاد بگیرید چطور با RxJava و Observableهای واکنشیاش، برنامههایی سریع، همزمان و قدرتمند بسازید.
درباره این کتاب
با لامبداهای جاوا ۸ و مفهوم برنامهنویسی واکنشی آشنا شوید و ببینید RxJava چطور از آنها استفاده میکند. برنامههای سریع و همزمان بسازید، بدون پیچیدگی API همزمانی جاوا و بدون دردسر حالتهای اشتراکی. با طیف گستردهای از مثالهای کد، بهراحتی با همه قابلیتها و ابزارهای RxJava آشنا شوید.
این کتاب برای چه کسانی است
اگر برنامهنویس جاوا هستید، نرمافزار مینویسید و میخواهید مهارتهای فعلیتان را در برنامهنویسی واکنشی به کار ببرید، این کتاب برای شماست.
چه چیزهایی یاد میگیرید
متوجه میشوید برنامهنویسی واکنشی چیست و چه سودی برایتان دارد. با قابلیتهای تابعی جدید جاوا ۸ و کمی نظریه تابعی آشنا میشوید. نمونههای Observable در RxJava را تقریباً از هر منبع داده میسازید. با عملگرهای مختلف RxJava داده را تبدیل، فیلتر و انباشته میکنید. چند منبع داده را با منطق دلخواه در یک مجموعه داده ترکیب میکنید. بدون دردسر برنامه همزمان مینویسید و کارها را روی workerهای مختلف زمانبندی میکنید. با واحدآزمایی منطق ناهمزمان RxJava آشنا میشوید. با نوشتن عملگرها و متدهای factory خودتان، RxJava را گسترش میدهید.
جزئیات بیشتر
چه متخصص جاوا باشید و چه تازهکار، از این کتاب بهره میبرید؛ چون روش کاملاً تازهای برای کدنویسی و فکر کردن به شما یاد میدهد. کتاب با توضیح برنامهنویسی واکنشی شروع میشود: چیست، چرا جذاب است و چطور میتوان آن را در جاوا بهکار برد. سپس قابلیتهای نحوی جدید جاوا ۸ مثل لامبداها و ارجاع به توابع، و چند مفهوم پایه برنامهنویسی تابعی را معرفی میکند. از اینجا به بعد، تمرکز کتاب روی RxJava است و آن را عمیق پیش میبرد. ساخت Observableها، تبدیل، فیلتر و ترکیب آنها، همزمانی و تست را پوشش میدهد و در پایان به گسترش خود کتابخانه میرسد. این کتاب آموزش عملی و مشخصی از RxJava است، پر از مثالهای خوب توضیحدادهشده. مفاهیم برنامهنویسی واکنشی را به زبانی ساده و خوانا بیان میکند، بدون فرمولها و اصطلاحات علمی پیچیده.
Learn how to use RxJava and its reactive Observables to build fast, concurrent, and powerful applications through detailed examplesAbout This Book Learn about Java 8's lambdas and what reactive programming is all about, and how these aspects are utilized by RxJava Build fast and concurrent applications with ease, without the complexity of Java's concurrent API and shared states Explore a wide variety of code examples to easily get used to all the features and tools provided by RxJava Who This Book Is For If you are a Java developer that knows how to write software and would like to learn how to apply your existing skills to reactive programming, this book is for you.What You Will Learn Discover what reactive programming is and how you can benefit from it Get to grips with the new functional features of Java 8 and some functional theory Create RxJava Observable instances from virtually any data source Transform, filter, and accumulate your data using various RxJava operators Combine multiple data sources in one dataset, using custom logic Write concurrent programs with ease, scheduling actions on various workers Learn about unit testing asynchronous RxJava logic Extend RxJava by writing your own operators and factory methods In Detail Whether you are a Java expert or at a beginner level, you'll benefit from this book, because it will teach you a brand new way of coding and thinking.The book starts with an explanation of what reactive programming is, why it is so appealing, and how we can integrate it in to Java. It continues by introducing the new Java 8 syntax features, such as lambdas and function references, and some functional programming basics. From this point on, the book focuses on RxJava in depth. It goes through creating Observables, transforming, filtering, and combining them, and concurrency and testing to finish with extending the library itself.This book is a definite tutorial in RxJava filled with a lot of well-described examples. It explains reactive programming concepts in plain and readable language, without scientific formulas and terms.