Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Working with Design Patterns in Go (Golang), а также все другие курсы, прямо сейчас!
Премиум
  • Урок 1. 00:05:57
    Introduction
  • Урок 2. 00:01:02
    A bit about me
  • Урок 3. 00:01:28
    Installing Go
  • Урок 4. 00:03:15
    Installing an Integrated Development Environment
  • Урок 5. 00:00:52
    Installing Docker
  • Урок 6. 00:01:15
    Asking for Help
  • Урок 7. 00:01:07
    Mistakes. We all make them.
  • Урок 8. 00:00:59
    What we'll build in this section
  • Урок 9. 00:02:13
    How web applications work
  • Урок 10. 00:09:53
    Setting up our main application
  • Урок 11. 00:02:31
    Installing a routing package
  • Урок 12. 00:11:18
    Setting up routes
  • Урок 13. 00:08:49
    Setting up a simple HTML template
  • Урок 14. 00:16:37
    Creating a render function
  • Урок 15. 00:04:33
    Rendering our first page
  • Урок 16. 00:04:51
    Adding navigation
  • Урок 17. 00:05:25
    Creating templates for all site pages
  • Урок 18. 00:05:49
    Setting up a route & handler for site pages
  • Урок 19. 00:02:14
    Trying out our template cache
  • Урок 20. 00:22:48
    Adding WebP and jpeg images to the home page
  • Урок 21. 00:01:03
    What we'll build in this section
  • Урок 22. 00:06:24
    The Factory Pattern
  • Урок 23. 00:13:39
    Setting up some types
  • Урок 24. 00:02:51
    Creating a simple Factory
  • Урок 25. 00:03:57
    Creating handlers for the simple Factory
  • Урок 26. 00:09:25
    Setting up the front end
  • Урок 27. 00:02:37
    Adding routes for our Factory handlers
  • Урок 28. 00:01:24
    Trying our Factory pattern out
  • Урок 29. 00:13:45
    The Abstract Factory pattern
  • Урок 30. 00:08:36
    Creating an Abstract Factory
  • Урок 31. 00:03:04
    Creating a route and handler for the Abstract Factory
  • Урок 32. 00:05:09
    Updating the front end
  • Урок 33. 00:02:10
    Trying out our Abstract Factory
  • Урок 34. 00:00:36
    What we'll build in this section
  • Урок 35. 00:01:26
    Adding a module to support MySQL/MariaDB
  • Урок 36. 00:08:23
    Setting up a local MariaDB instance with Docker
  • Урок 37. 00:11:44
    Connecting our application to MariaDB
  • Урок 38. 00:01:28
    What we'll build in this section
  • Урок 39. 00:12:15
    Writing our first database function
  • Урок 40. 00:07:33
    Creating a handler to list dog breeds
  • Урок 41. 00:02:52
    Updating the front end to fetch the list of dog breeds
  • Урок 42. 00:14:19
    Updating the front end to display the list of dog breeds
  • Урок 43. 00:10:23
    Writing a test for our handler
  • Урок 44. 00:03:50
    Implementing the Repository pattern I
  • Урок 45. 00:03:37
    Implementing the Repository pattern II
  • Урок 46. 00:01:19
    Implementing the Repository pattern III
  • Урок 47. 00:01:31
    Trying things out
  • Урок 48. 00:03:33
    Implementing a test database repository
  • Урок 49. 00:04:03
    Updating our handler test
  • Урок 50. 00:00:52
    What we'll build in this section
  • Урок 51. 00:06:56
    Creating a simple Singleton
  • Урок 52. 00:04:15
    Updating our project to use our configuration package (singleton)
  • Урок 53. 00:01:14
    What we'll build in this section
  • Урок 54. 00:06:25
    The Builder Pattern (& Fluent Interface)
  • Урок 55. 00:05:19
    Getting started with the Builder pattern in our project
  • Урок 56. 00:08:32
    Setting up our Builder code
  • Урок 57. 00:02:01
    Fixing three problems with our Builder code
  • Урок 58. 00:05:33
    Setting up a handler to use our Builder pattern
  • Урок 59. 00:01:02
    Setting up a route to our handler
  • Урок 60. 00:06:12
    Modifying the front end to call our Builder route
  • Урок 61. 00:01:14
    Challenge
  • Урок 62. 00:02:22
    Solution to challenge
  • Урок 63. 00:01:29
    What we'll cover in this section
  • Урок 64. 00:22:43
    The Adapter Pattern - Overview
  • Урок 65. 00:03:34
    Installing an application to serve JSON and XML
  • Урок 66. 00:07:28
    Setting up the Adapter type & the Adaptee
  • Урок 67. 00:02:34
    Adding the Adapter to our application config
  • Урок 68. 00:02:35
    Setting up a handler
  • Урок 69. 00:02:25
    Adding a route
  • Урок 70. 00:02:03
    Updating the Cat Breeds template
  • Урок 71. 00:09:24
    Switching adapters from JSON to XML
  • Урок 72. 00:05:00
    Adding a test for the Cat Breeds handler, using our adapter pattern
  • Урок 73. 00:01:14
    What we'll cover in this section
  • Урок 74. 00:02:55
    Creating a stub AnimalFromAbstractFactory handler
  • Урок 75. 00:04:53
    Creating a New factory function for pet with embedded breed
  • Урок 76. 00:08:07
    Creating stub newPetWithBreed method for Cats and Dogs
  • Урок 77. 00:08:18
    Adding a GetDogBreedByName method in the database Repository
  • Урок 78. 00:02:12
    Refactoring adapters.go to new package
  • Урок 79. 00:04:05
    Adding a GetCatBreedByName method on our JSON adapter
  • Урок 80. 00:03:15
    Adding a GetCatBreedByName method on our XML adapter
  • Урок 81. 00:08:48
    Finishing up the new Adapter and Abstract Factory code
  • Урок 82. 00:02:58
    Finishing up the changes in our Abstract Factory to use the new adapters
  • Урок 83. 00:04:43
    Setting up a route to our stub handler
  • Урок 84. 00:04:11
    Finishing off the handler code
  • Урок 85. 00:07:04
    Updating the front end to try things out
  • Урок 86. 00:04:22
    Writing the necessary javascript to call our back end
  • Урок 87. 00:01:30
    What we'll cover in this section
  • Урок 88. 00:02:04
    Setting up a route and a stub handler
  • Урок 89. 00:01:41
    Setting up the database table
  • Урок 90. 00:06:25
    Adding database methods for Dog of Month
  • Урок 91. 00:07:53
    Completing our DogOfMonth handler
  • Урок 92. 00:07:08
    Creating the Dog of Month template and trying things out
  • Урок 93. 00:02:57
    What we'll cover in this section
  • Урок 94. 00:08:08
    Worker Pool Overview
  • Урок 95. 00:02:31
    Setting up a Go Workspace to develop our new module
  • Урок 96. 00:06:12
    Getting started with the App and Streamer projects
  • Урок 97. 00:07:56
    Creating a Factory function for our Worker Pool
  • Урок 98. 00:03:06
    Getting started on the worker pool functionality
  • Урок 99. 00:03:11
    Setting up the Processor type
  • Урок 100. 00:12:18
    Setting up the Pool functionality
  • Урок 101. 00:08:34
    Creating Videos to send to the worker pool
  • Урок 102. 00:04:43
    Sending videos to the worker pool
  • Урок 103. 00:13:10
    Filling in the encode() function's logic
  • Урок 104. 00:12:57
    Trying things out and tracing through program execution
  • Урок 105. 00:02:20
    Installing ffmpeg
  • Урок 106. 00:06:06
    Adding logic to encode to MP4
  • Урок 107. 00:02:49
    Trying out the EncodeToMP4 method
  • Урок 108. 00:05:30
    Adding logic to encode to HLS: Part One
  • Урок 109. 00:16:44
    Adding logic to encode to HLS: Part Two
  • Урок 110. 00:03:22
    Trying out our HLS encoder
  • Урок 111. 00:02:46
    Adding random filename generation to our videos
  • Урок 112. 00:07:01
    Trying out our worker pool with four videos
  • Урок 113. 00:06:57
    Adding streamer to our Breeders project