
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
با قدرت برنامهنویسی پروتکلمحور، برنامههایی سریع و قدرتمند بسازید.
درباره این کتاب
• از قدرت برنامهنویسی پروتکلمحور در برنامههایتان بهره بگیرید و از نمونههای واقعی یاد بگیرید
• با پروتکلها و افزونههای پروتکل، مجموعهکدی انعطافپذیر بسازید
• با برنامهنویسی پروتکلمحور، بهرهوری و کارایی کلی برنامهها را بالا ببرید
این کتاب برای چه کسانی است
این کتاب برای توسعهدهندگان Swift است که میخواهند برنامهنویسی پروتکلمحور را یاد بگیرند و در برنامههای عملی بهکار ببرند.
آنچه میآموزید
• تفاوت برنامهنویسی شیءگرا و برنامهنویسی پروتکلمحور را بفهمید
• انواع مختلفی را که Swift در اختیار میگذارد بشناسید و از دامهای رایج دوری کنید
• مدیریت خطا با بلوک do-try-catch
• با جنریکها و برنامهنویسی جنریک آشنا شوید
• چند الگوی طراحی را به شیوهای پروتکلمحور پیادهسازی کنید
• برنامهها را طوری طراحی کنید که اول پروتکل باشد و بعد نوع واقعی
با جزئیات بیشتر
یکی از مهمترین افزودهها به قابلیتهای زبان برنامهنویسی Swift، بازنگری اساسی پروتکلها بود. برنامهنویسی پروتکلمحور و معناشناسی مقدار بهعنوان مفهومی درجه یک، اکنون دو ایده بسیار قدرتمند در قلب طراحی Swift هستند.
این کتاب به شما کمک میکند تفاوت برنامهنویسی شیءگرا و برنامهنویسی پروتکلمحور را بفهمید. نشان میدهد چطور با نمونههای واقعی با برنامهنویسی پروتکلمحور کار کنید. دانش محکمی از انواع قابل استفاده در Swift و تفاوت انواع مقدار و مرجع بهدست میآورید. یاد میگیرید چطور از ویژگیهای پیشرفته برنامهنویسی پروتکلمحور برای بالا بردن کارایی برنامههایتان استفاده کنید.
در پایان کتاب، درک کاملی از برنامهنویسی پروتکلمحور دارید و میدانید چطور با آن برنامههایی قدرتمند و کاربردی بسازید.
سبک و رویکرد
این کتاب برای توسعهدهندگانی نوشته شده که با کار روی کد بهتر یاد میگیرند؛ به همین دلیل هر مفهوم مطرحشده در کتاب با نمونههای واقعی کد تقویت میشود.
Build fast and powerful applications with the power of protocol-oriented programmingAbout This Book• Leverage the power of protocol-oriented programming in your applications and learn from real world use cases• Create a flexible codebase with protocols and protocol extensions• Increase the overall productivity and performance of applications with protocol-oriented programmingWho This Book Is ForThis book is for Swift developers who want to learn and implement protocol-oriented programming in practical applications.What You Will Learn• Understand the difference between object-oriented programming and protocol-oriented programming• Explore the different types that Swift offers and what pitfalls to avoid• Error handling with do-try-catch block• Delve into Generics and Generic programming• Implement several design patterns in a protocol-oriented way• How to design applications by prioritizing the protocol first and the actual type secondIn DetailOne of the most important additions to the new features and capabilities of the Swift programming language was an overhaul of Protocols. Protocol-oriented programming and first class value semantics have now become two incredibly powerful concepts at the heart of Swift's design.This book will help you understand the difference between object-oriented programming and protocol-oriented programming. It will demonstrate how to work with protocol-oriented programming using real world use cases. You will gain solid knowledge of the different types that can be used in Swift and the differences between value and reference types. You will be taught how to utilize the advanced features of protocol-oriented programming to boost the performance of your applications.By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful, practical applications.Style and approachThis book is written for developers who learn best by working with code, so every concept discussed in this book is reinforced with real code examples.