I am not a motivational guru.. neither I have free time to distribute the free lectures… Today I am here with this topic just because of what I felt, when I used to believe that “I am not happy with my Life….”
I was going through the tough time of my life (don’t ask me what.. just get it that I was suffocated with some situations) and used to be very sad and frustrated… I am one of those people who doesn’t share anything with anyone (was never before like that) and now have a  belief that “You are the one who can handle it, thats why it came to you…”

Today morning I was having tea in office canteen, I was upset..very much upset…which didn’t even allowed me to sleep… I saw one of my colleague from any unknown Team to whom I used to meet every now and then but strange thing is I dont know his name.. we just need to share few work glitches… I went to him and sat beside him and started the conversation..

He told me once that his mother is suffering from cancer…he is also going through very tough time.. I asked him about his mother.. he told me she is fine now and going through a very tough treatment called Chemotherapy… she is doing good now… He observed me that I was sad, but didn’t asked me why.. just told me that think of the people who are in more than yours… he told me one incident happen to him when he was with her mother in hospital…

here is his Narration:

Pranav, once I was on the billing counter of the hospital, and there was heavy rush and was a long queue. I was very upset and used to cry coming out of my mom’s room, and there were tears in my  eyes when I was in queue.. a lady just equivalent to age of my mom around 50’s was in queue just after me. She asked me: Son, for who you are here? I replied, ‘my mom’, I told her the whole thing.. she felt pity for a moment and then suddenly she tapped on my back and said to me do you what are you doing for your mom?, I said no, she said your pale face will not let her heal.. because that cancer is not as painful as your  pain to your mom. Show her as its all momentarily.. joke with her, say her that she just needs a servicing  :)..  There was a smile on my face after a long time..but for very short time.. because my sorrow was still stronger than this smile.. for a minute or so we just stop conversing.. she was relaxed and smiling like she is going for any movie… then I looked back to her and asked her back ‘What about you Ma’m? For whom you are here? Any of your relative?’ After a small pause she replied me: She was here for her 23 years young son, he is the only son she has…he was in second stage of cancer…and was going through the treatment of chemotherapy , It was damn hurting.. then I asked her “Ma’m, you and husband if you need any help I am there in room no 18, she gave me a pity smile and replied.. ‘Thanks son, but I am alone here with my son.. My husband is a heart patient he is on bed at home.. he cannot see his young son craving for life…Son, I don’t have any other option, neither I need any option..I just need them back…’. I was surprised then sad and then got motivated… A lady of my mom’s age is fighting for two people, one of which is her young son and another is her soulmate husband..all alone….She was smiling again..and said to me ‘BUCK UP SOLDIER..’   I was full of new energy and hope…and was really feeling better.. and from that time i am just making my mom smile and laugh everytime…and keeping the sad people and circumstances away from her….

I was amazed with what my colleague just told me… I almost forgot my pain and sorrow…

I am very Thankful to my colleague that he shared this with me…

And I wish and I want him to Enjoy every moment of his life with her mom with joy and happiness… AMEN
Now, I want to ask you again… “ARE YOU NOT HAPPY WITH YOUR LIFE?

Learn How to Learn

Learn How to Learn

Template systems introduce another level of processing in the application, so we might suspect that Smarty applications will run slower than plain PHP equivalents. Basically, we have a new pseudo-scripting language (the template engine’s tags) inside our scripting language (PHP).

Smarty is extremely fast by doing what is called template compiling. That means that it reads the templates, creates PHP scripts from them and includes the PHP files, resulting in a single PHP script that is compiled by the PHP engine, which is pretty fast. The beauty of the process is that the templates are parsed only once by Smarty, and only templates that are modified are compiled again. This is done automatically by Smarty and results in a fast compilation done by the PHP engine with very little overhead from Smarty.

If you are concerned about the performance of your site, Smarty has built-in caching support that can speed things up, especially on websites that have content that is not modified very often. You can cache all the content of a web page or only some of it and you can specify for how long Smarty should keep the content cached.

Since Smarty does template compiling resulting in a PHP script, there is no reason why we should not use a PHP compiler cache solution like PHP Accelerator or Zend Cache.

PHP Accelerator and Zend Cache have no problem with Smarty’s output and cache the PHP scripts produced by Smarty very well, so if our main concern is performance we should use one of these caching solutions combined with Smarty’s built-in caching support.

As Far As Security is Concerned….

We concluded that Smarty is fast, but we need to know about its security, which according to me is most important for any website.

By default, when using Smarty you are theoretically as secure as you are when using only PHP. This means that by using Smarty you can’t be less secure than using PHP only; but Smarty has some features to improve security in case this is needed.

When a site is built by a programmer working with a designer without using Smarty, the designer has access to the application and can modify all the PHP scripts. This is not good for security because a designer with bad intentions can breach the security of the system very easily when he or she has all the power of PHP in his or her hands.

Smarty comes with some built-in security features for situations where unreliable parties edit templates. When security is set on templates, a designer who modifies templates via an unsecured connection like FTP is unlikely to gain access in the system.
Using Smarty security features, you can:

  • Allow or deny usage of PHP code in the templates
  • Allow only a set of PHP functions as variable modifiers
  • Restrict the folders from which templates can be included
  • Restrict the folders from which local files can be fetched by templates

My strong advice is to always think about security. Think about having a database with credit card details and your designer including unsafe PHP code in one web page. This would result in a disaster for your business.

God Is In You

Posted: January 13, 2012 in Wake Up!!
Tags: , , , , ,

I was just looking at the Hindu God, The Islamic Prophets, The Christian God, The Sikh God and The Buddha…… There was something common between all of them…. Its was the way they look, the way the their face looks like… I know Its the humans, who has given the face body to God.  But did anyone ever thought why did God is Visible in Human Body Format? Because God Wants us to believe That God is a part of Human and Human is the part of God. Because we the humans cannot believe on the things which we have not seen ever.

But God was not just limited to this thought….. He also wants us to believe that God is Human… God is IN Human… He says If we Believe in God.. Then before that we need to believe in ourselves… Because God is already in Us… GOD IS IN YOU… Believe It or Not………..

Below is the Millennium Awaited Blog URL Where you will find every possible solution of you interview asked questions.

Interview Questions And Answers On SQL By Pinal Dave And Vinod Kumar

Do read And Enjoy This…….

My 2011 in review

Posted: January 1, 2012 in Me

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

The concert hall at the Syndey Opera House holds 2,700 people. This blog was viewed about 11,000 times in 2011. If it were a concert at Sydney Opera House, it would take about 4 sold-out performances for that many people to see it.

Click here to see the complete report.

Shaurya kya hai

thartharati is dharti ko raundati faujiyo ki ik paltan ka shor ya sehame se aasman ko chirata huwa, banduko ki salaami ka shor,

Shaurya kya hai,

hari wardi par chamakate huye chand pital ki sitare ya sarhad ka naam dekar andekhi kuchh lakiro ki numaish

Shaurya kya hai

dur udate khamosh paride ko goliyo se bhun dene ka ehsaas ya sholo ki barsat se pal bhar mein ek sehar ko shamshan bana dene ka eshaas Shaurya,

behti bias mein kisi ke garm khun kam huale se surkh ho jana ya anjani kisi jannat ki firak mein, pal pal ka dojak bante jana barudose dhundhalaye iss aasman mein,

Shaurya kya hai

wadiyo ki gunjte kisi ganv se maatam mein,

Shaurya kya hai Shaurya,

shayad ek hoshla, shayad ek himmat, hamre bhaut ander majhab ke banaye daayare tod kar, kisika haath tham lene ki himmat goliyo ki betahsha shor ko apni khamoshi se chunoti de pane ki himmat marti marati is duniya mein nihatte date rehne ki himmat Shaurya,

aane wale kal ki khatir apne hisse ki kaynat ko, aaj bacha lene ki himmat

Shaurya kya hai

Courtsey: Javed Akhtar,Jaydeep Sarkar (Movie-Shaurya)