You are responsible to load your code by requiring the different modules you application is composed of.
Depending on the architecture and the complexity of your application, you can organize your code in subsystems. Even in this case, though, you are responsible to define when a subsystem is considered to be fully loaded and initialized. Il 18/mag/2014 23:21 "Michael DeMond" <[email protected]> ha scritto: > Hello Community, > > Total Node newb here. :) I just started a few weeks ago and have been > learning it. I am curious if there is an equivalent to a window.onload > event handler in NodeJS. Essentially, I am looking to execute a delegate > when all of the code in my NodeJS application has loaded. > > Thank you for any assistance you can lend, > Michael > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/d3f86cea-2079-4c89-9a46-bba931f2850a%40googlegroups.com<https://groups.google.com/d/msgid/nodejs/d3f86cea-2079-4c89-9a46-bba931f2850a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CABQ8R0xy4%2BYRAUG2Y48JWwK48Aunx%2BRodcsxtPY_7Mbc9jdGWw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
