v1-3: The emphasis in chapters 12 to 14 is the characters, rather than the events.
John introduces the woman, reminiscent of Joseph's dreams (Gen 37).
v4: The dragon, Satan, ready to devour, such is his character. In Jam 4.1-2 Christians who shared this attitude are criticised, see also Gal 5.15.
v5: See Ps 2.8-9; the child is Christ, for He will rule the nations with the rod of iron.
v6: The woman is snatched away, safe in the desert, see also v14. The desert is seen as the place where God comforts and provides for His people, Jer 31.2, Ezek 20.35-36.
v7-8: The battle in the heavens. In Is 14.12-15, the devil was cast out of Heaven long before. Yet here we see a battle with the prince of the power of the air.
v9: The dragon is identified with Satan, the devil. He is cast down to the earth, to deceive.
v10: Satan is also the accuser of the brethren, for example, of Job. The victory here is important, since the kingdom of Christ has been proclaimed, and Satan can have no place.
We must understand that the enemy is the accuser of the brothers and sisters. In Christ, we are born again, a new creation, accepted in Christ, secure, not condemned. Yet the enemy will try to destroy our confidence in those truths. He does so by accusing us.
v11: Victory for the brethren, for Christ has won the ultimate victory over the enemy. Even here the devil does not prevail, for we can enjoy victory on the earth. Note that victory comes at real cost, as the brethren did not shrink from death.
v12: His work on earth is for a short time only, and he has great wrath. The idea of 'time' is that God has put boundaries on all time and, in particular, on the time granted to the enemy to deceive and destroy.
v13-16: The dragon, having no place in the heavens, walked the earth, seeking to devour the woman. She was first given wings to fly to safety in the desert; next the earth helped here by swallowing the flood sent to destroy her. The time of exile is 1260 days (v6), or 3½ years; a definite time, limited by the power and grace of God. In contrast, there is eternity.
v17: The rest of her offspring, a reference to believing Jews. Like Christ Himself, they are persecuted by Satan. Satan is always set on opposing God and His Christ, on the woman and her offspring. This is spiritual conflict, some taking place in the heavens, and some on the earth.
There is a period of 3½ years of safety for the woman, whilst her offspring suffer severe trial.