Ignore:
Timestamp:
12/16/11 11:19:54 (13 years ago)
Author:
jkraaijeveld
Message:

Implemented lazy evaluation.

  • Initially, references to other database objects are now given as an ID rather than an object.
  • Every model class now has an evaluate() function, which gets all the objects that object has references to. Returns true if it got all the values correctly, false if there are invalid references.
  • Every connector now first evaluates an object before storing, to make sure only objects with valid references get stored.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/master.php

    r58 r186  
    1515session_start();  // Start the session
    1616
    17 
    18 
    1917function __autoload($class_name) {
    2018    require 'classes/' . $class_name . '.php';
     
    3129        exit();
    3230}
     31
     32
     33?>
Note: See TracChangeset for help on using the changeset viewer.