Manual

What does it do?

GimmeFive is a bridge to FLOW3 and intended to get in touch with the great features of FLOW3. It can help to close the gap between today and the day TYPO3 5.0.0 is released. GimmeFive can also be use to write code for "real live" extensions (aka 'packages') as it is planned to get a stable release this summer.

How to use it?

Please read the Manual of FLOW3 to get the big picture. You can use all the features of FLOW3 (if they are implemented by now ;-) ).

How to install it?

Download and install FLOW3

  • Checkout the latest snapshot of FLOW3
svn checkout https://svn.typo3.org/TYPO3v5/Distribution/trunk /Path/to/htdocs/typo3v5
  • Make symbolic links in the folder typo3conf/exe/ pointing to the required packages
ln -s /Path/to/htdocs/typo3v5/Packages/FLOW3/ /Path/to/htdocs/typo3v4/typo3conf/ext/FLOW3
ln -s /Path/to/htdocs/typo3v5/Packages/PHP6/ /Path/to/htdocs/typo3v4/typo3conf/ext/PHP6
ln -s /Path/to/htdocs/typo3v5/Packages/PHPCR/ /Path/to/htdocs/typo3v4/typo3conf/ext/PHPCR
ln -s /Path/to/htdocs/typo3v5/Packages/TYPO3CR/ /Path/to/htdocs/typo3v4/typo3conf/ext/TYPO3CR

Download and install the extension "gimmefive"

Install the extension "gimmefive" with the Extension Manager as usual. No static template has to be included.

What's next?

Install the Sample Package "PhoneBookTutorial"

You find the slightly adapted FLOW3 sample package"PhoneBookTutorial" in the folder "Ressources". Just copy it to "typo3conf/ext/" and install it as usual. Don't forget to include the static template.

The FLOW3 Content Repository isn't fully implemented yet. Therefore the calls to the repository had to be replaced by ordinary SQL-statements.

Write your own Package

You have to provide at least the files "typo3conf/ext/MyPackage/ext_emconf.php", "typo3conf/ext/MyPackage/ext_tables_php" and typo3conf/ext/MyPackage/Configuration/setup.txt".

An example content of "ext_tables_php"

t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/', 'Setup');
t3lib_extMgm::addPlugin(array('My Plugin', $_EXTKEY), 'list_type');

An example content of "setup.txt"

includeLibs.tx_gimmefive = EXT:gimmefive/Classes/tx_gimmefive.php

# The List-Plugin
tt_content.list.20.MyPackage = USER
tt_content.list.20.MyPackage.userFunc = tx_gimmefive->main
tt_content.list.20.MyPackage.controller = F3_MyPackage_Controller_Default
tt_content.list.20.MyPackage.action = Default
tt_content.list.20.MyPackage.context = Testing

Configuration

The configuration in FLOW3 is done in PHP-files. GimmeFive also uses TypoScript for that purpose. The TypoScript configuration of Components and the Settings of the Package should be seperated from each other by using appropriate subfolders in the directory "Configuration" because all TS Setup files have to be named 'setup.txt'.

How to contribute?

You have some experiences with OOP, Patterns and Unit Tests? Great! You are welcome as a contributor as there are still some features to be implemented. Use the capabilities of FORGE.

Also available in: HTML TXT