File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ idea, especially if you still have the separation of concerns principle in
99mind.
1010
1111Let's separate the template code from the logic by adding a new layer: the
12- controller: *The controller mission is to generate a Response based on the
13- information conveyed by the client Request. *
12+ controller: *The controller's mission is to generate a Response based on the
13+ information conveyed by the client's Request. *
1414
1515Change the template rendering part of the framework to read as follows::
1616
@@ -142,7 +142,7 @@ Here is the updated and improved version of our framework::
142142To celebrate the birth of our new framework, let's create a brand new
143143application that needs some simple logic. Our application has one page that
144144says whether a given year is a leap year or not. When calling
145- ``/is_leap_year ``, you get the answer for the current year, but the you can
145+ ``/is_leap_year ``, you get the answer for the current year, but you can
146146also specify a year like in ``/is_leap_year/2009 ``. Being generic, the
147147framework does not need to be modified in any way, just create a new
148148``app.php `` file::
You can’t perform that action at this time.
0 commit comments