Growing Rich Everyday... My Weblog

Enrich yourself by finding and enjoying the simple and finer things in the daily humdrum of life...




HyperTextMarkupLanguage - if you go to a zillion websites, all have the more or less similar definition - It is a language used for marking up documents. But what is marking up?

Get any clue?

Imagine you were writing up a document in Microsoft Word to be printed later. To emphasize the headers, you would select one of the Header options in menubar. To emphasize on particular words or definitions in the document, you would either make them bold or italicize them. To change the paragraphs, you might indent your new paragraphs by a few tab spaces and adjust the scale.
Obviously you have visual cues on the menubar to help you achieve all such functions. As you print the document, the headers, the paragraphs, the italicized words are rendered on the paper as you expected them to be.

Now comes the browser ... the browser cannot understand what's a header or what's a new paragraph in the document by itself. It cannot distinguish between an italicized word versus a bold word. It needs explicit information to be able to do so. Without that information, all the different parts of the document mean the same to the browser. Thus, we have to explicitly tell the browser what's what. And how do we do that? We "mark up" the document effectively telling the browser - here's a header, here's a new paragraph and so on...And this is what HTML does.

eXtensibleMarkupLanguage (XML) - Now this language also does markup.
But while HTML specifically marks up the different parts of the document with a view to rendering its structure exactly as needed, XML marks up a document semantically.

Now the semantics of one document can be totally different than that of the other - one document may talk about physics while the other may talk about history. But the formatting of both the documents will never change ! This is why we have a standard set of elements in the HTML language, but XML can never have a standard set of elements - hence the eXtensibility.
XML's primary purpose is to facilitate the sharing of structured data (data that is systematically marked up) across different information systems.



From Wikipedia, "Adaptation is the change in organisms that allow them to live successfully in an environment. Adaptations enable living organisms to cope with environmental stresses and pressures. Adaptation can be structural or behavioral. Structural adaptations are special body parts of an organism that help it to survive in its natural habitat (e.g., skin colour, shape, body covering). Behavioural adaptations are special ways a particular organism behaves to survive in its natural habitat."

This is the most natural phenomenon in living organisms that forms the basis of Evolutionary Biology. But metaphorically it very much applies to us as well. Yes, aren't we living organisms too? In layman terms, adaptation can simply mean change. But there is a significant difference in the terms change and adapt. Change is so involuntary, so natural - it just happens. No one makes change happen. It just happens. Situations, circumstances change overnight with no super-force seemingly taking control of the whole process like a one-man army.


But adaptation is different. Adaptation is very much a voluntary process of a living organism. A living organism adapts itself to adjust to the changing environments. This is how it "evolves". Ditto with human beings !! Unless they adapt themselves to the changes that constantly occur around them, they won't evolve, or grow.
Adapting ourselves constantly to new situations is the only way to our growth as an individual and as a civilization. Yet it can also send negative signals to us...if we allow ourselves to constantly change, where are our convictions, where is our integrity that binds us , that makes us who we are as a person??

I saw this amazing movie called "Adaptation" starring Nicolas Cage and Meryl Streep...quite a thought-provoking movie as you may have indeed gathered by now [:)]



Computer Science is a very beautiful science that will always continue to awe a layman beyond her/his imaginable limits. Some of its manifestations have completely changed the way we shop, search, watch videos, look for directions, listen to songs and so much more..

However, ever wondered why the curriculum can be so boring ! Being a computer science student trying to make sense of all the material, I would always wonder where in the real world would such problems have an application.

A thought just came to my mind with regards to this issue - Since most of the technologies get invented with a view to addressing the real world's problems , wouldn't it be nice to have the computer science curriculum follow a case study pattern similar to the MBA curriculum?
Introducing case studies to address topics like Web Search (Using Google's Search example), maps (using Mapquest, Google Maps), Distributed Systems (using Amazon's or most of the financial companies' working example), file formats and efficient transfer of file formats including streaming (using Adobe Flash and Youtube's example) and so on...

Subscribe to: Posts (Atom)