I have heard this question so many times from my clients,my managers,my developers that it became really necessary for me to explain it here. But the challenge remains the same. Explain in a language which they can understand.
Let’s begin with some background, Taxonomy was adopted in any kind of development project to simplify things but as it is not clearly understood by anyone, at least in the first go, so we would rather mark it as a complex term and I will try my best to simplify it.
We create directories, sub-directories and place our files in one of the directories or sub-directories. As an exercise,
- Create one folder/directory with the name ‘Shopping-Cart’.
- Open this folder, and create few folders inside it which are our sub-directories.
- Name them as like ‘Clothes’,’Electronics’,’Furniture’ etc.
- These sub-directories might contains another layer of sub-directories or files inside them.
- For example: ‘Clothes’ folder might contain folders like ‘Shirts’,’t-Shirts’ etc.
- These folders might contain the files like ‘Shirts’ folder contains ‘Shirt1.html’,’Shirt2.html’
If I have to reach out to Shirt1.html then i must give my address in browser as:
http:\\\www.codespread.com\\shoppping-cart\\clothes\\shirts\\shirt1.html [Not an active url]
where www.codespread.com is my domain-name. For more info on domain-name,Read here
Easy Right? But if i tell you that my file ‘shirt1.html’ was physically located directly under Shopping-Cart folder and there are NO other physical folders apart from it, like ‘Clothes’, ‘Shirts’ which i have mentioned in the bullet points earlier.
Hurray!!! That means my URL will tell the logical address of my file, which is easy to understand as this is the hierarchy we expect while looking for our file. But actually my file will be physically located somewhere else.
This logical address of our file is referred or called as Taxonomy.
Hope i was able to help you.