It is only through the process of the dialogue of the community that knowledge of God's revelation grows and becomes the Word of God for the present generation. For example, consider the Inquistion's impact on the Christian Church at the end of the Middle Ages. This type of reading has many names. This provides the focus for midrashic commentary. Notice how this is tied to the goal of Jewish life, to live by the Torah as God's plan for creation.
Christian allegory is likely to have a broader focus than midrash.
An Moses understood and cast the two tables out of his hands, and their covenant was broken, in order that the covenant of Jesus the Beloved should be sealed in our hearts in hope of his faith. Barnabas perceives a Christian doctrinal lesson in Moses' act of casting down the tablets of stone and breaking them. This act is symbolic. It prefigures the New Testament. The Fathers were ever alert to OT passages which might support Christian doctrinal lessons.