Plug-in-type websites, such as Joomla, will not be difficult to come up with the top popularity, low level can only give one hundred points, no way, thank you for your thanks.

Source: Internet
Author: User
Plug-in-type websites, such as Joomla, will not be difficult to come up with the top popularity, low level can only give one hundred points, no way, thank you for your thanks... Humble. net Cainiao programmers are not familiar with PHP. recently, they have been arranged to understand the plug-in principle of Joomla. Gu Gedu Niang did not get any results after a few days. Q: 1. & nbsp; what is its plug-in implementation principle? & Nbsp; do you want to reserve interfaces or triggers for other parts to be called? & Nbsp; if yes, & nbs plug-in-type websites, such as Joomla, will not bother you too. if the level is low, you can only score one hundred points. No way, thank you. thank you...
I am a Cainiao. Net programmer, but I do not know PHP. Recently, I was arranged to understand the plug-in principle of Joomla. after a few days, I did not get any results and asked:

1. what is its plug-in implementation principle? Are you sure you want to reserve interfaces or triggers for other parts to call? If yes, what interfaces or triggers are reserved for Joomla?

2. how to run the four extensions (components, modules, plug-ins, and libraries) in the system

3. how to replace the style sheet for skin replacement (I may know this because I can do it myself)

In your own. net websites are developed using a plug-in method similar to this Joomla, so you need to know how it is implemented, instead of using Joomla to build a website. a low level can only give one hundred points, no way, thank you.

Joomla plug-in type

Share: More


------ Solution --------------------
The essence of plug-ins is to enhance software functions without modifying the program subject. When the interface of the plug-in is exposed, anyone can create the plug-in by themselves to solve some operation inconvenience or add some functions. A plug-in framework consists of the main program (host) and plug-in (plug-in ). The main program is the program that contains the plug-in. The plug-in must implement several standard interfaces, which are called by the main program during communication with the plug-in.

For you, you can look at the plug-in GIS software design principles and implementation based on. NET reflection technology.
------ Solution --------------------
It's easy to put it bluntly.
That is, all the foreground inherits the class containing the trigger.
When the page is running, trigger determines whether there is a plug-in or a component or something that needs to be run. If yes, it will run.
Note the position of the trigger in the program: Before and after running.
In addition, each page can be bound with a plug-in. these records are stored in the database.
------ Solution --------------------
Download an existing one.

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.