About the only way to prevent weeds and grasses is to stop disturbing the soil. No-till is one way. Another is to plant your garden in the fall with cereal rye. Plant it thick. In may, as the rye is starting to die off. Use a drag to lay it over, It will make a mat of rye. Move the rye over, plant, cover back up. Its very effective at keeping weeds suppressed.