TAILIEUCHUNG - Beginning Ajax with PHP From Novice to Professional P2

Cấu trúc của một yêu cầu máy chủ dựa trên Ajax là khá dễ dàng để hiểu và gọi. Thật đơn giản, bạn chỉ cần phải tạo một đối tượng của loại XMLHttpRequest, xác nhận rằng nó đã được tạo ra thành công, nơi mà nó sẽ đi và kết quả sẽ được hiển thị, và sau đó gửi nó. | CHAPTER 2 Ajax Basics n interesting misconception regarding Ajax is that given all the cool features it has to offer the JavaScript code must be extremely difficult to implement and maintain. The truth is however that beginning your experimentation with the technology could not be simpler. The structure of an Ajax-based server request is quite easy to understand and invoke. You must simply create an object of the XMLHttpRequest type validate that it has been created successfully point where it will go and where the result will be displayed and then send it. That s really all there is to it. If that s all there is to it then why is it causing such a fuss all of a sudden It s because Ajax is less about the code required to make it happen and more about what s possible from a functionality ergonomics and interface perspective. The fact that Ajax is rather simple to implement from a development point of view is merely icing on a very fine cake. It allows developers to stop worrying about making the code work and instead concentrate on imagining what might be possible when putting the concept to work. While Ajax can be used for very simple purposes such as loading HTML pages or performing mundane tasks such as form validation its power becomes apparent when used in conjunction with a powerful server-side scripting language. As might be implied by this book s title the scripting language I ll be discussing is PHP. When mixing a clientside interactive concept such as Ajax with a server-side powerhouse such as PHP amazing applications can be born. The sky is the limit when these two come together and throughout this book I ll show you how they can be mixed for incredibly powerful results. In order to begin making use of Ajax and PHP to create web applications you must first gain a firm understanding of the basics. It should be noted that Ajax is a JavaScript tool and so learning the basics of JavaScript will be quite important when attempting to understand Ajax-type .

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.