0 رای
وضعیت موجودی موجود

قیمت قبلی: 3,550,000 ریال
قیمت: 3,150,000 ریال

 



  • Publisher ‏ : ‎ Independently published (March 26, 2019)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 275 pages
  • ISBN-10 ‏ : ‎ 1091686513
  • ISBN-13 ‏ : ‎ 978-1091686519


 

کتابDesign Patterns in Swift 5: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills. (Swift Clinic)

Software developers need to solve various problems. Many times, these problems are the same or similar to the ones they’ve already encountered in other projects.

Wouldn’t it be great to apply the solution you’ve found instead of reinventing the wheel over and over again?

That’s precisely the reason why software design patterns exist. A design pattern is a standardized way to address a recurring problem. Relying on a proven strategy will not only save you time, but you can rest assured that it’s indeed the right choice.

Design patterns are the result of a long evolution process. It all started with a book published in 1994 - yes, it’s that old! - called “Design Patterns - Elements of Reusable Object-Oriented Software.” That’s a quite tedious title, so we usually refer to it as “the book by the gang of four.” The gang consists of four renowned software engineers: Erich Gamma, Ralph Johnson, Richard Helm, and John Vlissides. They identified the most significant common issues that occurred in multiple projects and developed best practices to solve them.

The best part: these solutions are (programming) language-agnostic. You can use the design patterns with any object-oriented programming language.

Many modern programming languages and frameworks have integrated the GoF patterns. You don’t have to write additional code to support say the Iterator or the Observer.

Swift is no exception: it provides many advanced language features and constructs such as type extensions, lazy initialization, and predefined protocols that let us adopt and integrate the design patterns into our projects easily.

This book covers all these topics and teaches best practices you can apply in your upcoming projects.

We’ll talk about the benefits of understanding and applying the design patterns, the value they provide, and also about their limitations.

Then, we delve into the creational design patterns:

  • the Singleton,
  • the Prototype,
  • the Factory Method,
  • the Builder,
  • and the Abstract Factory design pattern

We’re going to take a closer look at the structural design patterns. We discuss:

  • the Adapter,
  • the Decorator,
  • the Façade,
  • the Flyweight,
  • and the Proxy pattern

In the final part of this book, we discuss the behavioral design patterns:

  • the Chain of Responsibility,
  • the Iterator,
  • the Observer,
  • and we finish with the State design pattern

For each design pattern, we discuss the following:

  • When to use the specific design pattern?
  • How can it be implemented using Swift 5?
  • What are the challenges and pitfalls of using the given pattern?

Throughout the book, I provide coding examples that can be applied in real-world situations.


Károly Nyisztor is a veteran software engineer and instructor.

He has worked with large companies such as Apple, Siemens, and SAP. Károly has designed and built several enterprise frameworks, and he holds twelve patents related to inventions in the field of mobile computing.

After 18 years, he left the corporate world to start his own business. 

Since 2016, he's fully committed to teaching. As an instructor, he aims to share his 20+ years of software development expertise. Károly teaches:

  • Software Architecture,
  • Object-Oriented Programming and Design
  • Swift and iOS Programming,
  • and other, programming-related topics

You can find Károly Nyisztor's courses and books on all major platforms including Amazon, Lynda, LinkedIn Learning, Pluralsight, Udemy, and iTunes.

 

منابع کتاب کتابDesign Patterns in Swift 5: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills. (Swift Clinic)

توسعه دهندگان نرم افزار باید مشکلات مختلفی را حل کنند. بسیاری اوقات، این مشکلات مشابه یا مشابه مشکلاتی است که قبلاً در پروژه‌های دیگر با آن مواجه شده‌اند.
آیا عالی نیست که به جای اختراع مجدد چرخ بارها و بارها از راه حلی که پیدا کرده اید استفاده کنید؟

این دقیقاً دلیل وجود الگوهای طراحی نرم افزار است. الگوی طراحی یک راه استاندارد برای رسیدگی به یک مشکل تکراری است. تکیه بر یک استراتژی اثبات شده نه تنها در وقت شما صرفه جویی می کند، بلکه می توانید مطمئن باشید که واقعاً انتخاب درستی است.

الگوهای طراحی نتیجه یک فرآیند طولانی تکامل هستند. همه چیز با کتابی شروع شد که در سال 1994 منتشر شد - بله، آنقدر قدیمی است! - به نام "الگوهای طراحی - عناصر نرم افزار شی گرا قابل استفاده مجدد." این عنوان کاملاً خسته کننده است، بنابراین ما معمولاً از آن به عنوان "کتاب باند چهار نفره" یاد می کنیم. این باند متشکل از چهار مهندس نرم افزار معروف است: اریش گاما، رالف جانسون، ریچارد هلم و جان ولیسیدز. آن‌ها مهم‌ترین مسائل رایج را که در پروژه‌های متعدد رخ می‌داد شناسایی کردند و بهترین روش‌ها را برای حل آنها توسعه دادند.

بهترین بخش: این راه حل ها (برنامه نویسی) زبان آگنوستیک هستند. شما می توانید از الگوهای طراحی با هر زبان برنامه نویسی شی گرا استفاده کنید.

بسیاری از زبان های برنامه نویسی مدرن و فریم ورک ها الگوهای GoF را ادغام کرده اند. شما مجبور نیستید کد اضافی بنویسید برای پشتیبانی مثلا Iterator یا Observer.

Swift نیز از این قاعده مستثنی نیست: بسیاری از ویژگی ها و ساختارهای زبان پیشرفته مانند پسوندهای نوع، مقداردهی اولیه تنبل و پروتکل های از پیش تعریف شده را ارائه می دهد که به ما امکان می دهد الگوهای طراحی را به راحتی در پروژه های خود بپذیریم و ادغام کنیم.
این کتاب همه این موضوعات را پوشش می‌دهد و بهترین روش‌هایی را که می‌توانید در پروژه‌های آینده خود به کار ببرید، آموزش می‌دهد.

ما در مورد مزایای درک و به کارگیری الگوهای طراحی، ارزشی که ارائه می دهند و همچنین در مورد محدودیت های آنها صحبت خواهیم کرد.

سپس، به الگوهای طراحی خلاقانه می پردازیم:

    سینگلتون،
    نمونه اولیه،
    روش کارخانه،
    سازنده،
    و الگوی طراحی Abstract Factory

ما قصد داریم نگاهی دقیق تر به الگوهای طراحی سازه بیندازیم. ما بحث میکنیم:

    آداپتور،
    دکوراتور،
    نما،
    وزن پرواز،
    و الگوی پروکسی

در بخش پایانی این کتاب به الگوهای طراحی رفتاری می پردازیم:

    زنجیره مسئولیت،
    تکرار کننده،
    ناظر،
    و با الگوی طراحی State به پایان می رسانیم

برای هر الگوی طراحی، موارد زیر را مورد بحث قرار می دهیم:

    چه زمانی از الگوی طراحی خاص استفاده کنیم؟
    چگونه می توان آن را با استفاده از سوئیفت 5 پیاده سازی کرد؟
    چالش ها و مشکلات استفاده از الگوی داده شده چیست؟

در سرتاسر کتاب، نمونه‌های کدنویسی را ارائه می‌دهم که می‌توانند در موقعیت‌های واقعی به کار روند.

Károly Nyistor یک مهندس و مدرس نرم افزار کهنه کار است.

او با شرکت های بزرگی مانند اپل، زیمنس و SAP کار کرده است. کارولی چندین چارچوب سازمانی را طراحی و ساخته است و دوازده حق ثبت اختراع مربوط به اختراعات در زمینه محاسبات تلفن همراه را دارد.

پس از 18 سال، او دنیای شرکت ها را ترک کرد تا تجارت خود را راه اندازی کند.

از سال 2016، او کاملا متعهد به تدریس است. او به عنوان یک مربی، قصد دارد بیش از 20 سال تخصص خود را در زمینه توسعه نرم افزار به اشتراک بگذارد. کارولی آموزش می دهد:

    معماری نرم افزار،
    برنامه نویسی و طراحی شی گرا
    برنامه نویسی سوئیفت و iOS
    و سایر موضوعات مرتبط با برنامه نویسی

می‌توانید دوره‌ها و کتاب‌های Károly Nyisztor را در همه پلتفرم‌های اصلی از جمله Amazon، Lynda، LinkedIn Learning، Pluralsight، Udemy و iTunes بیابید.

نظرات کاربران درباره کتابDesign Patterns in Swift 5: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills. (Swift Clinic)

نظری در مورد این محصول توسط کاربران ارسال نگردیده است.
اولین نفری باشید که در مورد کتابDesign Patterns in Swift 5: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills. (Swift Clinic) نظر می دهد.

ارسال نظر درباره کتابDesign Patterns in Swift 5: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills. (Swift Clinic)

لطفا توجه داشته باشید که ایمیل شما منتشر نخواهد شد.

برچسب های مرتبط با کتابDesign Patterns in Swift 5: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills. (Swift Clinic)

Programming Languages خرید اینترنتی کتاب های زبان اصلی کامپیوتر خرید اینترنتی کتاب های زبان اصلی swift Computers book

بر اساس سلیقه شما...

  Product details Publisher ‏ : ‎  Wiley Publi ...
8,880,000 ریال
  Product details Publisher ‏ : ‎  For Dummies ...
5,200,000 ریال

codebazan

طراحی و اجرا: فروشگاه ساز سبدخرید