2017 © Pedro Peláez
 

typo3-cms-extension flux

The flux package from FluidTYPO3

image

pfaffenrodt/flux

The flux package from FluidTYPO3

  • Thursday, August 31, 2017
  • by pfaffenrodt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 162 Forks
  • 0 Open issues
  • 25 Versions
  • 13 % Grown

The README.md

, (*1)

Flux: Fluid FlexForms

Build Status Coverage Status Documentation Build Status Coverage Status, (*2)

Flux is a replacement API for TYPO3 FlexForms - with interfaces for Fluid, PHP and TypoScript, (*3)

Flux lets you build and modify forms in Fluid:, (*4)

<flux:form id="myform">
  <flux:field.input name="myField" label="My special field" />
</flux:form>

In PHP:, (*5)

$form = \FluidTYPO3\Flux\Form::create();
$form->setName('myform');
$form->createField('Input', 'myField', 'My special field');

In plain arrays (to allow sources like JSON):, (*6)

$json = '{name: "myform", fields: [{"name": "myField", "type": "Input"}]}';
$asArray = json_decode($json, JSON_OBJECT_AS_ARRAY);
$form = \FluidTYPO3\Flux\Form::create($asArray);

And in TypoScript:, (*7)

plugin.tx_flux.providers {
  myextension_myplugin {
    tableName = tt_content
    fieldName = pi_flexform
    listType = myextension_myplugin
    extensionKey = Vendor.MyPlugin
    form {
      name = myform
      fields {
        myField {
          type = Input
          label = My special field
        }
      }
    }
  }
}

All of which create the same form with a single input field called myField with a label value of My special field. The last example shows the form structure nested in a Provider (another Flux concept) which connects the pi_flexform field of the related tt_content plugin record type to the form., (*8)

Flux feature highlights

  • Added features for content elements - add content grids (following the backend_layout approach) to any content/plugin.
  • Multiple APIs to access the same features from many different contexts using the same naming and nesting style.
  • Multiple levels of API abstraction - when you need more control, lower API abstraction levels can be used in your code.
  • Flexible ways to replace individual parts: templates, controller actions, etc.
  • Manipulation of properties of existing forms - change field labels, default values, add fields, sheets, etc.
  • Data type transformations - define the desired target type and let the TypeConverters of Extbase handle conversion.
  • Possibility for custom components of your own - with the same API support any other Flux component has.
  • Several Utility-type classes for advanced integrations with Fluid in particular.

Known issues

  • Keep In mind to have your PHP/HTTP configured correctly to accept a fairly large number of input fields. When nesting sections / objects the number of fields submitted, rises drastically. The php.ini configuration setting to think about is max_input_vars. If this number is too small then the TYPO3 Backend (being PHP) will decline the submission of the backend editing form and will exit with an "Invalid CSRF Token" message because of incomplete (truncated) POST data.

Documentation

The Versions

31/08 2017

dev-development

dev-development http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

31/08 2017

dev-master

9999999-dev http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

31/08 2017

8.2.1.x-dev

8.2.1.9999999-dev http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

31/08 2017

8.2.1.1

8.2.1.1 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

24/04 2017

dev-staging

dev-staging http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

24/04 2017

8.2.1

8.2.1.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

23/04 2017

8.2.0

8.2.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

05/03 2017

8.1.0

8.1.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

12/02 2017

8.0.2

8.0.2.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

03/02 2017

8.0.1

8.0.1.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

20/01 2017

dev-legacy

dev-legacy http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

09/01 2017

8.0.0

8.0.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

16/05 2016

7.4.0

7.4.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

20/11 2015

7.3.0

7.3.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

30/09 2015

7.2.3

7.2.3.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

20/09 2015

7.2.2

7.2.2.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

20/05 2015

7.2.1

7.2.1.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

18/03 2015

7.2.0

7.2.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

15/02 2015

dev-workbench/classconstant

dev-workbench/classconstant http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

31/10 2014

7.1.2

7.1.2.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

28/10 2014

7.1.1

7.1.1.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

27/10 2014

dev-workbench/package

dev-workbench/package http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

The Development Requires

18/09 2014

7.1.0

7.1.0.0 http://fluidtypo3.org

The flux package from FluidTYPO3

  Sources   Download

GPL-2.0+

25/03 2014

7.0.0

7.0.0.0

The flux package from FluidTYPO3

  Sources   Download

19/03 2014

dev-workbench/relationsettings

dev-workbench/relationsettings

The flux package from FluidTYPO3

  Sources   Download