Dig a 2X2 hole to start off with.
|Unlimited Water Source|
Now you can put two buckets of water in the upper right hand corner and the bottom left hand corner.
That is your unlimited water source.
Now you can dig a channel for your water to go into. This will be for your farm and it'll make your crops grow much faster than unhydrated land.
|Crops tilled and planted|
|Added steps over water for harvesting.|
Fill the canal up with water, make sure all the water connects.
Till the ground with a hoe and plant your seeds.
You can get seeds by using a hoe on the grass.
|Fenced in the crops.|
Put some steps over the water to allow you to harvest your crops.
This step is optional. If you want you can add fences around your crops so animals won't trample them, if you are making an indoor farm this won't be a problem.
|Crops are grown!|
|All done farming !|
After a couple of Minecraft days, your crops will grow and be ready for harvest. You can make bread out of the wheat you gather.