TekPub - C# Design Strategies (2012)
MP4 | AVC 563kbps | English | 1280x720 | 30fps | 4 hours | AAC stereo 99kbps | 682 MB
Genre: Video Training
This production is In Process which means we are actively recording new episodes. There are 10-12 episodes planned, currently, but there might be more. In this advanced series, Jon Skeet (of Stack Overflow fame) dives into various strategies and patterns you might want to consider when building your application. Topics covered include core Gang of Four design patterns such as the Singleton, Strategy, State and others as well as good habits such as using interfaces, Dependency Injection and Inversion of Control.
Rob and Jon have a habit of going off on small tangents - and we have a habit of recording what Jon goes off on. In addition to the core episodes, we'll also be releasing outtakes - such as Jon writing his own IoC container from scratch!
This is an advanced series and understanding of C# and how it works is a very good idea.
1 - Singletons
We start the series off with a bang - tackling a design pattern that plagues most developers - no matter the language. The Singleton is reviled by many - mostly because it's nearly impossible to do it correctly. In this episode Jon takes it on and shows you not one, not two - but SIX different ways to do a Singleton. And talks about various pitfalls along the way.
Released on April 26 2012 - 35 minutes
2 - Interfaces
Using interfaces is accepted by many as something "you should just do". But why? What do interfaces do for you? How are they better then just using basic object construction? In this episode Jon uses Noda Time (his OSS project) and shows you how the use of interfaces has helped him surmount the perils of System.DateTime in .NET.
Released on April 26 2012 - 20 minutes
3 - Dependency Injection
Using interfaces is a great way to loosen up your code's various dependencies - but how do you go about putting together an application that effectively uses that interfaces? One pattern than many developers like is Dependency Injection, and Jon explains how this patterns works in a real-world project: Noda Time. You get to see how this pattern is used in the wild to make code more flexible and maintainable.
Released on April 26 2012 - 15 minutes
4 - Inversion of Control
Our code is getting looser and our hard-coded dependencies are making future maintenance less-frightening - but we are now faced with a new problem: getting a new object is becoming a bit of a pain as we need to pass in all the dependencies! This can be a nightmare - and it's a good thing we have Inversion of Control containers to help us out. In this episode Jon refactors his code to make use of a home-spun IoC container, and shows concisely how he's helping his future self maintain his large Noda Time project.
Released on April 26 2012 - 15 minutes
5 - Outtake: Skeet Builds an IoC Container
During the recording of Episode 4 (Inversion of Control) we asked Jon to "lead people along and show them the need" for using Inversion of Control with Dependency Injection. We expected a rough, hard-coded factory-style of thing, but no, Jon built a small, functional IoC container from scratch. We decided to include it here because it's fascinating to watch and… he's Skeet!
Released on April 28 2012 - 16 minutes
6 - Type Meaning And Single Responsibility
Designing a Conceptual Model is not easy, and quite often we can engineer ourselves into a very tricky spot with types that do multiple things for multiple reasons. In this episode, Jon takes apart System.DateTime - the poster child for "doing too much" (even the name has two concepts) in an effort to drive home the need for Single Responsibility and Type Clarity.
Released on April 30 2012 - 20 minutes
7 - Open, Closed and Substitution
Working our way through SOLID principles, Jon tackles the Open/Closed principle and Liskov's Substitution. Along the way we discuss how to facilitate change and extension in an API's inheritance scheme.
Released on May 04 2012 - 22 minutes
8 - Factory Pattern
In this episode Jon talks about various ways to create an object instance, ans shows you how you can solve the confusion that can occur when you have too many constructor overloads - using the Factory Pattern.
Released on May 14 2012 - 12 minutes
9 - Builder Pattern
In this episode Jon explores what happens when constructors and factories start getting a bit too complex and you need to formalize options for creating an instance of your exciting business object.
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 167 MiB
Duration : 35mn 4s
Overall bit rate : 667 Kbps
Encoded date : UTC 2012-04-24 10:00:00
Tagged date : UTC 2012-04-24 10:00:00
Writing application : Lavf53.6.0
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 35mn 3s
Bit rate mode : Variable
Bit rate : 563 Kbps
Nominal bit rate : 580 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.020
Stream size : 141 MiB (84%)
Writing library : x264 core 116
Encoding settings : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x111 / me=dia / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=90 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=580 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=1200 / vbv_bufsize=1200 / nal_hrd=none / ip_ratio=1.41 / aq=1:1.00
Language : English
Encoded date : UTC 2012-04-24 10:00:00
Tagged date : UTC 2012-04-24 10:00:00
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 35mn 4s
Bit rate mode : Variable
Bit rate : 99.2 Kbps
Maximum bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 24.9 MiB (15%)
Language : English
Encoded date : UTC 2012-04-24 10:00:00
Tagged date : UTC 2012-04-24 10:00:00
No mirrors please