One of the characteristics of Clash of Clans, is that it gives you the freedom to distribute all the elements of your village in the way you prefer, to achieve the goals you have in mind. Next in Mobailgamer we will explain a little more about village models...
The key is to know what it is you want to protect and give it all the attention and protections available.
For example.
If you are going to organize your main village, where you are collecting gold and elixir, then many people try to protect the warehouses and mines by leaving the town hall out. Walls and defensive structures are then used to best surround the resources.
But if you're looking to get into higher trophy leagues as well as protect resources, then this plan of leaving the town hall out isn't that great, as you risk getting three stars removed if someone really strong attacks you.
On the other hand, the war village has been the most important when it comes to organizing an optimal distribution, and we can tell you that, although there is no recipe, you can look at the distribution of professional players and try to copy it.
Go testing several distributions until you find the one that generates the best results.
Do not forget to use the traps to try to delay the entrance of troops to the area of the town hall as much as possible.