Skip to content

Commit

Permalink
fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen committed Jan 11, 2012
1 parent db0ad14 commit 0ce2a83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/part5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ idea, especially if you still have the separation of concerns principle in
mind.

Let's separate the template code from the logic by adding a new layer: the
controller: *The controller mission is to generate a Response based on the
information conveyed by the client Request.*
controller: *The controller's mission is to generate a Response based on the
information conveyed by the client's Request.*

Change the template rendering part of the framework to read as follows::

Expand Down Expand Up @@ -142,7 +142,7 @@ Here is the updated and improved version of our framework::
To celebrate the birth of our new framework, let's create a brand new
application that needs some simple logic. Our application has one page that
says whether a given year is a leap year or not. When calling
``/is_leap_year``, you get the answer for the current year, but the you can
``/is_leap_year``, you get the answer for the current year, but you can
also specify a year like in ``/is_leap_year/2009``. Being generic, the
framework does not need to be modified in any way, just create a new
``app.php`` file::
Expand Down

0 comments on commit 0ce2a83

Please sign in to comment.