[TYPO3-50-general] MVC in FLOW3

Christoph Blömer chbloemer at gmx.net
Thu Nov 13 07:32:41 CET 2008

Hi I just try to start with a basic package.

I can't use DefaultView in the View/Default Folder because the word 
Default is not allowed in the namespace. So the information in the MVC 
Reference on flow3.de is not valid anymore, correct?

Then I was looking for a example in the packages. So I found out that it 
looks like this.

...Controller_DefaultController with function indexAction:

The name of the view would then be ...View_DefaultIndex.php

class DefaultController extends 
F3::FLOW3::MVC::Controller::ActionController {
        public function indexAction() {
                return "controller".$this->view->render();

class DefaultIndex extends F3::FLOW3::MVC::View::AbstractView {
   public function render() {
      return "Hello World!";

Currently only the word "controller" is shown. And "Hello World!" is 
still missing. No Exception when view->render() is called. 
ViewNotFoundException would be nice.

Can somebody explain me the current behavier of MVC in FLOW3 and what 
are the default settings?


More information about the TYPO3-project-5_0-general mailing list