[Flow] Best practice: How to organise packages within a flow application

Robert Lemke robert at typo3.org
Mon May 13 15:08:49 CEST 2013


Hi Axel,

Qbus | Axel Wüstemann wrote:

> what might be a best practice to organise an application in flow? If I
> have several application components, each of them might consists of
> modules and plugins etc.
> 
> Is it good practise to build each applicaion item as a separate flow
> package? How I can access central ressources of the application from a
> component package like layout templates, theme files etc.?

I would keep the amount of packages to a minimum as each additional
package generates overhead in terms of additional Git repository, issue
tracker and so on.

My criteria for extracting functionality into a separate package:

 - is it standalone / decoupled enough so it could be used in a
different project?
 - would it simplify the work of another team / developer if it was a
dedicated package?
 - is it a plugin which should be possible to install optionally?
 - is my main package really too bloated so it needs to be split up?

If any of these matches, I'll create a separate package.

Cheers,
Robert

-- 
Robert Lemke
Lead Developer TYPO3 Neos and TYPO3 Flow
Co-Founder TYPO3 Association

Blog: robertlemke.com
Get involved: typo3.org – flow.typo3.org – neos.typo3.org



More information about the Flow mailing list