I see some scripts, they build in such a way where other people can write their extensions to incorporate with the main script. Scripts like Joomla, allows something like this. The problem is how do these scripts then read the extension scripts and accept it as one of its module and work together? What is the idea behind for the third party script and their own script to work together? How can I build something like this for mine?
I Googled for something like this but I think I am not sure with the keywords and that's why I am not getting any results I am looking for.