[Pkg-owncloud-commits] [owncloud-doc] 49/270: more on request lifecycle

David Prévot taffit at moszumanska.debian.org
Thu Jul 31 03:53:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit 492f67b530432d30b266604ef6f186ea9e270e28
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date:   Thu May 8 03:11:00 2014 +0200

    more on request lifecycle
---
 developer_manual/app/request.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/developer_manual/app/request.rst b/developer_manual/app/request.rst
index be4579a..f10f467 100644
--- a/developer_manual/app/request.rst
+++ b/developer_manual/app/request.rst
@@ -49,4 +49,6 @@ The :doc:`container` is the place where you define all of your classes and in pa
 Controller
 ----------
 
-The :doc:`controller <controllers>` contains the code that you actually want to run after a request has come in. Think of it like a callback that is executed if everything before went fine.
+The :doc:`controller <controllers>` contains the code that you actually want to run after a request has come in. Think of it like a callback that is executed if everything before went fine. 
+
+The controller returns a response which is then run through the middleware again (afterController and beforeOutput hooks are being run), HTTP headers are being set and the response's render method is being called and printed.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list