Attention

This manual is no longer being maintained for TYPO3 versions 11.5 and above. The majority of the content has been migrated to the Extbase or Fluid sections in "TYPO3 Explained".

Returning the result to TYPO3

At the end of the request, all changes to objects that have previously been made only in memory are made permanent (persisted). The persistence manager is called via $persistenceManager->persistAll(). The persistence manager walks through all used repositories and collects the new, the modified and the deleted objects. In this case, the persistence manager asks the blog repository about such objects. Since we only displayed blog messages, but made no changes, the persistence manager will not change anything at this time.

This is the end of this trip. The dispatcher returns the response to the Bootstrap, which will return the rendered HTML content to the TYPO3 framework. Then TYPO3 will add this to the output of the current page content.

return $response->getContent();

This section explains how the extension displays a list of blogs. The following chapter is about how to create a new post. It is about chaining several actions into a coherent sequence. It shows the possibilities of validation and deeper internals of Fluid.