Differences between revisions 2 and 3
Revision 2 as of 2006-07-31 09:37:20
Size: 532
Editor: ReneZanner
Comment: removed duplicate title
Revision 3 as of 2009-09-20 21:52:44
Size: 534
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
  In [http://www.nabble.com/Re%3A-Shale-AbstractViewController-for-Dummies-p4073019.html this thread], Craig suggests asking yourself the following questions:   In [[http://www.nabble.com/Re%3A-Shale-AbstractViewController-for-Dummies-p4073019.html|this thread]], Craig suggests asking yourself the following questions:

When to use init(), preprocess() and prerender()

  • In this thread, Craig suggests asking yourself the following questions:

    1. Do I need the results of this computation in order to process a form submit?
    2. Do I need the results of this computation in order to render the page?
    Then, based on your answers,
    • Use init() for (1) and (2)

    • Use preprocess() for (1) only

    • Use prerender() for (2) only

ViewController (last edited 2009-09-20 21:52:44 by localhost)