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…

Problems with JSON

No system, file format, data format, programming language, etc is perfect. However, instead of glossing over the information, it’s better to education oneself as to their shortcomings to ensure that you can work around the limitations. It is worth noting that while JSON is built as a subset of JavaScript it does not include support…

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…