Packt.Go.Design.Patterns.2017

上传者: doomlord | 上传时间: 2022-12-27 17:59:18 | 文件大小: 2.2MB | 文件类型: PDF
Key Features Introduction of the CSP concurrency model by explaining GoRoutines and channels. Objective comparison, with the help of images, of the CSP concurrency model and the Actor model to give the audience a "side by side" understanding of the CSP model. Explanation, including comprehensive text and examples, of all known GoF design patterns in Go. Book Description Go is a multi-paradigm programming language that has built-in facilities to create concurrent applications. Design patterns allow developers to efficiently address common problems faced during developing applications. Go Design Patterns will provide readers with a reference point to software design patterns and CSP concurrency design patterns to help them build applications in a more idiomatic, robust, and convenient way in Go. The book starts with a brief introduction to Go programming essentials and quickly moves on to explain the idea behind the creation of design patterns and how they appeared in the 90's as a common "language" between developers to solve common tasks in object-oriented programming languages. You will then learn how to apply the 23 GoF design patterns in Go and also learn about CSP concurrency patterns, the "killer feature" in Go that has helped Google develop software to maintain thousands of servers. Thus the book will enable you to understand and apply design patterns in an idiomatic way that will produce concise, readable, and maintainable software. What you will learn All basic syntax and tools needed to start coding in Go. Encapsulate the creation of complex objects in an idiomatic way in Go. Create unique instances that cannot be duplicated within a program. Understand the importance of object encapsulation to provide clarity and maintainability. Prepare cost-effective actions so that different parts of the program aren't affected by expensive tasks. Deal with channels and GoRoutines within the Go context to build concurrent application in Go in an idiomatic way. Table of Contents Chapter 1. Ready... Steady... Go! Chapter 2. Creational Patterns - Singleton, Builder, Factory, Prototype, and Abstract Factory Design Patterns Chapter 3. Structural Patterns - Composite, Adapter, and Bridge Design Patterns Chapter 4. Structural Patterns - Proxy, Facade, Decorator, and Flyweight Design Patterns Chapter 5. Behavioral Patterns - Strategy, Chain of Responsibility, and Command Design Patterns Chapter 6. Behavioral Patterns - Template, Memento, and Interpreter Design Patterns Chapter 7. Behavioral Patterns - Visitor, State, Mediator, and Observer Design Patterns Chapter 8. Introduction to Gos Concurrency Chapter 9. Concurrency Patterns - Barrier, Future, and Pipeline Design Patterns Chapter 10. Concurrency Patterns - Workers Pool and Publish/Subscriber Design Patterns Title: Go Design Patterns Author: Mario Castro Contreras Length: 399 pages Edition: 1 Language: English Publisher: Packt Publishing Publication Date: 2017-03-06 ISBN-10: 1786466201 ISBN-13: 9781786466204

文件下载

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明