TAILIEUCHUNG - zope bible phần 5

Tham khảo tài liệu 'zope bible phần 5', 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ả | 230 Part II Building Zope Products Making the changes to adds an Edit Entry button at the top of the page that makes it easier to access the editEntryForm. After changing the file reload the page for an entry such as Test 1 and you ll see the button at the top of the page. Click it and you ll be taken to the editEntryForm method for that entry. Congratulations You ve created a basic AddressBook application product. It is admittedly a little rough around the edges but it has all of the basic functionality that such an application requires. In the next chapter we show you how to add some polish and ease of use. Onthe A The code for the product at this point can be found in the chapter_07 I CDjRO A Addressit_4 directory on the accompanying CD-ROM. Summary In this chapter we showed you step-by-step how to create a basic Web application as a Zope Python Product. We showed you How to instantiate and edit AddressBooks How to add instances of the Entry class to the AddressBook How to list entries in the AddressBook How to delete entries from the AddressBook How to traverse the AddressBook into the entry instances How to edit the entry instances In the next chapter we show you how to increase the sophistication of the AddressBook s user interface. Enhancing the AddressBook In Chapter 7 we demonstrated the design and implementation of a fairly straightforward AddressBook application. In this chapter we show you how to continue and improve the Address Book s functionality and user interface. Adding a Standard Header Until now none of the DTML files that we ve added to the AddressBook application have shared any code or layout besides the standard headers and footers Zope already uses. In order to make it easier to create standardized navigation for the application a new header for the AddressBook is a good idea. Add a file to the Addressit dtml directory with the following code table width 100 cellspacing 0 cellpadding 2 border

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.