Plug-in site, such as Joomla, will not be troublesome please come to the top of popularity, low level can only give 100 points, no way, thank you thank you thank you ...

Source: Internet
Author: User
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.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.