Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ce2a83

Browse filesBrowse files
committed
fixed some typos
1 parent db0ad14 commit 0ce2a83
Copy full SHA for 0ce2a83

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎book/part5.rst

Copy file name to clipboardExpand all lines: book/part5.rst
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.