Angular
The Story Behind The Game
I have three sons. Lyric who is six and a half, Londyn who is four and half, and Lennyx who is two and half. As you might imagine, they seldom agree on things. For example when it’s family move night, “which movie we’ll watch?”, or “who gets to go first?” when playing a game. These important life decisions are often decided by playing the color guessing game. My wife or I will choose a color at random and have the boys guess a color until someone guesses the correct color. Whoever guesses correctly is the winner and they get to choose the movie or go first, etc. You get the point!
I recently decided to give creating videos a test drive. The problem with creating video content is the fact that it’s really time consuming to do, but the time investment can be worth the effort if you’re able to truly deliver some sort of value. Another problem we’re faced with in the technical community is that videos can be very lengthy. Enter DMP in 3, a video series of 3 minute videos. The idea is to identify a common programming problem, demonstrate a common solution with explanation and then quickly review the entire scenario.
Intro
I love working with the Angular HttpClient. It is easy to use and was designed to work with RxJS. It is vastly different from the AngularJS implementation, if you’re curious I wrote about these differences
. However, there is one common issue that developers fall victim to. The issue really relates to TypeScript generics. I have also written about generics in TypeScript
<a href="https://www.dotnetcurry.com/typescript/1439/typescript-generics" target='_blank'>here</a>
. But in this post, we will reveal how the issue can easily be avoided.
Inspiration
I recently returned from Charleston, South Carolina – where I spoke at SyntaxCon. The event was very professionally organized and gave me inspiration for Cream City Code. In the main hall, they had a HALO by
<a href="https://www.simplebooth.com/" target='_blank'>Simple Booth</a>
. It serves as a photo booth with a conference-specific backdrop – which is perfect for sharing the conference experience. I looked into purchasing one but was encouraged to simply write my own… so I did and this blog will detail that process.
If you have been following the development efforts of the Angular2 project, you have witnessed certain highs and lows - but it has been a fun ride. The latest version is only a Release Candidate and the team
is getting closer to the final release. I’m really looking forward to that! I wanted to take a moment to highlight (IMO) one of the key services of Angular2, the http service.