Design patterns make developers’ life easy by efficiently addressing common problems faced during developing applications. Concurrency helps you to achieve parallelism in our programs. If you’re looking at implementing design patterns and concurrency in your applications, then go for this Learning Path.
Packt’s Video Learning Paths are a series of individual video products put together in a logical and stepwise manner such that each video builds on the skills learned in the video before it.
Google’s Go is an open source programming language that helps you build efficient and reliable software. This language has proved to be a powerful option in many software development domains.
The highlights of this Learning Path are:
Let’s take a quick look at your learning journey. This Learning Path starts with a brief introduction to essentials of Go programming and quickly moves on to explain the idea behind the creation of design patterns. Learn how to apply the 23 Gang of Four (GoF) design patterns in Go. Explore the CSP concurrency patterns, the "killer feature" in Go that has helped Google develop software to maintain thousands of servers. Moving ahead, you will use the majority of Go primitives to write concurrent apps and also develop some classical design patterns with concurrent structures to maximize parallelism. You will see how a classical pattern can become more complex if you need it to work in a concurrent way; however, the idea is to understand Go concurrent primitives so that you know how to write your own concurrent design patterns.
By the end of this Learning Path, you will be able to understand and apply concurrency and design patterns in an idiomatic way using Go.
Meet Your Expert:
We have combined the best works of the following esteemed author to ensure that your learning journey is smooth:
Mario Castro Contreras is a software engineer who has specialized in distributed systems and Big Data solutions. He works as a site reliability engineer, and now he is focused on containerized solutions and apps using most of Google Cloud suite, especially Kubernetes. He has broad experience in systems and solutions integration, and he has written many scalable and reliable 12-factor apps using Go and Docker. He has designed Big Data architectures for financial services and media, and he has written data processing pipelines using event-driven architectures written purely in Go. Mario is also very active in the open source community, and you can find him on his GitHub account with the username sayden. He is passionate about programming languages, and he found the best balance between fun and productivity in Go; however, recently he has enjoyed writing in Rust and embedded systems in C. He is also passionate about road cycling and winter sports.
This video introduces the course and gives a quick look at where you’ll be at the end of the course.
The most important task to do when starting with a new programming language is to set the work environment. This video will show you how to do this for Go.
This video will show you how to write your first program in Go and walk you through some basic data types in Go language.
The basic logic for good programs are conditional statements. Let’s get started with the most used conditional statements with this video.
In Go, whatever you design is used through functions. Let’s see how functions work and are used in Go.
This video will show you how data structures are manipulated and used in Go.
The next step, after exploring functions and data structures, is to learn about the most useful elements of Go, which are pointers, structures and interfaces. Let’s jump right in to start with these.
When you write a small piece of code, it is easy to spot bugs. But what if the program or application grows bigger and bigger? Let’s see how you could write unit tests to spot errors and catch bugs.
Until now, you have learned to develop codes for applications. How can you create libraries which are not applications or which do not contain the main function? This video is an answer to this question.
Go comes with a series of useful tools to ease the development process every day. Let’s explore these amazing tools with this video.
How can you have a unique instance of a type in the entire program? Singleton design pattern is the way to achieve this. Let’s learn about this pattern.
How can you construct complex objects without directly instantiating their struct or writing the logic they require? Let’s do this with the builder design pattern.
How can we abstract the user from the knowledge of the struct he needs to achieve for a specific purpose, such as retrieving some value, maybe from a web service or a database? This video will help you answer this question.
After learning about the factory design pattern, where we grouped a family of related objects in our case payment methods, one can be quick to think: what if I group families of objects in a more structured hierarchy of families? This video will answer your question.
Let’s see the last pattern with this video, which comes in handy when creating objects and is commonly surrounded by more patterns.
This video will walk you through the different approaches to create hierarchies and trees of objects using the composite design pattern.
How can you use something that wasn't built for a specific task at the beginning? Let’s answer this question with the adapter design pattern.
Let’s learn to decouple abstraction from its implementation and change what an object does as much as we want. This video will show you how you can change the abstracted object while reusing the same implementation.
Let’s dive into the Proxy design pattern; it provides interesting features and possibilities with very little effort.
This video will walk you through the methods and practices to provide a lot of benefits when working with legacy code.
This video will show you how you can hide the rooms and corridors of a building. By the end of this video, you will be able to shield the code from unwanted access, order some calls, and hide the complexity scope from the user.
This video will show you how to allow sharing the state of a heavy object between many instances of some type. You will explore a very commonly used design pattern, in computer graphics and the video game industry.
This video gives an overview of the entire course.
This video will walk you through the most important design pattern in object-oriented programming, with which many design patterns have something in common.
Through this video, you will learn to build chains of objects that can decide which between them must deal with a particular case.
This video will show you how to encapsulate actions that don’t necessarily need to be executed immediately or must be stored.
How could you provide a user some way to execute code within an algorithm? This video will let you answer this question. You will be able to write idiomatic Go Template patterns.
This video will show you how you could save milestones of a state when you have a type with some state. You will learn to recover them if necessary for a variety of tasks: undo operations, historic, and so on.
This video will let you dig into a quite complex pattern, which is widely used to solve business cases where it's useful to have a language to perform common operations.
What if you want to abstract away some functionality from a set of objects? Let’s do it through this video.
You may require something that has one or more states and travels between them to execute some behaviors. These are termed as FSMs. Let's see how the State pattern helps us to define FSM.
How do we avoid tight coupling between objects?
How can you uncouple an event from its possible handler? How can you achieve many actions that are triggered on one event? Let’s answer these questions with this video.
This video gives you a quick glimpse of what all we will be exploring through this course.
Often concurrency is misunderstood as parallelism. This video gives you a clear definition and shows you the true essence of concurrent design patterns.
How do we achieve concurrency in Go? This video is an answer to this question. Let’s get started with our first concurrent program.
How can you write an anonymous function that executes within the context of a different function? Let’s do it with this video.
If you are working with concurrent applications, you have to deal with more than oneresource potentially accessing some memory location. How do we deal with this condition? Let’s learn through this video.
This video will walk you through the usage of channels that allow you to write concurrent applications. You could share a memory location and get a natural way to handle concurrent applications.
It’s time put all our knowledge about Goroutines and channels in asingle package. Let’s do it right now with this video.
In this video, we will put up a barrier so that nobody passes till we have all our results using the Barrier pattern. It is very important in concurrency patterns.
For asynchronous programming, we require Future pattern to achieve concurrent patterns. In this video, we will develop features.
To build complex synchronous structures linked to one another, we require the Pipeline design pattern. It is one of the most important concurrent patterns.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.