Skip to content

Commit

Permalink
merged branch jdreesen/patch-3 (PR #10)
Browse files Browse the repository at this point in the history
Commits
-------

0ce2a83 fixed some typos

Discussion
----------

fixed some typos

Although I'm not completely sure on the first ones (because I'm not a native speaker) I think it's correct.
  • Loading branch information
fabpot committed Jan 23, 2012
2 parents 7a8e449 + 0ce2a83 commit ae1171a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/part05.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 ae1171a

Please sign in to comment.