Fix intro to 13.3.md

This commit is contained in:
Anchor
2015-01-22 11:28:59 -08:00
parent 4f1a6da9cd
commit bed5a02d0e

View File

@@ -1,6 +1,6 @@
# 13.3 Design controllers
# 13.3 Designing controllers
Most of the traditional MVC framework is based on the design of postfix Action mapping, however, is now popular REST-style Web architecture. Although the use of Filter or rewrite URL rewriting can be achieved through a REST-style URL, but why not just design a new REST-style MVC framework it ? This section is based on this idea on how to start from scratch to design a REST-style MVC framework based on the controller, to maximize simplify Web application development, or even write a single line of code to achieve the "Hello, world".
Most traditional MVC frameworks are based on suffix Action mapping. Nowadays, the REST style web architecture is becoming increasingly popular. One can implement REST-style URLs by filtering or rewriting them, but why not just design a new REST-style MVC framework instead? This section is based on this idea, and focusses on designing and implementing a controller based, REST-style MVC framework from scratch. Our goal is to simplify the development of web applications, perhaps even allowing us to write a single line of code capable of serving "Hello, world".
## Controller role