Removing deprecated code

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,594
Re: Removing deprecated code
« Reply #75 on June 22nd, 2011, 05:48 PM »
That's the thing: the admin panel is still very much in flux. There will be a LOT more in it than there is in SMF's, simply because we've added more to it than we have taken out.

Right now it is basically just SMF's admin panel with half a dozen things gone and plenty more added. So, thus, my question stands: you've said that you see a problem with the look and layout options. What problem do you see? How would you resolve it?

I have my own ideas, some of which are fairly controversial on the subject of pruning the admin panel, so let's start on a smaller area...
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Norodo

  • We-Gen
  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 390
Re: Removing deprecated code
« Reply #76 on June 22nd, 2011, 06:43 PM »
Quote from Arantor on June 22nd, 2011, 05:48 PM
That's the thing: the admin panel is still very much in flux.
That I'm perfectly fine with! The admin panel is for a few eyes only. What I care more about is how the average user experiences the site. With that said, I agree that there's room for improvements on both sides of that bar.
Quote
There will be a LOT more in it than there is in SMF's, simply because we've added more to it than we have taken out.
:yahoo:
Quote
You've said that you see a problem with the look and layout options. What problem do you see? How would you resolve it?
Now I've personally used SMF so much that I'm probably a bit biased. I'll check with what my forumgoers say and try to forward what they've had the most problems with. Some of these things are probably just things I have opinions on, but I'll try to ground them in reason. Some are small problems some are big.

Let's start from the top:

1. Drop down menus. The problem is not so much that there are drop down menus, it's more that thee content in them can be ambiguous. For example, the first time you register, and you want to change your theme, where do you go? In the beginning you'll probably be looking for something called "settings" or "control panel", maybe you'll scroll down to the bottom of the page to check if there's a dropdown menu for it, as it is on many boards. When you don't find it there you'll look further. Could your settings be under "Profile", maybe? Yes. Yes they could. So you click account settings and what do you see?

(click to show/hide)
Just an example.

You're getting confused. Where can I change my theme? If you are an inquiring mind you might just hover over modify profile long enough to find look and layout.

Thank God. You're there. The same problem develops if you want to change the default setting of " Return to topics after posting by default." or "Messages to display per page:"

This problem is to a big extent fixed when you use the "sidebar menus" instead of dropdown menus whenever possible, but there might be better solutions...

I'll be back with more about this later. Right now: Dinner time. ;)
Quote
I have my own ideas, some of which are fairly controversial on the subject of pruning the admin panel, so let's start on a smaller area...
I'd love to hear more. Ideas can be fascinating, even though I personally am a firm believer of good execution > good ideas. :)

Stef

  • Freshman
  • Echt leuk je eigen tekst
  • Posts: 10
Re: Removing deprecated code
« Reply #77 on June 22nd, 2011, 07:43 PM »
I am on normally hosting in the Netherlands.

PHP: 5.2.17   
MySQL: 5.0.91-community-log

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Removing deprecated code
« Reply #78 on June 22nd, 2011, 07:56 PM »
Quote from Norodo on June 22nd, 2011, 06:43 PM
For example, the first time you register, and you want to change your theme, where do you go?
You know, I always have trouble finding the theme switcher, even though I'm not exactly a noob :P
I even have one entry in my to-do list -- that basically says, "build a styling switcher somewhere on every page". Before I do this, I'll have to cache styling entries because right now it scans folder to find them (which allows me to manipulate stylings easily and without fear of any caching problems.)

But as you see... It's something we're aware of.
Quote
Thank God. You're there. The same problem develops if you want to change the default setting of " Return to topics after posting by default." or "Messages to display per page:"
"Return to topics", that's a big one... I've always been annoyed by this. When you write a post, you want to make sure it's live, and it looks like what you want.
I probably mentioned it in the feature list somewhere, but Wedge checks this setting by default. :)
Quote
This problem is to a big extent fixed when you use the "sidebar menus" instead of dropdown menus whenever possible, but there might be better solutions...
Sidebar menus have UI issues just the same. I'm the one who pushed for a sidebar, but I'm not in a hurry to use it everywhere. For instance, Noisen and Wedge.org use a fully developed menu in the profile sidebar. Heck, I always get lost in it, and wish for the dropdown menu to come back...
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Norodo

  • We-Gen
  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 390
Re: Removing deprecated code
« Reply #79 on June 22nd, 2011, 08:15 PM »
Quote from Nao/Gilles on June 22nd, 2011, 07:56 PM
But as you see... It's something we're aware of.
I'm glad you are. I'm not trying to "force" my vision on you, simply trying to answer Aranators post.
(click to show/hide)
Quote from Arantor on June 22nd, 2011, 05:48 PM
What problem do you see? How would you resolve it?

So please don't take this the wrong way. I'm just laying out what I think is done badly today. If you want me to stop yapping that is fine too. :)
Quote from Nao/Gilles on June 22nd, 2011, 07:56 PM
Sidebar menus have UI issues just the same.
Yeah I was hinting to this when I said:
(click to show/hide)
Quote
This problem is to a big extent fixed when you use the "sidebar menus" instead of dropdown menus whenever possible, but there might be better solutions...

Maybe there's a better place here to post my musings? Hmm.

Hey Arnold!

  • Emperador del Universo
  • Freshman
  • PHP 5.5.0 Alpha4 released! Alpha4 is the last alpha for PHP5.5. The first beta is expected for February 7th. Betas won't add any new features but consolidate the source code and fix found bugs.
  • Posts: 13
Re: Removing deprecated code
« Reply #80 on January 31st, 2012, 05:18 PM »
Very very soon stable release PHP 5.4 :yahoo:

Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Removing deprecated code
« Reply #81 on January 31st, 2012, 05:21 PM »
Well, it won't be available on a large scale for a few years, so it won't change anything to our requirements... Right now, it's 5.2.3.
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Hey Arnold!

  • Emperador del Universo
  • Freshman
  • PHP 5.5.0 Alpha4 released! Alpha4 is the last alpha for PHP5.5. The first beta is expected for February 7th. Betas won't add any new features but consolidate the source code and fix found bugs.
  • Posts: 13
Re: Removing deprecated code
« Reply #82 on March 1st, 2012, 10:26 PM »
PHP 5.4.0 is available :yahoo:

Many hosting will be upgraded to PHP 5.4 this year?

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,594
Re: Removing deprecated code
« Reply #83 on March 1st, 2012, 10:32 PM »
No, they won't upgrade yet. There are still hosts running 5.2 which is a few years old as it is.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Removing deprecated code
« Reply #84 on March 1st, 2012, 10:58 PM »
So, they're adding mixins (like WeCSS but for objects :P), and JavaScript-style short arrays? That's not a lot, but it's stuff that I can see people using. Too bad I can use $arr = [0,1] right now in PHP 5.2 :P
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,594
Re: Removing deprecated code
« Reply #85 on March 1st, 2012, 11:02 PM »
Decent mixin support is more than long overdue in PHP (though depending on what you're doing it can be very fragile and break in unexpected ways), though it has of course been possible to implement in various interesting ways.

Short arrays? *shrug* I have to say I'm just not that 'gimme RIGHT NOW' about 5.4, whereas 5.3 brought stuff that was immediately useful.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Nao

  • With a Box
  • If you say so.....
  • Posts: 12,893
Re: Removing deprecated code
« Reply #86 on March 1st, 2012, 11:12 PM »
Like what? Apart from namespaces, can't think of anything...
...« I say wedge wedge (in the butt) »
 « Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,594
Re: Removing deprecated code
« Reply #87 on March 1st, 2012, 11:21 PM »
Not that we use them much, but late static binding's quite a draw, better support for closures too, and the garbage collector's smarter when it comes to cyclic references (which helps deal with memory leaks)

On a smaller note, 5.3 also brought mysqlnd as a replacement under the hood for the old libmysqlclient connector, which aside from solving a messy licensing issue is actually faster and cleaner.
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.