Books I read..

  • The Alchemist
  • Many Lives, Many Masters
  • The Monk Who Sold His Ferrari
  • 2 States
  • The 3 Mistakes of My Life

Tuesday, September 28, 2010

Friend

When Iam down and depressed I talk to you
When Iam alone and scared I talk to you
When I feel Iam going nowhere I talk to you
For, I know you are always there to hear

My friend, you are there to support
in all the highs and lows of life
You are there when I need you
in all the phases of my life

When I succeed I see you beside me
patting me for my success
When I achieve a deal
I see you buying me a meal
For you are more happy than me

I donot know if I can ever repay
all your small gestures
which teach me the meaning of friendship everyday
and the art of giving happiness

Sunday, August 22, 2010

MVC Architecture in DotNet

MVC Architecture
Its easier to understand when we draw analogies.I draw an analogy of MVC architecture with 3-tier architecture.In 3-tier architecture we have a UI layer,Biz.Logic layer and Data Access Layer.
Here the UI layer corresponds to the "View" layer. The part of Business logic layer that involves fetching data from database and performing manipulations on it from "Business Perspective" form the "Model" layer and
the remaining part of Business logic layer that does the manipulations(if required) on the methods fetched form "Model" layer and also manipulations required in the "View" layer form the "Controller" layer.
The "View" layer is a set of UI controls including the client script thats is .aspx file.
The "Model" layer is a dll that needs to be called in the Controller layer. Since this is a dll all the error handling is done in the form of "Throw exceptions" and these are caught in the "Controller" layer transalting them into user-understandable statements.
Since the Model layer is developed as a dll, it is highly "reusable", can be called from a webpage,service,windows applications etc.
The "Controller" layer is the link between "View" and "Model" layers. This layer is essentially the "server side code" that is .aspx.cs files.

Wednesday, August 11, 2010

Writing to Excel from SSIS Script Task

To add reference of Microsoft.Office.Interop.Excel.dll in Script Task,Visual Studio 2005 doesnot provide a COM tab to browse and get the dll.
Workaround : Place the Interop dll in Microsoft .Net folder(Usually C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727), it will appear in the .Net tab in Add reference of Script Task. Also, register this dll using Regasm command. 12.0 version of this dll is compatible with VS2005.

Monday, December 22, 2008

Unite for a cause

Its terror everywhere
people running helter skelter
to save their lives
and hide somewhere

I wonder what runs,
in the minds of those
who take the lives ,
of many like us

All the bloodshed
and the ghory scenes
dont seem to detter
the people responsible for these

Can a Buddha or a Gandhibe born again?
to show the right pathto those who seek
Will these ghastly activities ever halt someday?
Will people ever realise that the only cast is humanity.

Its terror everywhere
humans scared of each other
roots of society shaking
instead of being together...

These tremors should cease
People should unite for a cause
Fight against thy responsible for these
Make our country a heaven of properity and peace

Sunday, November 23, 2008

Death

Death is so scary,
though we are aware of it
the thought makes us so weary,
more because it creeps so silently.

We keep living all our lives
fretting and fuming over petty things,
and finally realise that
all this was for nothing worthy.

When we realise people we know
will no longer be with us any more
when we realise that life we value so much
is lost in seconds, everything seems so gloomy.

When we realise that like the tree,
shedding its old leaf
people sometimes just cease to live,
leaving everyone in grief.

Its so depressing to know the facts
and still keep living
As if hoping for something
that will change the ultimate ending.

Wednesday, October 29, 2008

Eat,Pray,Love

I always wanted to read this book, not because I read reviews about it, but because I saw this book in almost everyone's hands in the path train while travelling to my office.
This was more of a curiosity factor. Finally I got this book in one of those expensive stores on the Newark airport.
Elizabeth takes you through a spiritual journey without the readers knowledge.The most interesting and fascinating fact is the description of the places which all start with the letter "I". Reading how Liz discovers herself we actually discover ourselves. I donot know if I will ever find a book like this to read again, this was the feeling at the end of last line of the book.
The book covers all aspects of human nature anger,sorrow,joy,love,devotion,family and work.

Thursday, September 25, 2008

Celebrate Life

When you wake up in the morning
Give yourself a smile
For, you deserve it
this act of gratitude, all the while

When you see a child
Give him a smile
For, he is such a wonderful creation
He does it every once a while

When you look at the trees
Give them a smile
For, it is these that give you the breeze
So soft and pure flowing through life

When it rains
Feel the drops and give a smile
For, He has created
these drops so pure and fresh

When you breathe air
Feel the happiness and thank god
For, He gave you this life
To care and share

Feel His presence everywhere
and within yourself
For, you spare yourself the effort
To search for something that is in thyself

Celebrate life everyday
Celebrate life every moment
For, moments make days
as drops make oceans
Celebrate life, celebrate yourself