The large difference in the appearance and size of dog breeds is because the dog has been domesticated for far longer than the cat and therefore selective breeding has been going on for far longer than is the case for the cat. In addition dogs are working animals especially in the past and therefore they were selectively bred for that task which expanded the difference in size and appearance.