Both Dan and Tim have valid points. You will definitely read in a lot of places to not bank on appreciation and buy for cash flow, if you're going to be renting..this is fairly obvious. However, this holds a bit more true outside of California. Historically buy and hold in Calfiornia is not a bad idea, my properties in SoCal increased 20% over the last 1.5 years. However, buying now in California is bit like buying a stock when it's hot, not exactly what you want to be doing, though it could keep going up. It's a bit riskier given the potential for a correction.
Your choice really depends on what you want, your goals, and what you and your wife place value on. I could tell you what I would do, but that would be based on everything in my life, of which you may relate to 100% or not at all. Personally I would not make a large personal resident purchase in socal with the market like it's been lately, I simply don't value having a nice, cute, make me feel good, beautiful, my own, etc home, more than shielding myself from the potential drop in value. Yes it could go up, but I don't like to depend on appreciation for my profit. I'd rather buy a place, maybe out of state that cash flows, under market, to have instant equity and ensure I come out ahead each month and not have to worry what the market does.