Changes between Version 68 and Version 69 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
03/29/11 22:32:26 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v68 v69  
    277277Also be careful in representation functions, especially when used in validators (IS_ONE_OF!). If the table contains thousands of records, then the representation will be called many many times to build a single form field (autocompletes can help!).
    278278
    279 Hence:
    280 Always think in scales of a few thousand records, especially for sequentially called routines like representation of field values, onvalidation and onaccept functions. Do you really need to do all this once per record, or could it be done just once in the request?
     279'''Always think in scales of a few thousand records''', especially for sequentially called routines like representation of field values, onvalidation and onaccept functions. Do you really need to do all this once per record, or could it be done just once in the request?
    281280
    282281