شرکت فناوری اطلاعات رسمین

ارائه راهکارهای نرم افزاری برای واحد های کاری کوچک و بزرگ، بست و توسعه نرم افزار های کاربردی، طراحی وب سایت برای کلیه واحد های صنفی

شرکت فناوری اطلاعات رسمین

ارائه راهکارهای نرم افزاری برای واحد های کاری کوچک و بزرگ، بست و توسعه نرم افزار های کاربردی، طراحی وب سایت برای کلیه واحد های صنفی

شرکت فناوری اطلاعات رسمین

رسمین مخفف کلمات رستمی و مینو می باشد و با توجه به گسترش روز افزون استفاده از نرم افزار های کاربردی در سال 1392 تصمیم بر این شد که شرکت رسمین را برای ارائه خدمات کامپیوتری نظیر راهنمایی و مشاوره، ایجاد نرم افزار های سفارشی و وب سایت های مورد نیاز کارفرمایان را تأسیس نماییم.

طبقه بندی موضوعی
بایگانی

Model–view–controller

Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user.

Traditionally used for desktop graphical user interfaces, this architecture has become extremely popular for designing web applications.

History

MVC was one of the seminal insights in the early development of graphical user interfaces, and one of the first approaches to describe and implement software constructs in terms of their responsibilities.

Trygve Reenskaug introduced MVC into Smalltalk-76 while visiting Xerox Parc in the 1970s. In the 1980s, Jim Althoff and others implemented a version of MVC for the Smalltalk-80 class library. It was only later, in a 1988 article in The Journal of Object Technology, that MVC was expressed as a general concept.

The MVC pattern has subsequently evolved, giving rise to variants such as HMVC, MVA, MVP, MVVM, and others that adapted Model View Controller to different contexts.

The use of the MVC pattern in web applications exploded in popularity after the introduction of the Spring Framework. The introduction of Ruby on Rails and Django, both of which had a strong emphasis on rapid deployment, increased its popularity outside of the traditional enterprise environment in which MVC has long been popular. MVC web frameworks now hold large market shares relative to non-MVC web toolkits.

Description

As with other software patterns, MVC expresses the "core of the solution" to a problem while allowing it to be adapted for each system. Particular MVC architectures can vary significantly from the traditional description here.

 

Components

The central component of MVC, the model, captures the behavior of the application in terms of its problem domain, independent of the user interface. The model directly manages the data, logic and rules of the application. A view can be any output representation of information, such as a chart or a diagram; multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants. The third part, the controller, accepts input and converts it to commands for the model or view.

 

Interactions

In addition to dividing the application into three kinds of components, the model–view–controller design defines the interactions between them.

  • A controller can send commands to the model to update the model's state (e.g., editing a document). It can also send commands to its associated view to change the view's presentation of the model (e.g., by scrolling through a document).
  • A model stores data that is retrieved to the controller and displayed in the view. Whenever there is a change to the data it is updated by the controller.
  • A view requests information from the controller. The controller fetches it from the model and passes it to the view that the view uses to generate an output representation to the user.

Use in web applications

Although originally developed for desktop computing, model–view–controller has been widely adopted as an architecture for World Wide Web applications in major programming languages. Several commercial and noncommercial web application frameworks have been created that enforce the pattern. These frameworks vary in their interpretations, mainly in the way that the MVC responsibilities are divided between the client and server.

Early web MVC frameworks took a thin client approach that placed almost the entire model, view and controller logic on the server. This is still reflected in popular frameworks such as Ruby on Rails, Django, and Express. In this approach, the client sends either hyperlink requests or form input to the controller and then receives a complete and updated web page (or other document) from the view; the model exists entirely on the server. As client technologies have matured, frameworks such as AngularJS, Ember.js, JavaScriptMVC and Backbone have been created that allow the MVC components to execute partly on the client (also see Ajax).

 

#Reference

 

  • احمد مینو

نظرات  (۱)

My programmer is trying to convince me to move to .net from PHP.
I have always disliked the idea because
of the expenses. But he's tryiong none the less.
I've been using Movable-type on several websites for about a year and am anxious about switching to another platform.
I have heard good things about blogengine.net. Is there a way I can transfer all my wordpress
posts into it? Any help would be really appreciated!
ارسال نظر آزاد است، اما اگر قبلا در بیان ثبت نام کرده اید می توانید ابتدا وارد شوید.
شما میتوانید از این تگهای html استفاده کنید:
<b> یا <strong>، <em> یا <i>، <u>، <strike> یا <s>، <sup>، <sub>، <blockquote>، <code>، <pre>، <hr>، <br>، <p>، <a href="" title="">، <span style="">، <div align="">
تجدید کد امنیتی