No description
Find a file
2018-09-16 16:41:44 +02:00
Classes/Controller INITAL Version Camp Munich 2018 2018-09-16 16:41:44 +02:00
.gitignore INITAL Version Camp Munich 2018 2018-09-16 16:41:44 +02:00
composer.json INITAL Version Camp Munich 2018 2018-09-16 16:41:44 +02:00
readme.rst INITAL Version Camp Munich 2018 2018-09-16 16:41:44 +02:00

Extbase the good parts

Most of the times Extbase is not the best choice.

Why?

Because nowadays we have:

  • Form Framework
  • FLUIDTEMPLATE / Standalone Fluid
  • DataProcessors

But if you need Extbase, it offers some good parts, which will be explained below with working unit tests.

local

Start

Execute the following:

git clone https://github.com/DanielSiepmann/extbase-the-good-parts.git
cd extbase-the-good-parts

Clean everything:

rm -rf composer.lock vendor web Results

Installation development dependencies using composer:

composer install

Links:

Dependency Injection

  • Method injection
  • Annotation
  • Constructor

See:

Property Mapping

See web/typo3/sysext/extbase/ext_localconf.php, https://docs.typo3.org/typo3cms/ExtbaseFluidBook/10-Outlook/4-Property-mapping.html

Validation

Command Controllers

TypoScript Configuration

See https://docs.typo3.org/typo3cms/ExtbaseFluidBook/b-ExtbaseReference/Index.html#typoscript-configuration

Settings array

ObjectAccess from Fluid

See

  • web/typo3/sysext/fluid/Classes/Core/Variables/CmsVariableProvider.php
  • web/typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php

Configuration Mapping DB

See https://docs.typo3.org/typo3cms/ExtbaseFluidBook/b-ExtbaseReference/Index.html#persistence