[TYPO3-ect] Relations between MVC and FE Forms Library

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Wed Jun 21 15:27:07 CEST 2006


Elmar Hinz wrote:
> --------------------------------------------------------------------------------
>                          The MVC Framework
> --------------------------------------------------------------------------------
>           MVC                       // abstract set of 3 classes
>        /      \                     //         extends to
> BE MVC          FE MVC              // successors of t3lib_SCbase and pi_base
>    |               |                //         extend to
> --------------------------------------------------------------------------------
>    |               |     The Generic FE Form System as MVC implementation
> --------------------------------------------------------------------------------
> Module          Plugin              //  BE panel and FE plugin
>    V ?             V                //         use
> --------------------------------------------------------------------------------
>    V ?             V     The $TCA Configured Forms Library
> --------------------------------------------------------------------------------
>  $TCA evaluation layer              // configuration of inputs
>            V                        //         based on
> --------------------------------------------------------------------------------
>            V             The General (x)Forms Library
> --------------------------------------------------------------------------------
>  input elements library             // a simple library of inputs, js and checks
> 

Now that we have a basic MVC library for the FE (lib/div) I want to rethink
this old proposal. In principle it looks still valid.

 ------------------------------------  --------------------- --------------
 |        MVC library lib/div       |  |   Forms Library   | |Configurator|
 |                                  |  |                   | |            |
 |  Model  |  Controller  |  View   |  |inputs | validator | |            |
 ------------------------------------  --------------------- -------------
               |                           |      |                |
          inheritence                   components of              |
               |                           |      |                |
  --------------------------------------------------               |
  | Automatic Form Generator and Processor Library |               |
  |                                                |          inheritance
  |   Model     |   Controller   |     View        |               |
  --------------------------------------------------               |
                        |                                          |
                   inheritence                                     |
                        |                                          |
  -------------------------------------------------------------------------
  |            Indiviual Plugin                        |  TS Configurator |

  |                                                 <= |       or         |
  |  Model     |   Controller   |     View             |  TCA Configurator|
  -------------------------------------------------------------------------


In opposite to the one above this drawing doesn't describes it as layers
but as a hierarchy with inheritence. It only shows the frontend usage of
the Forms Library.

Regards

Elmar




























More information about the TYPO3-team-extension-coordination mailing list