Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BBpress. Mindset, features and where now? discuss…

@kevinjohngallagher

Member

Great answers again _CK_.

As always you bring an authoritative voice to this discussion.

“Tables have vertical rows that can be sorted which would be 100x times harder with lists. Javascript has specific abilities on tables that don’t exist in lists. Lists do not have vertical relationships between their “cells”.”

I’m going to be one of those guys here a sec and say you’re totally and utterly wrong about this.

The DOM of a browser treats a TABLE like an XML file that it iterates through in a singular parent/child relationship.

The DOM of a browser treats a LIST like an XML file that it iterates through in a singular parent/child relationship.

Both are sorted based on their parent AND their attributes.

The perception that tables are easily sorted natively by JavaScript is only brought to the fore because libraries such as jQuery etc. have built in functions to sort tables. The same underlying code works for lists in exactly the same way.

eg. The browsers DOM can’t tell the difference between:

TABLE

– TR

– – TH

– TR

– – TD

and

DIV

– DIV

– – DIV

– DIV

– – DIV

or

OL

– LI

– – SPAN

– LI

– – SPAN

Let me give you an example again; Back to the backpacker website (real world examples are good I find).

UK (Category)

– England

– – London

– – – Travel

– – – Hostels

– Scotland

– – Edinburgh

– – – Travel

– – – Hostels

– – Glasgow

– – – Travel

– – – Hostels

Now if we output these as 1 flat tables (even with fancy CSS tags), and we use JavaScript to sort it (lets say alphabetically), we get this:

Edinburgh

England

Glasgow

Hostels

Hostels

Hostels

London

Scotland

Travel

Travel

Travel

UK (Category)

Because, again, if things are in a singular flat table structure there is not way of knowing which child belongs to which parent.

Again, i’m only advocating the use of lists for the forums, not the topic list, which is a singular list, and therefore well suited to using tabular data.

==============================================

What I want to stress here, because i’m feeling like i’m repeating myself a little and thats never good, is that i’m NOT here to get BBpress to change from tables to lists or divs or anything else.

What i’m here to discuss is that BBpress is going down a route, a route that solves one set of needs. Can you list the topics in a singular table in a singular order while the only differentiation between each row/cell is in the CSS worked out after the tag has been sent to the browser.

That is a very very singular way of doing things. My point is that all over the shop here in BBpress 1.0a we’re doing things in a singular method, and not in any way giving any for of extensibility to the software.

I use the forum parent/child output example cos it’s on the front page. I could use the example of having template functions HARD CODED in the bb-includes folder as opposed to being in the template folders. I could use the example of “forum” or “topic” being slapped before all the permalinks with no option to remove them.

Lets be honest here, in terms of changes from 1.0a1 to 1.0a2 the first 17 changes were style changes to the template file that we’re all (hopefully) going to replace with our own template.

The 3 latest changes to the repository have been to fix TYPOS in the comments.

There was 85 days, almost a 1/3 of a year between 0.9 release and 1.0alpha, and I may be wrong here but the biggest change seems to be that XML RPSeeWhoCaresAboutThisReally was added.

People are complaining about the same things on this board over and over. Most plug-ins were written over a year ago, and have been hacked to death. Vital information is stored on Page 3 of a forum thread started 18 months ago because no-ones updated the website.

Heck, saying that 0.9.0.2 the STABLE bbpress release doesn’t actually work with anything beyond 2.5.1 of wordpress, let alone the stable wordpress release of 2.6.3 ISN’T EVEN ON ANY OF THE WEBSITE PAGES. It’s stored on the forum software, in a random post.

This is not a complain against the great men and women who have done some marvellous work here, _CK_ so far is a screaming example of someone who’s given up huge amounts of time and created some amazing code, but come on.

If we try to develop something with no roadmap, no feature list; if we try to solve single problems with singular solutions; if we do this all with no documentation; heck if we do this with no project management whatsoever then we’ll end up with a bunch of things that look somewhere between a blog and a forum all with slightly different colours and a different header picture.

Then we can all pretend that we’ve build a totally extendable bit of software that every user has just decided to use exactly the same way out of pure luck, and not because they’re effectively forced to.

Heck while we’re at it, i’m going to pretend i’m Brad Pitt. Make believe is SO much fun. I’d suggest you all try it, but maybe you’re already there…

Skip to toolbar