Atitit.web three major programming models Web Page Web Forms and MVC

Source: Internet
Author: User

Atitit.web three major programming models Web Page Web Forms and MVC

1. The programming model isWeb Formsand theMVC (Model, View, Controller).

2. Webprogramming model? Here we defineWebprogramming model for how to write code generationHTMLthe method returned to the end user.

It includes two parts, one is how to write the specification of the Web application, the other is the Web programming framework that implements the specification,

3. Web Pagesis the simplest.ASPWeb Development programming model. It provides an easy way toHTML,CSS,JavaScriptand server code together:

· Easy to learn, read and use

· Build around a single Web page

· Similar to PHP and ASP

· Server scripts use Visual Basic or C #

· Full Control over HTML,CSS, andJavaScript

Web Pages are extended through a programmable Web Helpers , including databases, videos, images, social networks, and more.

Author:: Old Wow's paw attilax Ayron, email:[email protected]

Reprint please indicate source: Http://blog.csdn.net/attilax

4. WebForm (Jsf,tapestry)

Nor is MVC eminence in Java. Interested can go to see Apache under the Tapestry project, feel very similar to the WebForm event-driven, but the implementation of the difference is still very big

WebForm belongs to Pagecontroller mode, each page corresponds to a controller, usually, this controller is based on the URL corresponding. Aspx

5. MVC///monorail

While monorail is the Frontcontroller mode, the Castle.MonoRail.Framework.MonoRailHttpHandler takes over all requests and then creates the appropriate controller based on the URL of the request. The controller then invokes the corresponding action and finally invokes the template engine output. By default, the structure of a URL is controller/action. For example, http://localhost/monorailSample/Home/index.rails corresponds to the index () method of the class HomeController.

6. Pagecontroller and Frontcontrolleronly one of the controller implementationsMode

Pagecontroller is a decentralized special form of frontcontroller.

7. Reference

Also on Pagecontroller_frontcontroller and MVC--strange--blog park. htm

Atitit.web three major programming models Web Page Web Forms and MVC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.