File tree 1 file changed +3
-3
lines changed
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
9
9
mind.
10
10
11
11
Let'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. *
14
14
15
15
Change the template rendering part of the framework to read as follows::
16
16
@@ -142,7 +142,7 @@ Here is the updated and improved version of our framework::
142
142
To celebrate the birth of our new framework, let's create a brand new
143
143
application that needs some simple logic. Our application has one page that
144
144
says 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
146
146
also specify a year like in ``/is_leap_year/2009 ``. Being generic, the
147
147
framework does not need to be modified in any way, just create a new
148
148
``app.php `` file::
You can’t perform that action at this time.
0 commit comments