Residents to be trained on the best farming practices