I love the flavor of basil and I always plant it in my veggie garden. The problem I have is that by the end of July, my basil is looking pretty bad. It wants to go to seed and that makes the leaves get a different taste. Once a week I gather a large handful of stems to keep on my windowsill in my kitchen. After a week the stems will sometimes grown roots.
When I have a few "new" plants, I plant them in pots and set them outside near the back door. Now I have fresh basil that won't go to seed for another 6-8 weeks.
When they get too big for the pot, I'll transplant them back into the veggie garden. My favorite part of this idea is that I get basil for FREE!