Joomla Plug-in type
My humble. NET novice programmer, more do not understand PHP, recently was arranged to understand the plug-in principle of Joomla, Gotodo Niang a few days no results, asked:
1. What is its plug-in implementation principle? Do you want to prestage something like an interface or a trigger to make another part call? If yes, which interfaces or triggers are reserved by Joomla?
2. Its extension part, 4 kinds of plugins (do not know whether components, modules, plugins, libraries) How to run the system
3. How to replace it with the style sheet (this I may know, because I can also do)
To be in their own. NET site using similar to this Joomla plug-in way to develop, so to know how it is implemented, instead of using Joomla to build a website, low level can only give 100 points, no way, thank you.
Reply to discussion (solution)
The essence of plug-ins is to strengthen the software function without modifying the program body. When the plug-in interface is exposed, anyone can make a plugin to solve some operational inconvenience or add some functionality. A plug-in framework consists of two parts: the main program (host) and the Plug-in ((plug-in). The main program is the program that contains the plug-in. Plug-ins must implement several standard interfaces that are called by the main program when communicating with the plug-in.
For you, you can look at this based on. NET reflection technology of plug-in GIS software design principle and implementation
The essence of plug-ins is to strengthen the software function without modifying the program body. When the plug-in interface is exposed, anyone can make a plugin to solve some operational inconvenience or add some functionality. A plug-in framework consists of two parts: the main program (host) and the Plug-in ((plug-in). The main program is the program that contains the plug-in. Plug-ins must implement several standard interfaces that are called by the main program when communicating with the plug-in.
For you, you can look at this based on. NET reflection technology of plug-in GIS software design principle and implementation
Thank you, if you could be more detailed.
Is it sinking? No way
Dude, actually, it's simple.
Is that all the front office inherits the class that contains the trigger.
When the page is running, trigger triggers determine if there are plugins or components that are good and need to run, if so.
It is important to note that the trigger's position in the program: Before running, after running.
Also, each page can be bound to plug-ins, these records are stored in the database
Download a ready-made.
Dude, actually, it's simple.
Is that all the front office inherits the class that contains the trigger.
When the page is running, trigger triggers determine if there are plugins or components that are good and need to run, if so.
It is important to note that the trigger's position in the program: Before running, after running.
Also, each page can be bound to plug-ins, these records are stored in the database
A little more ideas, thanks! If we could have been more detailed.