TAILIEUCHUNG - Mastering Joomla! 1.5 Extension and Framework Development phần 4

gây ra hoặc bị cáo buộc gây ra trực tiếp hoặc gián tiếp bởi cuốn sách này. đã cố gắng để cung cấp nhãn hiệu hàng hoáHướng dẫn của chuyên nghiệp để lập trình Joomla!Khi chúng tôi thực hiện bất kỳ thay đổi phiên làm việc của người sử dụng, | Chapter 5 Summary The two flavors in which modules come frontend and backend essentially define two different types of extension. Backend modules are often overlooked because we tend to be less aware of them. We should try to remember that backend modules are very powerful and can greatly enhance the administrative capabilities of components. Modules are integral to the success of a component. It s not uncommon for one component to include several modules. The simple nature of modules makes it easy to become sophisticated about them. It s important to remember that because they are used and rendered so frequently efficient code is essential to good module design. 131 Plugin Design Plugins enable us to modify system functionality without the need to alter existing code. For example plugins can be used to alter content before it is displayed extend search functionality or implement a custom authentication mechanism. As an example this chapter shows how to replace a string in an article with an image. Plugins use the Observer pattern to keep an eye on events. It is by listening to these events that we can modify the system functionality. However this also means that we are limited to only modifying those parts of the system that raise events. Plugins represent the listener and they can define either a listener class or a listener function to handle specific events. In this chapter we will cover the following Setting up a Sandbox Events Listeners Plugin Groups Loading Plugins Using Plugins as libraries in lieu of library extensions Translating Plugins Dealing with Plugin Settings Parameters Packaging File Naming .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.