10 things you should do when someone tries to farm you!!
I thought I will write down some suggestion here on how to avoid farming. Please add in your comments
1. First of all, it’s a war game and people don’t have to be nice to you. You have to "manage" your neighbors and other powerful players. You can’t assume they would be nice to you

2. If ever attacked (for farming), you should send a polite mail to that players, asking him not to farm you. If they know you are active and you have asked nicely, most players will leave you alone and won’t bother you. Don’t use abusive language. It doesn’t work (just like in real life).
3. Having said that, not all players are nice and I have many personal experiences with not only few players but even the whole alliance which was rouge and just wanted to farm people. There are few ways to deal with it. First of all, join and alliance. If you can’t find any, create your own alliance.
4. Increase your cranny to max, and make sure you always sell any excess recourses (more than 70K of any resource can anytime be looted by an attacking player)
5. Some experienced attackers will try to pin you (ie, send a cat from a long distance to prevent you from selling your resources). That’s where having an alliance is useful. You should donate all your excess resource to the alliance.
6. Build traps! An attacker cannot clean the traps without sustaining some losses. If you keep on building traps, you get pp too! So win-win situation for you.
7. If you cannot do point 4 & 5, train your troops when attacked. This will put some of your resources to use.
8. The idea is, do not let your attacker get any resource or any pp.
9. Last two points, first, dont ever give up. Fight back. Use your cav (just one) to attack on the oasis or forts of your opponent. If he belong to an alliance, attack the oasis or forts of that alliance. Once you win the oasis or fort, don't keep it, resign it!! and go for next oasis and fort. Bring him some pain!
10. Haypi, many times mimics real life. There is always a bigger fish in the pond. If someone is harassing you continuously, ask for help. May be the king of the kings, may be the leader of strongest ally, may be just some friends on world chat. Don’t keep quiet, fight back!
These are just some random thoughts I could collect. There are of course more strategies. Please feel free to add more, or correct me if I mis stated anything. Thanks for reading!!