fix typos

This commit is contained in:
Morris Jobke
2014-05-07 20:01:09 +02:00
parent a41906afb5
commit 2daa876cf2
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ Container
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
The App Framework assembles the application by using an Inversion of Control container which does :doc:`../general/dependencyinjection`. Dependency Injection helps you to create testable and maintainable code. For a very simple and good Tutorial, watch the `Dependency Injection and the art of Services and Containers Tutorial on YouTube <http://www.youtube.com/watch?v=DcNtg4_i-2w>`_. A broader overview over how it works and what the benefits are can be seen on `Google's Clean Code Talks <http://www.youtube.com/watch?v=RlfLCWKxHJ0>`_.
The App Framework assembles the application by using an Inversion of Control container which does :doc:`../general/dependencyinjection`. Dependency Injection helps you to create testable and maintainable code. For a very simple and good tutorial, watch the `Dependency Injection and the art of Services and Containers Tutorial on YouTube <http://www.youtube.com/watch?v=DcNtg4_i-2w>`_. A broader overview over how it works and what the benefits are can be seen on `Google's Clean Code Talks <http://www.youtube.com/watch?v=RlfLCWKxHJ0>`_.
The container is configured in :file:`appinfo/application.php`.
@@ -37,7 +37,7 @@ To add your own classes simply open the :file:`appinfo/application.php` and add
*/
$container->registerService('PageController', function($c){
return new PageController(
$c->query('AppName'),
$c->query('AppName'),
$c->query('ServerContainer')->getRequest()
);
});

View File

@@ -11,7 +11,7 @@ An example database XML file would look like this:
.. code-block:: xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<database>
<name>*dbname*</name>
<create>true</create>