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 the features of FLOW3 except the Resource Manager and the AOP Framework.
How to install it?¶
Download and install FLOW3¶
- Download the latest snapshot of FLOW3
- Make symbolic links to the packages FLOW3 and PHP6 in the folder typo3conf/exe/
Download and install the extension "gimmefive"¶
Install the extension "gimmefive" as usually with the Extension Manager. No static templates have to be included.
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.contentparser = USER tt_content.list.20.contentparser.userFunc = tx_gimmefive->main tt_content.list.20.contentparser.controller = F3_MyPackage_Controller_Default
The configuration in FLOW3 is done in PHP-files. GimmeFive can also use TS for that purpose. Have a look at the example package "EXT:mypackage/Configuration/Components/setup.txt" for more information (not included yet.
The TypoScript configuration of Components and the Settings of the Package should be seperated from each other. This can be solved only 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.