[FLOW3-general] PHP Min requirements

Robert Lemke robert at typo3.org
Mon May 21 09:36:34 CEST 2012


Hi Peter,

On 15.05.2012, at 22:22, Peter Russ <peter.russ at 4many.net> wrote:

> As Robert confirmed today: NO PHP 5.4 in FLOW3 1.1 this year.

Just to clarify: No PHP 5.4 _required_ in FLOW3 this year - but starting with FLOW3 1.2, we'll officially support PHP 5.4 of course.

> Can anyone provide a link about versioning guidelines in TYPO3/FLOW3 projects?

We don't have such guidelines written down for FLOW3 yet but plan to have some for the upcoming releases.

> What's about: no breaking between minor versions? I just can't find…

No breaking changes in patch-level releases, but it can happen that we have breaking changes in minor versions. The step from 1.0 to 1.1 is certainly bigger as the next steps will be.

> So i predict FLOW3 1.1 is addicted to PHP 5.3.x ;-)

I haven't put much thought into this, but it yes, it would be natural if we raise the dependency to PHP 5.4.x, to do so for FLOW3 2.x only.

> But wouldn't be the first time to overrule guidelines: AOP, MVC, HTTP (just some examples) are now converted to Aop, Mvc, Http breaking Windows/Git clients with Windows base IDE deploying code to Linux servers.

This change is quite important, because if your code referred to "MVC\*" in the past, it did work on you local Windows dev machine, but would break in production on a Linux server.

> So what's next?
> 
> Will we agree on PHP standard coding guidelines so we could use one codesniffer for Zend, Symfony, FLOW3 or TYPO3 components?
> 
> Or will we waste resources to define our own "standard"?

I've been more or less involved in the PSR-* standards and I can tell that it's rather unlikely to establish a whole coding standard projects like Zend, Symfony, Drupal, TYPO3 and FLOW3 could stick to. PSR-1 certainly is a small compromise, but then again it doesn't allow us to use the same code sniffer set for all projects. 

So, if defining our standard was a waste of resource, it's already down the drain. But I don't think that it was, it actually paid off quite well.

> Why make it easy for developers used to other PHP frameworks?

Show me two significant frameworks with the same standards ;-)

Cheers,
Robert

-- 
Robert Lemke
Lead Developer TYPO3 Phoenix and FLOW3
Co-Founder TYPO3 Association

Blog: robertlemke.de/blog
Get involved: typo3.org – flow3.org





More information about the FLOW3-general mailing list