karthikselva
#SoftwareEngineer #SalesforceDeveloper #RubyonRails #Music

Javascript - my old friend

Javascript and me were longtime friends. We occasionaly met whenever I need something from him. But sadly I couldn’t understand his real face for a long time. I always seen him hanging out with his friend html. html is so liberal and he allows Javascript everywhere into his home using script tag. But I know Javascript and html should not be too close and they belong in different places.

My guilty consciousness increased each time when I allowed him to play with html. It still got high when I used global variables everywhere. He messed up the clean home of html. Sometimes he got angry and he screamed ‘undefined’,’undefined’ everywhere. He even destroyed entire house of html. I thought I should take action immediately or it would go worse.

Javascript loved div a lot. He made her life more dynamic. He gave all those transitions. I seen him playing hide and seek with her many times. He gave life to her in one click and removed it back in another. They were in love for a longtime. He secretly worked with AJAX to give her all the required ornaments. html was happy since he didn’t destroy his home again and again by reload. He gave freedom to Javascript since he didn’t disturb him.

Then came this super guy jQuery from nowhere. He gave more luxury to div. Everyone started praising him and Javascript was left alone. div din’t even looked back at him after that. He was all alone. He tried to explain jQuery is nothing but him, but no one ever beleived. jQuery proved himself to be powerful in each and every action. My friendship with Javascript started to fade away.

After a long time I met him again. I met him where I never expected. He was happy. He didn’t reside in html’s home this time. He was handling web requests. Yes he was sitting as a king in the server palace. He called himself node.js and did everything the old king rails would do. He proved himself to be the powerful king. jQuery and div gazed with envy. I couldn’t leave my old king but still couldn’t resist accepting that he is the best. Sorry my friend I shouldn’t have forgotten you.

to be continued …