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