TAILIEUCHUNG - ASP.NET AJAX Programmer’s Reference - Chapter 4

JavaScript Object-Oriented Programming and Type Reflection Extensions JavaScript Lập trình hướng đối tượng và mở rộng của Reflection Loại . NET Framework đi kèm với hai khả năng lập trình quan trọng sau đây: Gõ đầy đủ chính thức và khả năng phản ánh loại, cho phép bạn thực hiện kiểm tra thời gian chạy loại, khám phá, lời gọi, biểu hiện, và như thế hoàn toàn đủ khả năng hướng đối tượng, cho phép bạn tận dụng lợi thế đầy đủ của tất cả các lợi ích nổi tiếng của hướng đối tượng lập trình (OOP), chẳng hạn như các lớp. | 4 -J JavaScript Object-Oriented Programming and Type Reflection Extensions The .NET Framework comes with the following two important programming capabilities Fully fledged typing and type reflection capabilities allowing you to perform runtime-type inspections discoveries invocations instantiations and the like Fully fledged object-oriented capabilities allowing you to take full advantage of all the well-known benefits of object-oriented programming OOP such as classes interfaces inheritance and the like Because the main goal of the AJAX client-side framework is to emulate the and .NET Frameworks as much as possible the AJAX client-side framework comes with a set of extensions known as the AJAX OOP and type reflection extensions that add .NET-like OOP and type reflection capabilities to JavaScript as much as possible. You ve already seen some reflection capabilities in Chapter 2 where the AJAX client-side Framework extends the JavaScript Object type to add support for the getType and getTypeName methods. The .NET Framework comes with an important class named Type that provides most of the reflection capabilities of the Framework. Following the same pattern the AJAX client-side framework introduces a type named Type which provides both OOP and type reflection capabilities which I ll discuss in this chapter. First I ll examine the JavaScript technologies that the AJAX OOP and type reflection extensions use under the hood to extend JavaScript to add OOP and type reflection support. This examination will put you in a much better position to understand and to use the AJAX client-side framework. Chapter 4 JavaScript Object-Oriented Programming JavaScript Functions Every JavaScript function is an instance of a JavaScript type named Function and supports the following properties arguments This property contains the parameters of a JavaScript function which also includes the parameters that the original .

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.