Talk:Hooks spec
A. The proposed implementation sounds exactly like how the events system works.
B. To comment on your proposed use cases, which I numbered for convenience: 3. The correct solution to this would be to make the whole front page display from blocks (like the My Moodle page.) 4. mime types should be handed exactly the same way as the list of countries and time zones are currently handled. 5. List of licenses should be a configuration thing. 6. What advantage does hooks give over events? 7. 7 8. seem to be the same thing. Let us redesign formslib first. Implementing hooks now would just make it harder to redesign formslib later. To solve your specific example today, I would make a "This class is in room ..." block.
So, overall, I am not convinced this add much other than complexity at the moment.--Tim Hunt 16:26, 19 April 2013 (WST)