XenForo 2.0 Discussion

Status
Not open for further replies.
Yes, there is a less.php project which is basically less.js in PHP which means it is easier (for the developers of the project) to maintain parity.

Since the introduction of libsass, developing with SASS has become platform agnostic. I'm fairly certain that this PHP wrapper ( sensational/sassphp · GitHub ) is analogous to the less.php project, but I could be wrong.

If maintaining parity is a concern, note that the official SASS site links to that wrapper project here. This being the case, I think it's safe to assume support into the future.

At the end of the day, which css preprocessor a designer uses is a matter of personal preference, but I think it's worth having a discussion. I know quite a few designers that have made the transition to SASS with good reason. Functions and logic statements are more intuitive, the use of the @ character in LESS is goofy, the list goes on and on.

As always, please share your thoughts if I'm overlooking any other benefits in using LESS over SASS.
 
Last edited:
It's easy to say it's dead, but it won't stop thousands of servers still using it.

There are very few enhancements to PHP 5.5, 5.6 or even 7 that would actually benefit the development of our code.

As I've said before, if that changes we will certainly reconsider, but for now PHP 5.4 is fine for us (and a reasonable improvement over 5.3) so there's no reason for us to bump the requirements up yet.

That said, there are huge benefits to performance by using PHP 7. Everyone should start adopting that as quickly as possible.
 
Chris just being curious, is XF 2.0 going to be PHP 7 ready out of the box? Considering that PHP 7 is going to be officially released soon (before the end of the year).
 
We can't really go into specifics about what is or isn't in XF 2.0 yet.

In the meantime, if you have any suggestions for things they would be best posted in the XenForo Suggestions forum.
 
Well, XF 1.5 is "PHP 7 ready", too. In that, XF 1.5 works fine with PHP 7 so far in our testing and some small changes have been made to support it.
We are using XF1.5 and I noticed our hosting company already installed PHP7 in our server, can we use it without facing any error?
 
We can't guarantee that. Bear in mind it's still pre-release (currently at RC3) so there may be various bugs in PHP itself that could cause you disruption.

As much as we are fairly confident we've done everything we need to to support it, it hasn't been used widely enough in production to know for sure.

Finally, we can't comment on whether any add-ons you use work with it.

So, if you do it, only do it if you can easily switch back.
 
@Chris D, I've asked because I don't know on what production stage is XenForo 2.0 (research, development of the core, choosing third party library, rewriting existing XenForo 1.х code to the 2.0 API, etc.).

And I understand that the some features can not be done if the main core is completed already and the all third party libraries are chosen.
 
A bit disappointed with Less decision. In the way of features and power SASS looks more promising. I really hope you're not going to use preprocessor framework to add prefixes as it's an outdated practice. Instead, I suggest to use PostCSS with Autoprefixer. That way you can always have up-to-date prefixes and everyone can set their custom browser support table. Anyway it's good to know template system gets an upgrade!
 
if XF 2.0 not gonna give us reddit style posting or at least an option to..i feel many people will jump to that new forum software by 2018

@Chris D pls dont let us down, we believe in XF

also, will xf 2.0 break all custom add ons?
 
Status
Not open for further replies.
Back
Top Bottom