why does coppermine use tables? why does coppermine use tables?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

why does coppermine use tables?

Started by nickfzx, May 05, 2007, 01:06:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nickfzx

I am not an expert at web design but I have read enough to know that tables are not considered that much of a good thing and DIV tags are preferred...because they load quicker and can be formatted easily using css are the two main reasons I think.

With this in mind I was just wandering why Coppermine formats its elements using mostly tables and not DIVs?

Joachim Müller

The reasons why table-based layout is being considered as deprecated are different ones (not speed and easy formatting, but rather separation between content and functionality, accessibility). However, the question "why" doesn't apply. The table-based layout exists for historical reasons. Rebuilding Coppermine to drop tables and only use div containers would mean recoding Coppermine. This has been discussed in detail. If you want to join this discussion, read up what has been discussed before - we're not going to repeat this discussion here just because you're kind of late to join it.
If the coppermine devs could just snap their fingers and make coppermine table-free, we would do so. But (sadly), this would require an awful lot of work, which none of the devs is ready to spend time on. You're welcome to come up with a table-free hack - have fun!

nickfzx

#2
hey thanks for the info...I did search before posting and diddn't find the thread you are referring to, I'll look again.

edit:

should have searched for "tableless"

also GauGau, as I think you wrongly corrected my grammar:
QuoteHowever, the question "why" doesn't apply. The table-based layout exists for historical reasons.

the question "why" fits fine..."the answer to why coppermine still uses tables is for historical reasons"

Joachim Müller

I didn't try to correct your grammar. I said that "why is a software designed in the way it is" simply doesn't apply. "Why" -> "Because": there's no special reason for coppermine using tables except the fact that the original version has been coded using tables.

Some references to related discussions:
Quote from: GauGau on March 24, 2006, 07:50:36 AMThere have been efforts to create a tableless version - all who reported to have accomplished this actually failed or didn't post their modifications. We're aware that the use of tables for presentation is deprecated, but there's currently no workaround.

Creating Tableless theme

nickfzx

Quote from: GauGau on May 05, 2007, 07:15:09 PM
I didn't try to correct your grammar. I said that "why is a software designed in the way it is" simply doesn't apply. "Why" -> "Because": there's no special reason for coppermine using tables except the fact that the original version has been coded using tables.

The answer to my "why" is: "because" it is historically done using tables and would be a big hastle to change it.

It is a simple "why" and "because" imho.

But never mind, there is no point in squabbling over grammar.

Quote
Quote from: GauGau on March 24, 2006, 06:50:36 AM
There have been efforts to create a tableless version - all who reported to have accomplished this actually failed or didn't post their modifications. We're aware that the use of tables for presentation is deprecated, but there's currently no workaround.

well, I found this:
http://forum.coppermine-gallery.net/index.php?topic=15979.msg74536#msg74536
http://www.badgerphotos.com/
which is a theme not a mod but seems look alright...I have tried it on my test install and it seems to work pretty good.

I note your warning in the thread that it is not a compliant theme.