I think the Dogs did a good job with the deal. You don't want a contract to a mega star to linger in his last year before FA'cy. It's a distraction, because all everyone will be talking about and asking said player is, will you re-sign. Or FA'cy. Players say it won't be a distraction. But every reporter will be asking the FA question.
for the Dodgers, it is good that it limits their liability to only 7 years. A lot can happen in 7 years. Look how quickly Halladay broke down. And just because they give him a 5+2, doesn't mean they can exclusively negotiate an extension later on. They can keep adding years if they both agree and see fit.
This is what I think most people lose in the Trout talks. They think it's a finite 10 or more years so that you can lock him up. Where a lower deal like a 6-7 does the same thing, and reduces the risk. Because nothing says that after 3 years you can't negotiate another 3 years.