This has brought about two more interesting questions: What is the difference between a library and a framework? Why would you prefer one over the other?