Topic: XHTML 1.1 Parrallelism

I'm really attracted to PunBB's minimalist approach--and it's accessible code.

In the distant future (sayPunBB v2.0), I think it'd be nice to see Pun follow XHTML 1.1's example.

E.g., In the start-up options: the default settings would call 4-5 modules that would make-up a very basic stripped-down install of PunBB (sort-of a PunBB equivalent of XHTML Basic). Maybe the output could even be XHTML Basic. Anyway...

With this "PunBB Basic" installed, people could add to the base modules for additional features or they could run the stripped-down version. The profile and admin scripts could look for the installed modules on-the-fly and offer options as appropriate.

Also, the display scripts (profile, index, viewforum, viewtopic, etc.) could use lots of "id=" attributes... so you could set "display: none;" on particular options in the CSS file and customize almost everything on the page.

This seems to me, a nice way to let PunBB grow, build its user-base, and keep the purists/minimalists happy.

BTW- I'm very pleased with PunBB Rickard, thanks!

Latest Open Source project: [img=Templar PHP]http://code.google.com/p/templarphp/logo?logo_id=1251758459[/img]

TemplarPHP - A cascading template framework for PHP.

Re: XHTML 1.1 Parrallelism

wow sounds cool and futuristic like wink , btw you realise punbb is already moving that way and the next version is xhtml 1.1?

Re: XHTML 1.1 Parrallelism

ShawnBrown: Have you had a look at the development version of PunBB 1.2? It has completely new markup and CSS. You can download it here.

Connorhd: The next version is XHTML 1.0, not 1.1.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

4

Re: XHTML 1.1 Parrallelism

The next version is 1.0 Strict not 1.1. I'm not sure I would call XHTML 1.1 basic. I thought the core module was equivelant to 1.0 strict.

On the CSS side PunBB 1.2 uses enough id's for you to select just about any element on the board with descendant selectors so, for example, you could use #vf .tc3 {display: none} to remove the replies column on the viewforum page..

Incidentally, if it were XHTML 1.1 that would allow the use of target="_blank" for people who think it important. You just incorporate the 1.1 targets module and write you own doctype. That though is probably using a sledgehammer to crack a walnut.

One problem though with a modular approach is to work properly it would almost certainly require templating. There is a limit to what you can do with css. If you go the display:none route it means the markup still gets output, it just doesn't get displayed. The result is oversized pages with a lot of redundant markup.

5 (edited by ShawnBrown 2004-09-23 20:08)

Re: XHTML 1.1 Parrallelism

Connorhd wrote:

wow sounds cool and futuristic like wink , btw you realise punbb is already moving that way and the next version is xhtml 1.1?

Yes, I saw that in the Announcements.

Actually hearing that Pun will output XHTML got me thinking about 1.1, Basic, why the W3C implemented 1.1 in the first place, and about 1.1's advantages over 1.0 (for content providers and developers). This got me thinking that the structure of PunBB's code might benefit, in the long run, by taking a similar approach.

Latest Open Source project: [img=Templar PHP]http://code.google.com/p/templarphp/logo?logo_id=1251758459[/img]

TemplarPHP - A cascading template framework for PHP.

Re: XHTML 1.1 Parrallelism

have a look, http://66.98.138.31/~connorhd/pundev/vi … ?pid=38#38

well like you said in the future it should be that but i think for now most people will be happy with xtml 1.0

7

Re: XHTML 1.1 Parrallelism

Incidentally, PunBB 1.2 will validate as XHTML 1.1 save for the use of named achors which would have to be replaced with id's and then dynamic id's would have to be renamed so as not to start with a digit e.g. post numbers in viewtopic.

Re: XHTML 1.1 Parrallelism

Paul wrote:

... I'm not sure I would call XHTML 1.1 basic. ...

Sorry, I should be clearer: I was referring to the "XHTML Basic" W3C Recommendation http://www.w3.org/TR/xhtml-basic/

It's a stripped-down, minimalist, version of XHTML 1.1.

Latest Open Source project: [img=Templar PHP]http://code.google.com/p/templarphp/logo?logo_id=1251758459[/img]

TemplarPHP - A cascading template framework for PHP.

9

Re: XHTML 1.1 Parrallelism

...would be nice if it were also coded with RPC/SOAP in mind...the basics of PunBB would be 2 seperate projects..the forum server and the forum client...would be whickedly cool seeing as then you could create a C# app for your desktop that could directly deal with the forum server (output is alread XHTML).

...forum client could still be PHP, it just makes calls the forum server...then at that point you could have one forum server and 232 forum clients all contacting the same forum server....

*drool*

10

Re: XHTML 1.1 Parrallelism

ShayneB wrote:

would be whickedly cool seeing as then you could create a C# app for your desktop that could directly deal with the forum server (output is alread XHTML).

C# = Evil Empire, I would do it in XUL and create an extension for Firefox.

11

Re: XHTML 1.1 Parrallelism

I have downladed and failed in installation pun 1.2 ... no matter ...

there are yet too many tables ...

I'll post modifications if you want about some portions ...

However, where it's incredible, the code is Better and cleaner than 1.1.5 ! Great !

Re: XHTML 1.1 Parrallelism

theres too many x...ls in the world tongue

13

Re: XHTML 1.1 Parrallelism

Connorhd wrote:

have a look, http://66.98.138.31/~connorhd/pundev/vi … ?pid=38#38

well like you said in the future it should be that but i think for now most people will be happy with xtml 1.0


Waouh ... great job smile

http://66.98.138.31/~connorhd/pundev/profile.php?id=4

OK ...

why don't you use this techic for the rest where tables are used ?

With display : inline ... all is possible !

14

Re: XHTML 1.1 Parrallelism

hcgtv wrote:

C# = Evil Empire, I would do it in XUL and create an extension for Firefox.

It doesnt matter the language, thats the beauty, be it PHP-GTK, C#, Java, Assembler, you can do it all with such a system...though the forsight to do it from the beginning is normally a must.

Re: XHTML 1.1 Parrallelism

Rod wrote:
Connorhd wrote:

have a look, http://66.98.138.31/~connorhd/pundev/vi … ?pid=38#38

well like you said in the future it should be that but i think for now most people will be happy with xtml 1.0


Waouh ... great job smile

http://66.98.138.31/~connorhd/pundev/profile.php?id=4

OK ...

why don't you use this techic for the rest where tables are used ?

With display : inline ... all is possible !


thats 1.2 dev version btw and not the most uptodate

16

Re: XHTML 1.1 Parrallelism

I was looking over v1.2...and am curious why the need for tables in the front page?

<table id="idx" class="box" cellspacing="0">
<thead>
    <tr>
        <th class="tcl" id="th1"> </th>
        <th class="tc1" id="th2">Forum</th>

        <th class="tc2" id="th3">Topics</th>
        <th class="tc3" id="th4">Posts</th>
        <th class="tcr" id="th5">Last post</th>
    </tr>
</thead>
<tbody>
    <tr class="tcat">
        <th colspan="5" id="tcat2">FORUM</th>

    </tr>
    <tr >
        <td class="tcl" headers="tcat2 th1"> </td>
        <td class="tc1" headers="tcat2 th2">
            <h3><a href="viewforum.php?id=2">TEST FORUM</a></h3>
            FOR TESTS ONLY
        </td>
        <td class="tc2" headers="tcat2 th3">1</td>

        <td class="tc3" headers="tcat2 th4">6</td>
        <td class="tcr" headers="tcat2 th5"><a href="viewtopic.php?pid=38#38">Today 15:11:14</a><br />by testing</td>
    </tr>
</tbody>
</table>

...is this because div tags cant to tabular data?

Re: XHTML 1.1 Parrallelism

maybe tables are just the most effective way of displaying that?

18

Re: XHTML 1.1 Parrallelism

ShayneB wrote:

It doesnt matter the language, thats the beauty, be it PHP-GTK, C#, Java, Assembler, you can do it all with such a system...though the forsight to do it from the beginning is normally a must.

True, any language will do, except evil dreaded C# :)

I was thinking of XUL because mobile devices are going to start embedding Gecko as their browser. So I imagine in the future we'll be able to interact with our forums from our cell phones or mobile pdas.

This is minimo: http://linuxdevices.com/articles/AT7396996719.html

19

Re: XHTML 1.1 Parrallelism

WHY TABLES

There is a common misunderstanding that tableless design means no tables. It doesn't. It means not using tables for page layout. The most important thing is to use the right tag for the job. When displaying tabular data in a tabular format the correct tag is <table>.

Replacing correctly marked up and semantically correct data tables with a semantically inncorrect mess of lists is extremely bad design and contravenes the W3C guidelines. You can do it with divs but thats even worse because the divs have no semantic meaning at all. That means putting content in <p>'s so now you have a lot of paragraphs displayed next to each with headings over each so you still have a table; you've just created it using all the wrong tags and whats more you can't make it accessible to screenreaders etc.

If you want a completely table free design that would involve redesigning index and viewforum to display data in something other than a tabular format. Since the tabular format is the most usable you would be a swapping a usable design for a less usable one. Again thats just bad design.

BTW: all is not possible with display:inline. It's fine on a fixed width layout but can wrap very badly with a fluid width design.

20

Re: XHTML 1.1 Parrallelism

I agree with you on all the points, Paul ...

But table with "DT" can be remplaced.

The problem of the table is if you want its layout, you have to write code : with all solutions, all is easy ...

I'm ok on the princip' of tabular data : but ... why "think" a forum like that ?

The biggest erreur of a lot of people who think xHTML, is to think div can replace table : we are ok on that. But with imagination, is it not possible to review the navigation ?

xhtml is not only the possibility to copy tables : but with layout, to create new navigation system

http://www.csszengarden.com is for me the best example of my vision of xhtml.

21

Re: XHTML 1.1 Parrallelism

See the great stuff realized
http://www.tbrown.org/ideas/tabularlist/

Code is properly, dedrages well ... no ?

22

Re: XHTML 1.1 Parrallelism

Rod wrote:

See the great stuff realized
http://www.tbrown.org/ideas/tabularlist/

Code is properly, dedrages well ... no ?

Actually I think it's awful.

1. How do you associate headers with data cells so they can be understood by screen reading devices. Basically it would fail most accessibility standards. You can see this if you view it with stylesheets turned off.

2. It's fixed width. I am willing to bet it would be a right mess if it were fluid width.

3. It's not semantically correct. Semantic markup is far more important than getting rid of tables.

4. There is no advantage in it. The markup for a table would be about the same and the page would take the same length of time to load.

5. It doesn't work very well in IE 5.

I've got nothing against a totally tableless bbs system but if you go that way you really have to change the design totally to do it. The only ones I have seen are actually rather more difficult to use than the traditional tabled designs.

23

Re: XHTML 1.1 Parrallelism

OK, One (another) point for you ... smile

24

Re: XHTML 1.1 Parrallelism

Just to cheer you up. I know you have already seen this
http://forum.kh0d.com/

That works. It's tableless but the way index and viewforum are designed tables wouldn't be appropriate. IMHO if you want a tableless design thats the way to go.

25

Re: XHTML 1.1 Parrallelism

Yes, it's indeed I would like to have ... Kh0d believes the 1.2 will be 100% tableless ... I hope he can help me ...

His vision of forum is elegant : and even if punBB is the quickest forum all around the world, tableless is a must smile