Skip to content

Commit 0ce2a83

Browse files
committed
fixed some typos
1 parent db0ad14 commit 0ce2a83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/part5.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ idea, especially if you still have the separation of concerns principle in
99
mind.
1010

1111
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.*
1414

1515
Change 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::
142142
To celebrate the birth of our new framework, let's create a brand new
143143
application that needs some simple logic. Our application has one page that
144144
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
146146
also specify a year like in ``/is_leap_year/2009``. Being generic, the
147147
framework does not need to be modified in any way, just create a new
148148
``app.php`` file::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy