View (MVC)

Định nghĩa View (MVC) là gì?

View (MVC)Xem (MVC). Đây là nghĩa tiếng Việt của thuật ngữ View (MVC) - một thuật ngữ thuộc nhóm Technology Terms - Công nghệ thông tin.

Độ phổ biến(Factor rating): 5/10

Một View, trong bối cảnh của một kiến ​​trúc Model View Controller (MVC), là một lớp phần mềm có chứa một mẫu và dữ liệu mẫu và tạo ra một phản ứng cho trình duyệt. Nó nhận dữ liệu từ Controller của MVC và gói nó và quà nó vào trình duyệt để hiển thị. The View không phải là -nó rất tự trị giống như một hộp đen, nơi một số dữ liệu được ném vào nó và nó mang lại một màn hình cho người dùng một cách thân thiện với trình duyệt. Nó thu thập các dữ liệu đầu vào từ các nguồn dữ liệu, tìm mẫu khi gọi, và máy liên hợp chúng vào đầu ra HTML khi chạy.

Xem thêm: Thuật ngữ công nghệ A-Z

Giải thích ý nghĩa

Cách điều khiển chuyển dữ liệu xuống View là thông qua một cuốn từ điển được gọi là một cuốn từ điển ViewData. Từ điển này chứa các kết quả đóng gói mà kết thúc được chuyển đổi sang các kết quả đầu ra HTML. Kết quả từ một Xem thường là HTML, tuy nhiên nó cũng có thể được định nghĩa để cho kết quả xem khác như chuỗi JSON và mã JavaScript.

What is the View (MVC)? - Definition

A View, in the context of a Model View Controller (MVC) architecture, is a software class that contains a template and data form and produces a response for the browser. It receives data from the Controller of the MVC and packages it and presents it to the browser for display. The View is not very autonomous -it is like a black box where some data is thrown at it and it gives a display to the user in a browser friendly manner. It collects the input data from data sources, finds the template upon invocation, and combines them into HTML output at runtime.

Understanding the View (MVC)

The way the Controller passes data down to the View is through a dictionary called a ViewData dictionary. This dictionary contains the packaged results which end up being converted to the resulting HTML output. The output from a View is usually HTML, however it can also be defined to give other view results such as JSON strings and JavaScript code.

Thuật ngữ liên quan

  • Visual Basic (VB)
  • Database (DB)
  • Model View Controller (MVC)
  • Application Service Provider (ASP)
  • Data
  • Extensible Markup Language (XML)
  • Database Trigger
  • Application Programming Interface (API)
  • Programming
  • High-Level Language (HLL)

Source: ? Technology Dictionary - Filegi - Techtopedia - Techterm

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *