TAILIEUCHUNG - Creating Applications with Mozilla-Chapter 8. XPCOM- P1

Tham khảo tài liệu 'creating applications with mozilla-chapter 8. xpcom- p1', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 8. XPCOM- P1 This chapter provides a high-level introduction to XPCOM component technology. XPCOM can be difficult to master but after reading this chapter you should have a good sense of what it is and the important part it plays as Mozilla s core technology. You should be able to find and use existing scriptable components in your own applications and create a simple XPCOM component by using JavaScript or C . XPCOM permits a reusable code module to be globally accessible to a Mozilla-based application. You do not need to worry about including external source files in your application distribution and you can distribute components by using XPInstall. This type of architecture makes the development of core application services flexible and entirely modular. The section Section lets you create an interface from start to finish -writing the implementation for that interface compiling it into a type library registering it with Mozilla and then testing the new component. One advantage of using XPCOM is that you can create multiple implementations for a single interface following the JavaScript component section we will take the same nsISimple interface and implement it in C as well. The section Section includes some techniques and programming tasks that are particular to C components such as handling return values and generating header files and useful macros. The section Section introduces the XPCOM bindings for the Python language pyXPCOM . First it provides an overview of XPCOM and how it relates to other technologies used in Mozilla. . What Is XPCOM XPCOM is Mozilla s cross-platform component object model. Although it is similar to Microsoft s COM technology this chapter points out some important differences. Essentially when you program in a component-based environment you do one of three things you create a new component using existing components write a component that implements other components and establish interdependencies and a

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.