symphony-next icon indicating copy to clipboard operation
symphony-next copied to clipboard

Requirements

Open nilshoerrmann opened this issue 11 years ago • 18 comments

The development of Symphony Next will take quite a while and we already decided to start browser support with the latest available versions currently available (which is IE10+ for example).

What about other requirements? I know that @brendo has high hopes in leaving PHP 5.2 behind. But what about PHP 5.3? Would it be an idea to skip this version and start with PHP 5.4? (I know that Laravel is PHP 5.3+, but we should be prepared for the future not the present.)

nilshoerrmann avatar Apr 24 '13 07:04 nilshoerrmann

I would opt for 5.4. 5.5 is in beta state and 5.3 is pretty old. So lets start with the latest stable release.

iwyg avatar Apr 24 '13 07:04 iwyg

And yes, traits are very nice. Also the fixed closure scope.

iwyg avatar Apr 24 '13 07:04 iwyg

I would think using the latest versions would be a good idea; thinking that it wouldn't be complete in the short term php 5.3 would start being phased out by the time Symphony Next is finished.

jonmifsud avatar Apr 24 '13 08:04 jonmifsud

Laravel's minimum is 5.3.7, so in my mind, it makes sense to mirror that, source

brendo avatar Apr 25 '13 06:04 brendo

Not necessarily. We would benefit in not supporting 5.3 at all. There're a lot of great features we couldn't use for a long time when supporting php 5.3. So I'm with @rowan-lewis here. Keep in mind that when "next" is in a state to be released, php 5.5 will be the current stable version.

iwyg avatar Apr 25 '13 06:04 iwyg

Initially a PHP 5.4 minimum sounded a bit bleeding edge but on reflection I'd tend to agree. The use of things like traits and closures will keep the code base modern and will probably amount to less code to do the same thing. With considerations to where things will be when this version is ready I don't think it will be a problem as PHP 5.4 should be commonplace. Supporting only the more modern technologies will certainly help in the time it takes to ship and maintain going forward.

ijy avatar Apr 25 '13 09:04 ijy

5.3.7 for me I'm afraid.

designermonkey avatar Apr 25 '13 09:04 designermonkey

because?

iwyg avatar Apr 25 '13 09:04 iwyg

I'll double back. Thinking about it more, if we're stuck dealing with legacy PHP5.3 issues like we have been with PHP5.2 I'll want to scratch my eyes out, so taking into consideration the timeframe for a likely release, lets go with PHP5.4. A PHP5.5 RC is expected in May so everyone is quite right, it's like PHP5.5 is out when Next is.

@designermonkey Am I right in assuming this is because your hosting platform hasn't made the jump to PHP5.4 yet?

brendo avatar Apr 26 '13 01:04 brendo

Yes it is, but I manage our hosting so it's not a real biggie. And from a general hosting point of view though, we are all seeing what PHP versions are on hosting out there.

Lets just hope they keep up (doubtful).

designermonkey avatar Apr 26 '13 05:04 designermonkey

Personally, I'm absolutely in favour of Symphony focusing on 5.4, and as a user and advocate I'd be pretty disappointed if it didn't make that jump.

Just to add to some of Rowan's info.

Debian 7 (Wheezy) is at Release Candidate 1 stage, currently includes 5.4-4.14 Release target is 4th/5th of May 2013.

Ubuntu has a 6 monthly rolling release schedule. The next Long Term Support is due April 2014 as Rowan pointed out. However, PHP 5.4 has been included in the rolling since 12.10 released in October 2012.

CentOS and RHEL follow nearly identical release patterns, RHEL 7 is due for beta at some point in the next few months. However, RHEL/CentOS 6.3 does have PHP 5.4 upgrades available via external repos in Yum.

By this time next year (which seems to be the unofficial release target for Next from what I'm reading), every major hosting distro will have 5.4 by default with support options, and hopefully shared webhosts will keep up. Those of us switching to VPS options - which are getting cheaper by the minute - and starting to migrate away from the sometimes painful shared model, well, we won't even have to worry about that :dancers:.

s-e avatar Apr 27 '13 16:04 s-e

Even Dreamhost supports PHP 5.4. Not that I think you guys should even be using– :boom: :ghost:

tonyarnold avatar May 01 '13 11:05 tonyarnold

so, is it settled then?

iwyg avatar May 01 '13 18:05 iwyg

As far as I'm concerned this is settled. We should be targeting PHP 5.4 as our base requirement.

allen avatar May 10 '13 16:05 allen

traits, here I come…

iwyg avatar May 10 '13 16:05 iwyg

Here's a relevant Wiki article showing a stick in the stand, https://github.com/symphonycms/symphony-next/wiki/Requirements

brendo avatar May 11 '13 05:05 brendo

Maybe we should also add a list of recommendations. But that's a bit premature.

iwyg avatar May 11 '13 06:05 iwyg

Starting to get familiar with AngularJS and I'm even more convinced that it'd be a great choice for the backend UI. Think of each backend section as a micro application that utilized the system api to handle a specific task, and angular would just fit in perfectly. Since it's based on modules, extension developers would be able to use it's api to hook in their own applications.
It also would decrease development time.

iwyg avatar Jul 26 '13 13:07 iwyg