TAILIEUCHUNG - ColdFusion MX Bible phần 8

Hình 38-11: Màn hình chính. Chú ý khu vực được đánh dấu cụ thể nội dung fusebox-. Sản lượng fuseactions cụ thể đi, mọi thứ khác trên màn hình là một bố trí. Bởi vì phần bố trí được đánh dấu trên màn hình trong hình 38-12 không thay đổi cho các ứng dụng nhỏ này, | 828 Part VII ColdFusion MX Development Practices Figure 38-11 Main screen. Notice the area marked Fusebox-specific content. The output of specific fuseactions goes here everything else on-screen is a layout. Because the layout portion marked up on the screen in Figure 38-12 doesn t change for this small application you can disregard the layout portion and mark up only the fuseactionspecific content portion as shown in Figure 38-13. Figure 38-12 New user screen. Chapter 38 Advanced Fusebox 829 Figure 38-13 View user screen. No XFAs are needed on this screen. Figure 38-14 Edit user screen. Notice that outgoing variables have dotted outlines in Figure 38-14. You may find that using different colors makes differentiating between outgoing and incoming variables easier. With the prototype marked up you re ready to identify the fuseactions and circuits needed. Because this is so small an application you use only a single circuit that is aliased as Users. The fuseactions fuses and their responsibilities are presented together in Table 38-3. 830 Part VII ColdFusion MX Development Practices Figure 38-15 Delete confirmation screen. Table 38-3 Fuseactions Fuses and Responsibilities Fuseaction Fuse Responsibilities dsp_Main I tell users that they re in the Used Manager app. qry_BlankUserInfo qry_Departments dsp_UserInfo I return a blank record set of User info I return a recordset of info on departments. I provide a form for adding editing a user. qry_Create I create a new record in the USER table. qry_UserInfo qry_Departments dsp_UserInfo I return a recordset of info on the userID sent to me. I return a recordset of info on departments. I provide a form for adding editing a user. qry_Update I update the database with the info passed to me. qry_UserInfo qry_Departments dsp_Read I return a recordset of info on the userID sent to me. I return a recordset of info on departments. I display information based on .

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.