Parsing XML Feed to an Array with XPath

Recently while working on a project, I found myself needed to parse several different types of files through the same mechanism (CSV, pipe delimited, XML, and more). I decided that it would be best to get each time of feed to a identical object that could then be run through the same methods regardless of the input type. This tutorial will walk you through using PHP and XPath to parse the values from an XML file and store them into array for later manipulation.

Handling Errors To Prevent Application Crashes in VB

This tutorial will walk you through a very simple but extremely useful function in programming. When you write code you can never guarantee that specific requirements will be met upon execution and therefore errors are always a possibility. As a coder you need to be able foresee these types of issues and catch them before the application crashes and requires the user to restart it and even worse, lose data that they may have been working on.

How To Create New Branch In Git

Creating a new branch in Git is a crucial skill for any developer. It allows you to work on new features or bug fixes without affecting the main codebase. In this article, I’ll walk you through the process of creating a new branch in Git and share some personal tips and best practices along the … Read more

How To Merge Branches In Github

When it comes to collaborating with a team on GitHub, merging branches is a crucial part of the development process. Being able to seamlessly integrate changes from one branch into another can help streamline the workflow and ensure that the project maintains a high level of quality. Understanding Branches Before we dive into the merging … Read more

How To Discard Local Changes Git

As a developer, I have often found myself in a situation where I need to discard local changes in Git. It’s important to know how to properly discard these changes without affecting the overall state of the repository. Let’s dive into the details of how to discard local changes in Git. Checking the Status Before … Read more