@Maarten: Hi Maarten, I'm not sure I completely understand your question. You put code in that structure that you want to execute when the page loads. Sometimes, you are REGISTERING an event that the user may kick off later somehow (like a click event, but there are many other possibilities). There are techniques where you can attach a method call AFTER the page load (again, in response to some user action) but I don't talk about those in depth in this series (actually, honestly, it's been a couple of years since I recorded this so my memory is foggy on exactly what I do talk about in this series) but for more information check this out:
Did that answer your question? If not, could you rephrase and I'll take another pass at answering.