Posted by bryan on 01/24/06 23:27
lets say I have file, index.php that includes a file logic.class.php,
and inside of index.php i initialize the class, $logic = new logic;
now, lets say that the $logic object inside the class file uses ANOTHER
class, $template = new template; for templating it and lets say the
TEMPLATE object users ANOTHER class...my question is does it matter how
far down you go inside the files? will they all still work fine? Is
there a limit? Is this just bad design? Need some input.
[Back to original message]
|