kevinjohngallagher
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalHi Eric,
Here’s my issues with that:
I suppose the thing that gets me, and possibly something that people don’t like about me, is that I’m not big on the unintentional hypocrisy in Software Development (not just in WP by a long shot).
e.g. I’m all for worrying about processing costs, but then lets not make 32Mb a minimum for a WP install π
I’m the same when we talk about putting users first (hello: capital_p) and making WordPress accessible to all (hello: WP3.3’s hover-only-menu means it falls foul of UK & EU accessibility and discrimination laws).
It’s kind of why 80/20 doesn’t work. We know that 80% are a combination of “WP.com” and “bloggers”. So everyone else is always going to be in the 20%. And that 20% is a mighty large number!
I mean really, who remembers the core-team proposed roadmap where user management (roles, capabilities etc) was next on the hit list after 3.0?
- In 3.1 it got bumped for Tumblr-esque post formats.
- In 3.2 it got bumped for Distraction Free Writing.
- In 3.3 it got bumped for a new flash-free media manager.
- In 3.4 it got bumped for a new default theme (that itself got bumped to 3.5)
Bluntly:
- What’s the point of a roadmap?
- How are ANY of those helpful to the 20% that aren’t “.com” or “blogging”? (Distraction Free Writing? Isn’t it fracking Notepad?)
Andrea once asked me why Enterprise folks don’t hang around long in WP and I think this is a good example why.
Clearly the folks on here are talented, dedicated, and incredibly knowledgable; and I genuinely love shooting the breeze with you allβ¦ but WP has a tendency to make short term decisions under the proviso that “it’s Agile and things can change later” (First rule of Agile: Chaos is also agile. Second rule of Agile: The WPtybee plan is about the most un-agile plan I’ve ever seen).
May I offer exhibit A:
http://kevinjohngallagher.com/wp-content/uploads/2012/04/wp_decision_making.pngThe issue is we’re either left with things that can’t be changed (Matt blaming a decision in 2002 by B2 for hardcoding everything in 2011), or things that change every release because we didn’t think them through (hello Admin Bar).
Given that we have a myriad of plugins, and weekly (if not daily) support requests on moving, migrating, setup dev/sandbox environments on the forums and mailing lists; maybe this is the sort of thing that would be a great kick-starter for a different type of conversation. A conversation that starts with “Maybe we got this wrong⦔
I realise I talk less about code, and more about processes and audience segmentation and decision making than all you developer-whizz-kids. I’m hoping this resonates, but if it doesn’t, you have my thanks for listening.
Kev
“failed developer”Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalcontent should never be tightly tied to context
I can not express how wrong that is.
absolute URLs in the post content makes migration easier, not harder. It becomes a simple search/replace operation to fix URLs instead of a complex regexp nightmare.
How is replacing: “[site_url]” a complex regex nightmare in comparison to replacing “website.com”. Seems like it’s really obvious simple string replace to me.
But as we know, using a string replace for the database migration doesn’t work because of the number of dependancies on site_url /home that have been hardcoded in multiple places.
The issue with hardcoded URLs in the content not being context specific is that it has decided that every link/content-type should be treated in the same way. This is inherently wrong. Images, Videos, Text, Links = all different.
Take my example above, where we gave all of our media a different shortcode so that we could replace the referenced variable in the config file for a medium (e.g. Video, or images) and point them towards a CDN or a Video Content provider. etc etc. We did that because the hardcoding of urls required complex regexing when we only wanted to change something content-specific.
I think your point is actually one of my/other-cms-folks great disconnects with WP. Every square peg is hammered into the round hole of “posts” with no regard to the actual context. Custom Post Type rather than Custom Content Object.
Context is really where we’re failing as a CMS.
===================================================
My point is this, and yeah its the same drum I’ve been banging for the last 4 years:
” Why do something in a way that locks down the code to only work in one situation, when coding it in a different but NO MORE COMPLEX way allows it to be extendable? ”
Thats a quote from me from the bbPress website in 2008.
I mean, lets take the fact that comment moderation REQUIRES the ability to edit any content on the website. Although these are two different roles and capabilities, we’ve HARDCODED them to be linked.
There are countless examples of where we’ve made decisions based on what simply works for the 80%, and we all know thats 50% “.com” and at least 30% “bloggers”. I totally understand that pre WP3.0, but we (supposedly) made the mental shift from blogging to CMS after 2.9 in 2009. I’m not seeing it.
I’m seeing amazing developers, i’m seeing amazing community, i’m seeing amazing effort, i’m seeing amazing code… but I’m not seeing the mental shift.
Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalcbj4074,
Genuinely no offence was meant, and I’m almost fine with your tone (for the most part). But on a support forum, especially with lovely volunteers such as Ipstenu, manners and tone go a really long way to smoothing the waters. This wasn’t very nice though:
at the risk of sounding like a prick, I don’t really care what Otto’s credentials might be.
Its funny, I was introduced as “The Most Hated man in WordPress” (trademark) at this year’s WP Scotland event because my tone is about as harsh as the WP community can take. More than any other community I’ve ever been involved with, the WP community is “sensitive”, and it’s very important to end your sentences here with smiley faces or emoticons if you’re going to say something thats not 100% inline with the status quo π
Ipstenu, Andrea, Andrew Nacin, Eric Mann and Otto are all people who i’ve strongly disagreed with over the years about one thing or another (heck Ipstenu and I used to go at it about bbPress back when that was a real thing and not a figment of the WP plug-in directories imagination); and they’re all people I respect the heck out of even when we don’t agree.
I think we all agree that WP isn’t perfect, but there’s a very specific tone that these good folks respond to, and a particular phrasing that gets a good deep-dive response. It’ll take some time to nail it, and while folks like me cant help but bring up f*** ups like Capital P Dangit making every arabic wordpress site blasphemous because some crazy Texan only thinks in a limited viewpoint, you can join me on the naughty step π
Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalI’m afraid it’s not available as a plug-in as many our EnterPress (poor name, we thought it was funny at the time) functionality required Core Hacks. I’m happy to flesh-out what we have next weekend and use an “on_save” hack to replace… I’ll see how bad it looks.
More over though, I think this is a good debate to have, though I appreciate some folks haven’t enjoyed the tone of the OP, I know I’m one whose tone isn’t always loved either π
If you excuse my very poor translation “la partie Γ©mergΓ©e de l’iceberg” is the french equivalent of the English “tip of the iceberg”, but it actually as a phrase has a very different meaning in context.
The french use it almost as a warning to mean that you’ve only thought of the bit you can see; while in English its more of.. we know there’s more to sort later.
While continuing to make me even more unpopular than I already am, I am strongly of the opinion that “we” (for the most part the Core team and those whose opinion they like – but there is some community involvement) solve issues by numbers: i.e. What will solve this issue for 80% of users?
The problem is, as I’m often told, if 50% of WP users are on “.com” there is NO possible way that a solution will enter into WordPress until it leads to a huge RoI from “.com”/bloggers. The problem with that 80/20 rule is that 20% of over 20million = millions of edge cases.
What I struggle with is that the conversations I see never evolve round how much work is required to done something the “right/extendable” way, to work out if it’s worth the Return on Investment; instead they focus on how much development time there is to make things work. Sometimes, a very small amount of work is required to make something extendable enough to cater for the other 20%.
Take my example for a second of using a shortcode instead of hardcoding the URL when we added the internal-linking in 3.1 or the new media manager in 3.3. We all know I’m the most faded low watt bulb in the box, especially in comparison to some of exceptionally bright people in this thread – but holy crap – I can’t have been the only person who thought of NOT hardcoding something. I mean, NOT hardcoding seems almost more obvious than hardcoding things. More over, I raised it as an issue to a WP core developer after 3.1 came out. *tumbleweed*
Thats my big thing, heck its always been my big thing. My business card says “failed developer” on it (thats not a joke), and I will always bow to y’all on what can and cant be done technically. But far too many of our decisions in the last 2 years have been short-term and “.com” focussed. Conversations like this, even if they start in a bad place, have the potential to provide a solid understanding of the pain points that those of us using WordPress “in the wild” are facing.
I am reminded, often, of this:
http://kevinjohngallagher.com/2012/01/listening-core-skill-learning/@ Otto:
Thats awesome bro π
Now where does that get referenced instead of the database for every call?You forgot:
define('WP_VARIABLE','does_not_matter_as_its_been_hardcoded_multiple_times');
π
(trying to keep it light incase you’re still hungover)
Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalFun thing to do: Try migrating a site that uses relative URLs when the directory it is installed in changes β or better, when the directory depth actually changes. (For maximum points, move a root install into a directory.)
Actually, I think this is wrong and a little old fashioned. We recently moved 2 different CMS’ (on different platforms) with a mixture of relative and referenced links and it was smooth as silk.
You see, there is a 3rd option: Absolute, Relative and “referenced”.
We already have the site_url as a reference point that we can refer to at any point on the loading of a WordPress page (even prior to initialising the DB is people define it in the WP_config which they should always do); so the questions remains as to WHY we would hardcode ABSOLUTE URLs when we could just reference the URL at any given moment?
I’m not advocating a change, it just seems to me that rather that take the ‘extendable’ solution, the core team took the lead from a decision made by B2 in 2001/2002, and continued with a solution that only worked in 1 situation.
More importantly, I think it’s a little (unintentionally) disingenuous to be pointing out the 10 year old decision, when the MAJOR culprit of the absolute url issues are:
1) Local links to posts in the content editor (added in 3.1)
2) Local links to media in the content editor via Media manager (added in 3.3)90% of the Absolute vs. Relative vs. Referenced URL issues could have been cleared up in the last 18 months with 2 quick fixes.
The bigger issue is not about absolute URLs, but about hardcoded URLS in multiple places with multiple dependancies. Why not have URLs reference a single place (site_url)?
Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalOne of the things that we did was to ensure that all hardcoded local link to posts and images was to use a simple bbcode/shortcode hook.
POSTS:
e.g. “link.com/post-name” became [site_url]post-nameMEDIA:
e.g. “link.com/wp-content/uploads/month/year/image.jpg” became [image_url]image.jpgThis made a COLOSSAL difference to us when dealing with multiple users and installs.
As a really nice touch, when we moved to using a CDN for our images, we simply replaced IMAGE_URL in the config file and BAM, no database issues, it automatically pulled all images from the CDN URL.
I know this sounds like a daft statement, but given that we can (and should) be defining SITE SPECIFIC information in the WP config file doesn’t it stand to reason that something as purely site specific as site_url should be defined there too? Coding issues aside, that just seems sensible…
Forum: Requests and Feedback
In reply to: WordPress's .htaccess file is suboptimalIn the nicest way, I think everyone needs to take a step back here.
I disagree with Otto quite often, but I hold both him and his opinion in the highest regard. While I find Ipstenu’s quote accurate, I think this can also be applied to the OP:
he can be a hard-headed jerk sometimes, and he’s not what I’d call the most eloquent fellow, but that doesn’t make him wrong.
With that in mind, if we’re going to cut people some slack, lets also cut the people we dont’ know some slack too π
The OP has some really good points. Absolute URLS in WP are a nightmare. Which is not to say that Absolute URLS are wrong, but our implementation of them is a royal pain in the behind.
I’ve talked often and loudly in the last 2 years that WordPress currently doesn’t scale well, a phrase that send people into fits of hysterics. I do not mean in terms of Servers/PHP/hits, i mean in terms the number of decisions that are locked down on the basis that “they work for .com/bloggers”.
Moving WP installs, having master/slave or dev/live installs and all the rest of it causes real issues. Which is fine, or acceptable, if we were to admit that and write a codex article on it. Instead we valiantly defend WP instead of being able to do anything, and just hope that everyone has the same level of knowledge and experience as we have.
Lets be honest, we get a request/moan about this at least once a week on the wp dev / hackers mailing lists. Maybe we should consider nipping this in the bud rather than just telling people that a) the decision was made in 2002 and it’s not going to change and 2) it works for millions therefore nothing is going to change (unless we want it to).
TBH, we can’t keep making the ‘millions of users’/’scared of change’ comments and roll out Capital_P_Dangit / inaccessible-menu. (not to open those can of worms)
Forum: Alpha/Beta/RC
In reply to: Admin menu doesn't expand/collapse in 3.3 beta 1. Why?WordPress 3.2.1 is secure, so unless you absolutely need the new features added in 3.3, you don’t need to upgrade.
Ha, that’s funny because I said that last week and was ridiculed.
But you know the thing thatβs at the back of my mind?
We changed the AdminUI in 3.0, 3.2 and now again in 3.3. Thatβs 3 changes to the workflow in 15 months. Does that not set alarm bells rining?Forum: Alpha/Beta/RC
In reply to: Admin menu doesn't expand/collapse in 3.3 beta 1. Why?I agree Ipstenu, but that kind of misses the point I was raising (apologies if I wasn’t clear bro).
- What we have now, is the same functionality on desktop & non-desktop systems, which works the same way for people using a mouse and not using a mouse.
- What we are moving to is functionality that works differently on desktop & non-desktop systems, and which works differently for people using a mouse and not using a mouse.
My point, which I now realise I was being a bit too specific about when trying to give an example, is that while I can absolutely see the existing menu (y’know the one only added in the last release!) not being 100% ideal for every user, it was at least consistent in it’s functionality. What we’re moving to is the opposite.
Folks, in case this looks like concern trolling I apologise, but go try the 3.3 back-end on a Blackberry, or navigating without your mouse, or an iPad1, or an iPhone 4/3G/3 or a Windows7phone, or on IE 7, or with JavaScript turned off. Jane, someone that does stellar unheralded work, was very open that her first 20 Usability tests were done on a very specific subset of users:
12 were on mac, 8 on PC. All used either ff or chrome as their default browser.
I don’t know about you folks, but thats not indicative of the world I live in.
Forum: Alpha/Beta/RC
In reply to: Admin menu doesn't expand/collapse in 3.3 beta 1. Why?Checking 3.2.1 and 3.3 on the iPad. Flyout menus work for me on SVN 3.3 – Click once, they fly out. Click again, go to where I want.
Agreed. So we have the same number of clicks we had before, but now with less functionality.
click on a menu option, and then click on a different menu option (not a sub option, a different main menu option) on the side menu. Do you see the second usability problem?
Um, this π
You’re not going to get ‘options’ no matter what. WP wants to give you decisions, not options.
I get that, I’m sure we all do at some level.
The problem is, each time one of these decisions is made for us (with no option to revert), it moves another small percentage of users into the “edge case” category. Between the Kool-aid drinking (none on this thread though), and the cunning ability to skew the test data, it is at some stage going to start to push people away from WordPress (even if that’s only a tiny number of people).3 changes to how the back-end UI looks/feels/works in 14 months is colossal, to both new users and power users.
With 500+ sites, I hope you’ve learned how to create at least a basic plugin in that time, to help administer them
My Mum, a big WordPress fan, and a school teacher administers around 100 WordPress sites (90+ for her school kids per year, and about 10 personal – honestly she went nuts one summer). She couldn’t code a plug-in if her cat’s life depended on it.
Can we drop this sanctimonious idea that everyone using WordPress for more than a blog should also be Rasmus Lerdorf??
Forum: Alpha/Beta/RC
In reply to: Admin menu doesn't expand/collapse in 3.3 beta 1. Why?Those options should get out of the way and let you do what you’re entering the site to do – write.
As we move to WordPress being used less and less (percentage wise) primarily as a blogging platform, the sole / singular / main purpose of it’s user-base purely to “write” under the posts section diminishes. Custom Post Type went a long way to kick starting that.
… if you’re a developer or power user (most of us in this thread are one of the two), then you’re not in that “majority of users” category
I totally agree. We’re not the majority, we’re the minority at the high end, but more and more that number is growing. Outside of “WordPress.com” users, the number of multiple install users is growing rapidly.
The majority of the community uses WordPress to write … not to hunt for settings on different admin pages and tweak options.
Again, totally agreed.
But this change doesn’t make it easier to write blog posts, it makes it the same amount of work; but increases the amount of time to us power users. As well as moving those on a non-ideal system setup to being edge cases.We “power users” not being the target of an update i can totally understand; but making life more difficult for disabled people who don’t use a mouse, I dunno man. Sometimes aiming to please the majority needs to be weight up against how much it makes life more difficult for the minority. Over the last few releases, I’ve felt we forgotten that sometimes (even if we don’t mean to).
Forum: Alpha/Beta/RC
In reply to: Admin menu doesn't expand/collapse in 3.3 beta 1. Why?I ran a quick test on a local site, and it appears that Javascript is used for “hover-intent”, which solves the hover-tunneling problem to some degree. So without javascript, you would have that issue, but the menus themselves do at least work.
Oh Absolutely, they do work (sorry if it looks like I said otherwise, I didn’t mean to), but pure CSS hovers are very poor usability-wise based on “mouse tunnelling” (JS hovers can add a delay so that users can at least attempt to move their mouse directly from hover item to the next chosen menu item)
Forum: Alpha/Beta/RC
In reply to: Admin menu doesn't expand/collapse in 3.3 beta 1. Why?Thats a possibility of course, but it’s the use of the word “many”, what percentage of WordPress users have never use enough of the internet to work out the up/down arrow clickable state? (i’m not doubting there are some of course).
The issue for many of us is that the option to keep menu items ‘of our choosing’ open indefinitely (or until we choose otherwise) has been taken from us.
Who knows how “many” people used the feature as intended against the “many” who couldn’t click the close button. Yet instead a real positive usability feature has been removed in favour of an exceptionally unusable/in-accessible feature hastily added to the WordPress core.
For me, as someone who doesn’t use a mouse due to a long standing disability, hover menus are quite frankly – horrific.
But it’s ok, Jane Wells and her team (who do a power of work behind the scenes) ran UX testing the other day… all on able bodied people using FireFox and Chrome (12 on mac, 8 on PC). Does anyone think this is indicative of the real world? Zero IE users? Zero non-mouse users?
Not to mention the fact that we got rid of hover menu’s for a good reason after 10 years of HCI studies showed that people don’t use them well. Users like to decide where they are going first, THEN move their mouse. Hover menus force users to do the opposite. It actually takes longer than a click/open procedure. Not to mention it causes large amounts of hassle for people on non-mouse inputs.
If you’re using a tablet device, or phone, or keyboard etc. you’re going to have to do MORE work, not less, to get the hover function working.
I totally understand that many of the good folks commenting here (including personal favourites Jeffro and Ipstenu) like the change. It’s cool they do, and I’m sure they’re not alone. But I worry when we rush ahead with these type of changes without knowing the impact on all of our users. We can’t continue to keep calling anyone who’s not using Chrome on a MacBookPro an edge case. We can’t continue to build and test our backend on the basis that everyone has or uses a mouse.
More importantly though, wasn’t there more important stuff to fix? With all due respect to the amazing work the core devs do, we have hundred of bugs in the Trac system; so who decided to ignore them and remake the Admin UI for the 3rd time in 5 releases??
Oh also, the feature really blows big time with JavaScript turned off.
But then again everyone in the world has JavaScript turned on right? everyone? 100%. Sure.
Forum: Alpha/Beta/RC
In reply to: 3.0 change to registration screws bbPressThis bug still exists…
Forum: Plugins
In reply to: Best WordPress forum plugin?There have been plenty of promises over the last year but it more often than not turns into a big flame war on their discussion forum.
I think flame war is a little harsh, infact the thread Matt reffered to in his KeyNote speech (called a “flame war” by WPtavern) can be found here: http://bbpress.org/forums/topic/whats-happening-with-bbpress/page/5
The world’s politest flame war ever?? It appears to me to be really a civilised conversation including 2 moderators and the lead developer who can’t get any information out of the project lead.
Look at all those people using such bad language like “please”, “thank you”, and “appreciate”. Scary stuff. It’s amazing what people write behind the anonymity of the internet.
I would love to hear from anyone inside wordpress about some concrete info surrounding bbpress including release dates, beta testing, new features, etc.
So would the bbPress team π