I've been to Yosemite several times, mostly as a youngster, most recently about three years ago. I live down near Los Angeles, and my wife is outdoors adverse, so I jumped on the chance when invited to go for four days back in 2010. Yosemite is beautiful. There is no doubt about that.
There are 'pitch a tent' campsites, a couple hotels (one of which is very hoity toity), I believe some cabins for rent, and my favorite, Camp Curry/Curry Village, which is made up of a bunch of tent cabins, which are basically 12'x12' canvas huts with a locking screen door and bear box. There are working showers and plumbing, so a $h!t spoon isn't necessary. Yosemite is VERY BUSY, and an outdoors tourist trap, so plan accordingly and book far ahead. Check out their website
here.
When I was there last, my friends and I did the Half Dome hike. From bottom to top to bottom again took approximately 13 hours. I was in the 2nd best shape of the four of us, but my boots destroyed my feet during the last couple miles. Three years ago, if you wanted to do this hike on a Friday, Saturday, or Sunday, you needed to purchase a pass in advance, because traffic on the trail was becoming congested. Mondays through Thursdays were free, but there were still a bunch of people on the trail. This may have changed, so you may want to research this. Bring more water than you think you will need. I brought just shy of one gallon, and had to refill my Camelbak from the river, and purify using iodine tablets; beware of giardia. Bring some gloves as well; they're nice to have for the log and chain staircase that goes up the side of Half Dome proper. To this day, this is still one of my favorite hikes.
As mentioned, my boots weren't laced properly, causing my large toes to hit the front of the boot with each step. When I took them off that night, I had great big blue nails. Drained the blood out, and the nails eventually fell off. Took 8 months to grow back. I don't bring this up to gross you out (although that is a neat side effect), but to complain that I was too footsore to make the Yosemite Falls hike with two of the other guys. The fourth guy didn't go because he wanted to sleep in. I hear it was a good one, too
There are plenty of other things to do and hike; Glacier Point, raft down the river, watch a helicopter rescue climbers on El Capitan, grab a beer in one of at least three bars there. The bar/restaurant in the hoity toity hotel has patio seating with brilliant views of the surrounding peaks. Amazing, especially at sunset. I was there during late July, and it does get quite warm. Nineties warm.
Sorry for the rambling post. I love Yosemite, and despite the glut of tourists that arrive each day, is one of my favorite things about living in California. Can't wait for my 2 year old son to grow up a little bit so I can take him camping. If you go, you will enjoy yourself.