Đang chuẩn bị liên kết để tải về tài liệu:
ColdFusion MX Bible phần 5

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Bởi bây giờ, bạn có thể có được ý tưởng cơ bản đó, ở cấp độ cơ bản nhất của nó, một thành phần giống như một container cho các chức năng liên quan, và cách gọi các chức năng thành phần giống như cách gọi các chức năng địa phương, ngoại trừ bạn cũng phải chỉ định tên của các thành phần có chứa chức năng. | 456 Part IV ColdFusion MX Components Web Services and Flash Integration By now you probably get the basic idea that at its most basic level a component is like a container for related functions and invoking component functions is much like invoking local functions except that you must also specify the name of the component that contains the function. So . . . big deal You bet Even the most basic use of the simplest components changes your approach to ColdFusion development because you re now completely separating logic from presentation you re exposing logic as a set of simple yet formal function calls available to any part of your application even remote applications as you see in Chapters 25 and 26 and you re encapsulating the functions related to a single entity into a single component. And if you think components are just a substitute for a bunch of CFINCLUDEs keep reading. . Separating logic from presentation The need to separate logic from presentation is more important now than it has ever been for a number of reasons as outlined in the following list The ever-increasing array of handheld devices and their widely varying display formats. The renewed interest in syndicated content that must form-fit various Web layouts. The trend away from delivering plain-text streams and HTML and toward delivering generalized XML XHTML WML and other pivot formats i.e formats that acts as intermediate steps in a data conversion process that are further processed into finished content on target devices. The desire to easily expand very large corporate applications while minimizing new errors or anomalies into the software. The headlong rush into delivering better faster Web applications through Flash MX Remoting technology. By encapsulating into a single component all the functionality related to an entity and then simply calling on that component whenever data is needed to be retrieved updated deleted and so on you build applications that help achieve the goals of targeting

Đã 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.