TAILIEUCHUNG - Visual studio 2010 part 27

NET là một công nghệ. Để xây dựng ứng dụng Web. VS cung cấp hỗ trợ cho việc xây dựng một ứng dụng web thông qua cửa sổ như là hộp công cụ, thiết kế, và cửa sổ Properties, cũng như các giải pháp Explorer. | Chapter 9 Creating Web Applications with MVC 249 250 Microsoft Visual Studio 2010 A Beginner s Guide Key Skills Concepts Learn What MVC Means Create Models Create Controllers Create Views Work with Data in MVC is a .NET technology for building Web applications. VS provides support for building a Web application through windows such as the Toolbox Designer and Properties windows as well as the Solution Explorer. This chapter shows you how to use MVC. MVC is an acronym for Model View Controller which is a well-known design pattern for building applications. You ll learn about how MVC works and how it is implemented in MVC. Let s start by helping you understand what MVC is. Understanding MVC The essential piece of knowledge required to be successful with MVC is the Model View Controller pattern. In MVC the Model View and Controller are three separate objects. Table 9-1 describes the purpose of each MVC object. With MVC you have a clear separation of concerns where Model View and Controller have distinct responsibilities. This makes it easier to write good programs that you can return to later for fixing bugs and adding new features. Besides knowing what each of these three objects is you must understand their relationship. Figure 9-1 illustrates the Model the MVC Object Purpose Model The Model is made up of business objects and data. View Each MVC application typically has a user interface that displays information to a user and allows the user to input data. The data that the View displays is read from a Model and the data that the user adds to the View is assigned to the Model. Controller A Controller orchestrates the activities of an application. When a user makes a request for your application MVC invokes a Controller. The Controller will communicate with the Model and View to ensure the program operates correctly. Table 9-1 Purpose of MVC Objects Chapter 9 Creating Web Applications with MVC .

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.