What is the optimum pattern to place crops in Minecraft?
What factors affect soil hydration and crop growth time? What is the most efficient layout of dirt and water to grow crops?
Like Brant said, tilled soil will stay tilled if it has a water tile four blocks or less away. Even though a large field of crops would result in the quickest growth time, this is not necessarily the most efficient method of farming as you would need to crouch to avoid the trampling of crops, and it's not easy to access each tile.
There is a thread on the Minecraft Forums with various farm designs - here are two of them (credit to Hans Lemurson of the forums):
The tilled blocks are raised so you won't trample crops as you collect them, and the water tile in the middle ensures that all the crops are exposed to the water. The nice thing about this design is that you can elongate the design simply by repeating the middle row (the one with water in it). The walls of the farm serve a double purpose - keeping animals out and serving as a back wall so that harvest crops bounce back to you.
(Oh, and the chest at the door is good for storing excess seeds or wheat.)
This is a spiralled variation of the farm. The crops are one continuous "shelf", so can hold the mouse button and move as you are planting or harvesting.
I like the 2nd version, except I extend the spiral out into loong rows, and every so often add a connector walkway between rows