Can I have only my ringer make noise?

I have an iPhone 5 and I was wondering if there's a way/app anything that allows me to have only my ringer on loud. I want to have my phone on so I can hear when someone calls me but I'm not interested in hearing every notification from twitter or an app or test messages.

Put the other notifications on silent so youll see them when you grad your phone