TAILIEUCHUNG - Creating Applications with Mozilla-Chapter 2. Getting Started- P3

Tham khảo tài liệu 'creating applications with mozilla-chapter 2. getting started- p3', 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 2. Getting Started- P3 . Creating a Package The previous two main sections introduced the concept of chrome and the prospect of creating standalone application windows. The next step is to make the example into an actual package -- a modularized collection of files that can be installed in Mozilla as a new application. In the earlier section Section you added features and complexity to your XUL file. In this section you pull those features into separate files -- a CSS file JS file and a DTD file -- register these files together and make them installable as a single package. Only when you have packaged your work will your files have access to Mozilla files such as CSS and scripts be accessible from the special chrome type URLs be able to accept new themes and be able to get to the XPCOM objects in which much of the application for Mozilla is defined. Tools are available that help set up the files that form the basis of a new package. Appendix B provides information about XULKit which is a collection of scripts that automates part of the package creation process. It is recommended that you try to set up your own package by hand first to understand how packages are put together before using the XULKit scripts. . Architecture of a Chrome Package The architecture of the Mozilla XPFE is component- or layer-based. One of the primary aims of the design was the separation of each different component of an application namely content functionality and layout. This design results in greater modularization making it easy to create and change a UI -- to change skins for your application for example update the language in which the user interface is presented or bring in new script elements. When a package is modularized like it can be in Mozilla design determinations can be left to the designer language in the user interface can be left to writers and the application framework itself can be handled by software developers though the programmer handles all of .

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.