Problems with XML

XML was designed to be a be-all end-all data format. However there have been issues that have arisen from its use. Strict Implementations I’ve seen more than once where companies requesting data be sent via XML were really just text parsing a file. They’d require nodes that were not being used, and not having the…

Benefits of XML

XML has many benefits going for it as a format to move data between applications and/or servers. Some of the benefits include: XQuery, which is a tool for searching for nodes with XML. We’ve previously looked at searching XML with XQuery. While different libraries may use different implementations, they generally have something that can be…

Benefits of JSON

JSON comes with a lot of benefits, which is the reason why many web services provide data either in both XML and JSON, or just JSON. Some of the benefits include:  Easy to parse the data. Low overhead (for transmitting the data between client and server) Built in web browser support. Modern JavaScript has it…

An Introduction to JSON

JavaScript Object Notation, or JSON, is a solution to the problem of how do we move data between systems, especially data between a server and a web client.  JSON is an open-standards, data interchange format that uses a serializable string of data to store information. It was initiated in the early 2000’s by Douglas Crockford,…

Tower of Hanoi

The Tower of Hanoi, sometimes called the Tower of Brahma puzzle, is one of the classic problems to look at if you want to learn recursion. It is good to understand how recursive solutions are arrived at and how parameters for this recursion are implemented. The basics of the problem is that you have a…