Google IO 2017: Future, Faster: Unlock the Power of Web Components with Polymer

I have used Polymer extensively in the past.  It is a great library to build web components with, and although I no longer actively use it on a daily basis, I wanted to check on what is coming down the pipe with Polymer 2.0.

Polymer is built on top of the Web Components specs, offering conveniences on top of it.  These conveniences include template based rendering from a chunk of HTML, template binding propagation, binding for event handlers, etc.

Google IO 2017 had a great presentation on Polymer titled Future, Faster: Unlock the Power of Web Components with Polymer, which you can view here if you have the time:

Allow me to summarize what I felt were the important insights below:

Continue reading “Google IO 2017: Future, Faster: Unlock the Power of Web Components with Polymer”

Converting JavaScript to TypeScript

JavaScript to TypeScript

So perhaps you and/or your development team have been looking at TypeScript and have decided it would be a nice tool to leverage in development.

Your team is sick of having to track down how your JavaScript objects are composed, sick of having to reference third party library documentation every waking moment.

Wouldn’t it be great if you didn’t have to spend most of your time debugging runtime errors?

All of these are great reasons to consider moving your project to TypeScript.

“But Mike”,  you say, “I already have thousands of lines of JavaScript code!”

No sweat! I can guide you through the conversion process!  Believe me, while it may take some time, it is not as painful as you may believe.

Continue reading “Converting JavaScript to TypeScript”

Setting Up A C++ Project With CMake

Complete repository for the lazy time-sensitive here.

CMake is a useful build tool for use (at least for my purposes) with C++. It is able to generate scripts to build your program on a variety of different platforms, and in the end, it makes a developer’s life easier.

I have spent the last few days struggling with rearranging my build process with CMake.

All in all, I like it.

It seems like a great tool, however I feel the project could use more straightforward documentation on setting up a project that is split into several parts. Digging into the CMake documentation can be intimidating at first, hopefully I can help ease your pain.

Continue reading “Setting Up A C++ Project With CMake”