I was looking through the Joomla jimport. It sure reminded me of the way java did its packaging. Hmm. after some digging through, i find it pretty innovative. Joomla actually have some kind of delayed loading mechanism, so that they only load the file when the Class has actually been called.
This is best illustrated by the piece of code below.
I also find the following article informative:
Besides explaining jimport, it also talks a little about how JFactory can be used to get Joomla objects.





