ah, yes - namespaces seem like what i'm after ...
although, when i say third party classes - I mean classes that individuals have made personally, and specifically for integration with my system - the individuals will not know each other, and thus will not know names which are already used, and won't have their own unique prefixes
i was thinking about having every class having the same name i.e. "module" ... to make it simplistic - and allow for other classes within their own scripts ... seems like that's not going to work ... hm
I'm particularly after a module management system - modules should have the potential to be loaded all at the same time - which is why I was considering classes to begin with
now, that's all very well and good - could have some easy linear scripts as modules - but my system spec was to have modules, which could have submodules, and sub-submodules, etc, etc ... which could potentially be easy with classes within classes or same-name classes
Wonder if it's possible to dynamicaly name classes - something like this ... or whatever
<?php
class $className
{
...
}
$myClass = new $className;
?>
If something like that could be done, then i could just name the classes internally, dynamically ... no?