The Role of Interfaces in TypeScript

In my last post I talked about how classes and interfaces could be extended in the TypeScript language. By using TypeScript’s extends keyword you can easily create derived classes that inherit functionality from a base class. You can also use the extends keyword to extend existing interfaces and create new ones. In the previous post I showed an example of an ITruckOptions interface that extends IAutoOptions. An example of the interfaces is shown next:

Continue Reading “The Role of Interfaces in TypeScript”

Getting Started with ES6 – Using Classes

In a previous post I introduced how ES6 can be transpiled to ES5 using Traceur or Babel. By using transpilers you can write“modern” code and leverage features found in ES6 today while still allowing the code to run in older browsers. In this post I’m going to dive into classes which is one of the shiny new features found in ES6.

Continue Reading “Getting Started with ES6 – Using Classes”

Pushing Real-Time Data to an Angular Service using Web Sockets

One of the questions I’ve been asked a lot lately in my Angular training classes, at conference workshops, and when working with different companies has been, “How can I push data to an Angular application from the server?”. Pushing data from the server to the client is useful when applications need to display real-time data or when they want to leverage the speed and low-latency benefits provided by TCP/IP Web Socket connections.

Continue Reading “Pushing Real-Time Data to an Angular Service using Web Sockets”

My Interview on the IT Career Energizer Podcast: Career Tips and Life Lessons Learned

I had the opportunity to talk with Phil Burgess on the IT Career Energizer podcast recently and really enjoyed the discussion. I’m used to talking about technical topics when I’m invited to a podcast, but this interview was completely different. Instead of getting technical, we focused on career tips, the importance of being willing to learn, life lessons learned, and some of the mental barriers that we can all overcome to advance our career, our life, and our overall happiness.

Continue Reading “My Interview on the IT Career Energizer Podcast: Career Tips and Life Lessons Learned”

Free Interactive Coding Course: Build Your First Angular App

About a year ago I was browsing the web and came across a site called Scrimba.com. It provided a unique way to learn about web technologies through a live code editor combined with audio that syncs with the code – something you have to actually try out to realize the full potential. Since I do a lot of training for companies the Scrimba tool really caught my eye.

Continue Reading “Free Interactive Coding Course: Build Your First Angular App”

Enabling Metrics Server for Kubernetes on Docker Desktop

Lately we’ve been working on a new Docker and Kubernetes instructor-led training class that we’ll be running onsite at several companies this year. The class uses Docker Desktop and the Kubernetes features it provides for several of the chapters. We needed to get the local cluster students will use to match as closely as possible to a cloud-based Kubernetes cluster that would be found on Azure, AWS, or GCP. The class covers using AKS as well, but most of the lab exercises rely on Kubernetes in Docker Desktop so running key features like the dashboard and Metrics API was important.

Continue Reading “Enabling Metrics Server for Kubernetes on Docker Desktop”

ng-conf Talk: Mastering the Subject – Communication Options in RxJS

If you ever get a chance to attend the ng-conf conference in Salt Lake City, Utah I highly recommend it. It’s one of my favorite conferences to attend and speak at due to the great content, huge community of developers, and many fun events throughout the week. The conference organizers do a great job putting on the event.

Continue Reading “ng-conf Talk: Mastering the Subject – Communication Options in RxJS”