Position Matters

Finding a Positive in Negative
Finding a Negative in Positive

Above two sentence has the same number of words and the same words. But the arrangement of the words create a complete twist. Former is an optimist while the latter is pessimist. Yes the POSITION matters!

Life is all about where we position things, where we position ourselves. Things tend to get upside down based on where we sit in the crowd just like these words – Positive and Negative. We can be a life-giver or a life-sucker, a winner or a loser, a joy giver or a sadist.

Wherever you are, remember you are not alone, you need to depend on someone and someone needs to depend on you. Life is full of people, try to consider the rest and put yourself in the place where everyone shares the happiness, joy, pleasure.

My favorite book – Holy Bible teaches: “Each of you look not only to his own interests, but also to the interests of others. (Philippians 2:4)” and “Let no one seek his own good, but the good of his neighbor. (1 Corinthians 10:24)”

Posted in Salesforce

Salesforce Lightning : A better way to handle component.find return value

I have always seen Salesforce Aura Component developers using multiple checks before fetching data from component.find method. It is because, it does return three types of results:

  1. undefined – when there are no items found on the DOM
  2. Single component – when there are only one item found in the DOM
  3. Array of components – when there are more than an item found in the DOM
Continue reading “Salesforce Lightning : A better way to handle component.find return value”
Posted in Pyx of repository

Book Review: The Fearless Organization

This book by Amy C. Edmondson expresses the ways to create a Psychological Safety in the workplace for learning, innovation and growth.

Psychological Safety is broadly defined as a climate in which people are comfortable expressing and being themselves. People feel their workplace is an environment where they can speak up, offer ideas, and ask questions without fear of being punished or embarrassed.

Click to Read more
Posted in CSS

CSS : Differentiate Styles between IE and Other Browser

There are times when we need to write browser specific CSS. But, without any JavaScript code, just like media queries are used to write responsive CSS, we can use plain CSS to differentiate styles across IE and other browsers.

We may need this IE and other browser differentiating styles in order to make our application compatible with old un-upgraded IE engine, but still want to give the good layer of coating to support new browsers with fancy styles which almost are broken in Internet Explorer.

Continue reading “CSS : Differentiate Styles between IE and Other Browser”