Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

newsblogthing

Blog categories

By choosing the [de] or [en] links, you can see entries from the resp. category in only that language.

PHP and its weaknesses

2007-06-06 21:12

I just found a good summary of PHP's weaknesses. It also contrasts them with how Perl is doing better, and while I'm not a fan of Perl, all the points against PHP are valid.

  • Oversimplification leads to excessive complexity

This is a quote from another site, but many of the items of criticism are based on it, and it's one of the main reasons why I like other programming languages much better.

Unclassified Newsboard 1.6 Final Released

2005-12-04 22:04

Today, Version 1.6 Final of the Unclassified Newsboard was released. Unclassified Newsboard is a PHP/MySQL-based forum software, which introduces HTML templates and a new theme in version 1.6. In addition, the available features are even more complete from a intuitive point of view. 1.6 has been good enough for many uses since RC1, which was released two months ago, and now, it is (almost ^^) bug-free.


Heute wurde Version 1.6 des Unclassified Newsboard für den allgemeinen Gebrauch freigegeben. Das Unclassified Newsboard ist eine PHP/MySQL-basierte Forensoftware, deren größte Änderungen mit Version 1.6 HTML-Templates und ein neues Layout sind. Außerdem entsprechen die vorhanden Funktionen jetzt noch mehr dem, was man logisch denkend erwartet.

Scrolling an HTML block with overflow:auto

2005-11-08 17:29

I just found out that it is possible to have an XHTML block with scrollbars caused by a fixed width or height and overflow:auto and change these scrollbars using JavaScript. (The ugly alternative is to use the clip property to show the part you want to show, but you loose the normal scrollbars in this case.)

You can do this using the object's scrollTop and scrollLeft properties, and the respective maximum values can be retrieved using scrollWidth and scrollHeight. And this even works in Opera, FireFox and Konqueror! (I tested 8.5, 1.0.7 and 3.4.1 resp.)

Demonstration - HTML-(non-XML-) version

Update: A friend of mine just confirmed that this works with MSIE too!

Absolute Positioning in CSS and its definition

2005-10-17 10:20

A while ago, I searched for a way to position elements of an XHTML document with CSS just like those of which you probably think of "absolute postitioned", that is their location is defined by an absolute offset within the browser window, just that this time I wanted them to be relative to their parent element, which obviously was, in this case, not the body element. This would allow one to use a div of a fixed size as some type of canvas area, within which you can draw other rectangular areas.

I tried with relative positioning and negative margins, and was disappointed by the fact that CSS didn't seem to allow me to do this. I lived with this impression, just until yesterday, when I noticed that the spec has this to say:

UNB 1.6 RC1 released

2005-10-04 19:27

A few days ago, RC1 of version 1.6 of the Unclassified Newsboard has been released to the public. Unclassified Newsboard already was a newsboard featuring many innovative and powerful ideas, and I think that version 1.6 is a major milestone.