Recent Posts
-
Embracing Modular Design on the Front End
In recent years, there has been a large shift in systems architecture due to the containerization and virtualization through technologies such as Docker as a means to run more efficiently in cloud based environments. Arguably, some of the same architecture principles and design patterns have spilled over into application development through componentization of front end web controls and back end services. As a result, package managers have become increasingly popular... read more
-
Using Nuget.exe and Octo.exe in a TFS 2015 build definition to deploy to an Octopus feed
Rather than using Octopack 2/3 to package the application by tying into the MSBuild process with additional MSBuild arguments, Nuget.exe can be utilized to package the project in a separate build step (outside of MSBuild). Additionally, once packaged, octo.exe can be used to push the package to the Octopus server in order to streamline the build and deployment process. Why nuget/octo executables instead of OctoPack? Building & packaging separation of... read more
-
Git Reference: Useful Commands & Overview
This guide is not intended to be a comprehensive resource, but merely an overview and reference for myself. If you feel that you can contribute helpful commands or improve this reference guide, let me know in the comments. Terminology Setup & basics Adding files to staging Removing files from staging Undoing changes Creating a commit Undoing a commit Amending to a commit Viewing commit history Check file modifications (diff) Managing... read more
-
Benefits of Socratic Dev Team Environments
A few reasons why you should never stop asking questions… There’s always room to grow As a developer, I’ve always taken the opportunity to absorb information from those who know more about particular subjects than I. Ultimately, no one knows everything and to think that one’s entire knowledge base can come from first hand experiences is absurd. Collaboration and the exchange of ideas is, in my opinion, what makes or... read more
-
Many to many model relationships in Rails
One of the challenges I had early in learning Rails was setting up many-to-many relationships between models. Many tutorials and articles cover the simpler one-to-many and many-to-one relationships with ActiveRecord’s has_many and belongs_to functions, respectively, but when trying to build anything more than a sample application you quickly realize that you need to set up slightly more complicated relationships. Problem I want to set up a many to many relationship... read more