[TYPO3-mvc] Where to put cli scripts?

Robert Lemke robert at typo3.org
Thu Jul 30 09:19:46 CEST 2009


Hi Nikolas,

Am 29.07.2009 um 23:23 schrieb Sebastian KurfŸürst:

> Hi Nikolas,
>
> in case they are not necessary classes, I'd put them into
> Resources/Private/PHP.
>
> In case they are classes, I'd just use the normal naming conventions
> inside Classes/, f.e. Tx_MyExt_Commandline_MyCommandLineClass

yes, classes always belong to the Classes/ directory. However, in case
you created a standalone CLI script (could also be a bash script) which
only uses a class stored elsewhere, then you have the option putting
into Scripts/ (parallel to Classes).

That's at least what I do with the bootstrap and other scripts in the
FLOW3 package.

Cheers,
robert



More information about the TYPO3-project-typo3v4mvc mailing list