Wonderful thoughts. I have passed thorough this many many times. Every time I resign, emotions usually rise up in my heart to walk straight to my CEO or the HR head and bark off my heart\\\'s content. But when I sit and think about it, I realise that it will only result in bad taste and nothing else is ever going to change.
Resigning gracefully is perhaps as important, if not more important, as attending a job interview. Please remember, it is your boss who could give you a good professional reference for future jobs...and as it was rightly pointed out, you might even return back to the same company.