Orlando definately got the better end of this deal.
Simply put, Houston got a player who's inexperienced with other talent (Yao is the center of the franchise, after all) and 30 points a game.
They gave up one of the only players to average at least 15 points, 5 rebounds and 5 assists in their first three seasons (Steve Francis) and a combined 40 points per game.
Orlando, however, got 40 points per game, Dwight Howard, what's his face (Jameer Nelson? I know the player, not the spelling) and a whole lotta depth.
Orlando is now a playoff team, and the Rockets are now the lakers, except stupider, because they actually gave up good players instead of Vlade Divac.