[TYPO3-core] RFC: eval API (#1639)

Sebastian Kurfuerst sebastian at garbage-group.de
Wed Nov 16 10:51:26 CET 2005

This is a CVS patch request.

Type: (Bugfix / New feature / Code cleanup)
=> New feature

see http://bugs.typo3.org/view.php?id=1639
Sometimes it would be useful to add special evaluations to be used in
TCEforms. As an example, if the user needs a special date evaluation in
the BE, he currently has to XCLASS the evaluations and add some custom
JS. To make this more clean, an eval API would be nice.

      * currently, the JS part and the PHP part of an evaluation are
        located in different places => difficult to maintain
      * all built-in evaluations removed from the core and put into a
        sysext "evaluations".
      * new evaluations need to be added to $TYPO3_CONF_VARS['EVAL']
      * every evaluation has a JS part and a (possible) PHP part, as

Possible issues:
      * the evaluations sysext is not installed by default I think, how
        can we install it automatically on update? Maybe with the update
      * $TYPO3_CONF_VARS['EVAL'] is maybe not the right place for
        evaluations. Suggestions?

Branches: (HEAD / TYPO3_3-8 / TYPO3_3-7)

Bugtracker reference:
=> http://bugs.typo3.org/view.php?id=1639

.patch - core patch
_evaluations.t3x - sysext implementing the current evaluations
_example_evaluations.t3x - example extension for a custom evaluation

The documentation is still missing, but this will be created as well.

Thanks to Thomas Hempel who provided this patch.

Greets, Sebastian
Sebastian Kurfuerst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1639_evaluations.t3x
Type: application/octet-stream
Size: 5753 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051116/e8e74e55/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1639_example_evaluations.t3x
Type: application/octet-stream
Size: 11034 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051116/e8e74e55/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1639.patch
Type: text/x-patch
Size: 8389 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051116/e8e74e55/attachment.bin 

More information about the TYPO3-team-core mailing list