Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learning Path: Go: Concurrency & Design Patterns for Gophers
Rating: 4.0 out of 5(53 ratings)
507 students

Learning Path: Go: Concurrency & Design Patterns for Gophers

Put an end to all your software development problems using concurrency and powerful design patterns
Last updated 6/2017
English

What you'll learn

  • Learn the basic syntax and all the tools needed to start coding in Go
  • Create unique instances that cannot be duplicated within a program
  • Explore the popular design patterns in distributed systems and reactive programming
  • Prepare cost-effective actions so that different parts of the program aren’t affected by expensive tasks
  • Encapsulate the creation of complex objects in an idiomatic way in Go
  • Explore 23 Gang of Four design patterns
  • Deal with channels and GoRoutines within the Go context to build concurrent applications

Course content

3 sections43 lectures7h 38m total length
  • The Course Overview4:24

    This video introduces the course and gives a quick look at where you’ll be at the end of the course.

  • Installing Go8:22

    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.

  • Starting with Hello World6:18

    This video will show you how to write your first program in Go and walk you through some basic data types in Go language.

  • Flow Control4:40

    The basic logic for good programs are conditional statements. Let’s get started with the most used conditional statements with this video.

  • Functions6:43

    In Go, whatever you design is used through functions. Let’s see how functions work and are used in Go.

  • Arrays, Slices, and Maps8:18

    This video will show you how data structures are manipulated and used in Go.

  • Pointers, Structures, and Interfaces10:59

    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.

  • Testing and TDD6:46

    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.

  • Libraries8:53

    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 Tools7:08

    Go comes with a series of useful tools to ease the development process every day. Let’s explore these amazing tools with this video. 

  • Singleton Design Pattern11:04

    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.

  • Builder Design Pattern12:10

    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. 

  • Factory Method10:27

    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.

  • Abstract Factory7:58

    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.

  • Prototype Design Pattern7:46

    Let’s see the last pattern with this video, which comes in handy when creating objects and is commonly surrounded by more patterns.

  • Composite Design Pattern12:15

    This video will walk you through the different approaches to create hierarchies and trees of objects using the composite design pattern. 

  • Adapter Design Pattern6:39

    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. 

  • Bridge Design Pettern16:42

    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. 

  • Proxy Design Pattern13:56

    Let’s dive into the Proxy design pattern; it provides interesting features and possibilities with very little effort.

  • Decorator Design Pattern12:58

    This video will walk you through the methods and practices to provide a lot of benefits when working with legacy code. 

  • Facade Design Pattern13:45

    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.

  • Flyweight Design Pattern14:07

    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. 

  • Test Your Knowledge

Requirements

  • Basic programming knowledge
  • No knowledge of design patterns is expected

Description

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:

  • Concise, readable, and maintainable software development with Go
  • Learn design patterns and concurrency at one go

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.

Who this course is for:

  • This Learning Path is for developers who want to implement concurrency and design patterns in their applications