Do Not Attempt This At Home!
Well, I used to think that about growing edibles in pots. Especially here in Phoenix.
If you're new to this, I recommend starting simple, with plants that are sure to bring success and boost your confidence (something absolutely necessary in gardening).
You can't go wrong with herbs and leafy greens. Many of these plants are not fickle about light, don't require much fertilizing, and can rebound from under or over watering.
What I like most about growing herbs and greens in pots is the constant bounty. Many of these plants can grow year-round. They fill out the pots and look great just about anywhere in the garden (as long as they receive a bit of sunlight). Also, I can combine them with other flowering plants such as petunia, salvia, and oxalis.
Don't feel limited by traditional container gardening. Our Phoenix weather allows us to do very interesting things. You'll always find some success in exploration.