
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
توسعه برنامه برای سیستمعامل موبایل اندروید ممکن است دشوار به نظر برسد؛ بهویژه اگر نیاز باشد زبان برنامهنویسی جدیدی یاد بگیرید: کاتلین، که اکنون زبان رسمی توسعه اندروید است. در این کتاب کاربردی، برنامهنویسان اندروید یاد میگیرند چگونه از جاوا به کاتلین مهاجرت کنند؛ و همچنین اینکه کاتلین چه مزیت واقعیای برای دستیابی به کنترل بر محاسبات غیرهمزمان فراهم میکند.
نویسندگان Pierre-Olivier Laurence، Amanda Hinchman-Dominguez، G. Blake Meike و Mike Dunn، پیادهسازی کارهای رایج در توسعه بومی اندروید را بررسی میکنند و نشان میدهند کاتلین چگونه میتواند به حل مسائل همزمانی کمک کند. این کتاب با تمرکز بر «همزمانیِ ساختاریافته» (structured concurrency)، بهعنوان یک الگوی جدید در برنامهنویسی غیرهمزمان، شما را قدمبهقدم از یکی از قدرتمندترین سازوکارهای کاتلین عبور میدهد، یعنی کُر-اوتینها (coroutines).
* با مبانی کاتلین و چارچوب Collections آشنا شوید
* اصول اندروید را یاد بگیرید: سیستمعامل، کانتینر برنامه و اجزای آن
* درباره ایمنی در برابر دسترسی همزمان و روش مدیریت همزمانی بیاموزید
* کارهای غیرهمزمان را بهصورت ترتیبی و با هزینهای کم بنویسید
* همزمانیِ ساختاریافته را با کُر-اوتینها بررسی کنید و یاد بگیرید کانالها چگونه به کُر-اوتینها امکان ارتباط میدهند
* یاد بگیرید چگونه از فلوها (flows) برای پردازش دادههای غیرهمزمان استفاده کنید
* با در نظر گرفتن ملاحظات عملکرد، از ابزارهای پروفایلینگ در اندروید استفاده کنید
* از بهینهسازیهای عملکردی برای کاهش مصرف منابع استفاده کنید
Developing applications for the Android mobile operating system can seem daunting, particularly if it requires learning a new programming language: Kotlin, now Android's official development language. With this practical book, Android developers will learn how to make the transition from Java to Kotlin, including how Kotlin provides a true advantage for gaining control over asynchronous computations.Authors Pierre-Olivier Laurence, Amanda Hinchman-Dominguez, G. Blake Meike, and Mike Dunn explore implementations of the most common tasks in native Android development, and show you how Kotlin can help you solve concurrency problems. With a focus on structured concurrency, a new asynchronous programming paradigm, this book will guide you through one of Kotlin's most powerful constructs, coroutines.* Learn about Kotlin essentials and the Kotlin Collections Framework* Explore Android fundamentals: the operating system and the application container and its components* Learn about thread safety and how to handle concurrency* Write sequential, asynchronous work at a low cost* Examine structured concurrency with coroutines, and learn how channels make coroutines communicate* Learn how to use flows for asynchronous data processing* Understand performance considerations using Android profiling tools* Use performance optimizations to trim resource consumption