How to use iphone without contract?

If I buy an unlocked iphone, will I be able to use it as an ipod touch?

I don't care about calling or texting. I have strong Wi-Fi on my campus so I don't want to spend the $30 a month for a plan.

Added (1). I already have an ipod touch 4th generation. The camera bothers me, so I want an iphone, mostly for the camera quality.

Q: If I buy an unlocked iphone, will I be able to use it as an ipod touch?
A: Yes, but an iPod would cost less.

Sure you can use the phone with just the Wi-Fi, you should be able to find an app you can download to send SMS or test messages too over the Wi-Fi

Get an iPod, they're cheaper
But you can do the same with a phone if you really want to

Not poissble