I thought they tried to follow the main story rather well. But I think it would be hard to appreciate the movie if you hadn't read the book. I also wish they extended the running time by at least 20 minutes to flesh out his training more. I could see why they cut the brother and sister's storyline, but everything about Ender was important to the plot. Still, they had more respect for the source material than someone like Peter Jackson (and he isn't the worst one either).
I was quite impressed by the third book in the series, XENOCIDE.
In it, Endor had taken the Hive Queen, whom he had secretly saved after she had managed to get into telepathic contact with him, to the planet Lusitannia, where she developed a new nest. Also on Lusitania were the pequininos, who had been changed in the past, it was gradually discovered, by a virus which was seeded by an unknown other species, but the virus, the descolada, which killed all humans it infected, and rapidly adapted in an intelligent way to any counter measures that the human colony came up with, was frightening to the rest if the human empire. The discussions about whether or not the virus is intelligent, and how it could possibly be eradicated because the pequinios needed the virus, has ideas towards thinking about what the ultimate potentials of viruses might be.
There was also a planet where some people had been genetically engineered to be very intelligent, but the a gene for obsessive-compulsive illness was also included to keep them under control. That is an interesting consideration of a possible way humans might manipulate other humans.
Near the end, after another thread of description of the discovery process, Endor and others discover a way to move a room without an engine from one planet to another, by using philotes. The Hive Queen had an important part of this because she was using the method naturally. This then is another of the many ways science fiction authors have invented for people to travel faster than light.
So they all escape and begin reforming the human empire run by the corrupt Starways Congress, and all the species involved were set on the course of living peacefully together.
Jim