Farming systems as a tool for research and extension in developing areas