Grid Based Webdesign
Umfassende Sammlung zum Thema Grid basiertes Webdesign:
Umfassende Sammlung zum Thema Grid basiertes Webdesign:
In den letzten Tagen habe ich einige ganz interessante, deutsche Projektdokumentationen gefunden.
Zum einen die zur Zeiterfassung Mite gehörende Diplomarbeit, die hier zum Download angeboten wird.
Zum anderen einen Aufsatz von Thomas Bachem, einem der Macher von sevenload.de
Ich finde beide Dokumentationen hochgradig interessant zu lesen, nichts desto habe ich einige Anmerkungen und Gedanken dazu:
Mite ist ein Projekt mit Ruby on Rails. Die Macher hatten am Anfang Lastprobleme, konnten das aber durch einen Umzug auf einen performanteren Server lösen.
Sevenload ist ein PHP Projekt. Leider nutze ich es nicht so häufig wie Youtube, daher kann ich keine definitive Aussage zur Geschwindigkeit treffen. Dennoch frage ich mich, ob es wirklich nötig ist, in einem Grundlagenartikel direkt mit kontrollierten Redundanzen für die einfachsten Sachen wie “durchschnittliche Bewertung eines Bildes” loszulegen? Ich meine, bin ich der einzige, der so etwas für Überflüssig hält? Letzten Endes ist es ein Einzeiler in SQL, der mit korrekter Indexerstellung kein DBMS in die Knie zwingen sollte:
SELECT avg(rating)/COUNT(*), rateable_id FROM ratings GROUP BY rateable_id ORDER BY 1 ASC; |
Das dann noch mit einem inner join über die zu bewertenden Dinger verknüpft und gut.
Welcher Ansatz würde ich wählen? Ich selber würde jederzeit Standards vorziehen, im obigen Fall auf ein sauberes ER <->Objekt Mapping und auf Normalisierung in der DB (witzigerweise erwähnt Thomas Bachem das im nächsten Absatz bzgl. Tagging Schema) setzen. In anderen Worten: Lieber den Railsweg gehen und sauberes Design erhalten und dann im Zweifelsfall etwas mehr Hardware hinter her werfen.
Tatsächlich redundate Informationen zu speichern würde ich generell nicht ausschliessen, in diesem Fall allerdings schon. Ich denke, wenn man soweit unten bereits diesen Bedarf hat, wird es eng mit Optimierungen, wenn die Luft unter Last dünner wird.
I have the need to use both Cicso Systems VPN Client as well as Watchguard Mobile Users VPN Client on Microsoft Windows (2000 and XP). I’ll never understand, why this stuff can’t be well standardized.
It’s a little tricky installing both.
First, install Ciscos Client, reboot, quit the client, removed it from autostart and then go to your services tab and change the starttyp of “Cisco Systems, Inc. VPN Service” from automatic to manuell and stop it like so:
Afterwards, you can install the Watchguards stuff. Again, reboot and remove their client from autostart. Then, deactive the current watchguard security policy, go to services and stop the following both services and set them to start only manually:
Both clients are mutually exclusive. You must stop both Watchguard services befor you can start the Cisco Service and vice versa. The clients won’t start respectivly won’t run without their corresponding services.
Additional information: If you need to use these products in a virtual machine like i do, it helps a lot to set the network mode to “bridged”.
Wordpress 2.2 arrived a day ago.
Updating was no problem at all. Prominent new features are wigdet support without the need for an external plugin and a working atom 1.0 feed.
I could drop two plugins: the widget plugin and the atom10 plugin. Nice. All others work as before (some important to mention are UTW, WP-Cache and the nice extended live archive(*).
A really nice site effect of the update: the WP Team finally managed to put a “SET NAMES blah” into wp-db.php, so that setting “UTF-8” i.e. in wp-admin really means UTF-8 in the database. I always hacked my wp-db(**) for my other blog planet-punk.de, since there are a lot of old posts from another legacy system that _are_ indeed UTF-8 but which where maltransformed by wp without that hack before 2.2.
I do have a local development system on my mac but i tend to test things twice or more often. Other people maybe don’t have or want that luxury and need to udate their blogs directly on the server. Either way, it’s a good idea, to put your blog to maintenance while updating your wp core files. This is easily accomplished with .htacess and mod_rewrite. First create a file “maintenance.html” for your visitors. Than look up your external ip and add the following to your .htaccess:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REMOTE_ADDR} !87.78.68.17 [NC] RewriteRule ! maintenance.html$ maintenance.html [R=301,L] </IfModule> |
and replace 87.78.68.17 with your external ip. Remember commenting these entries when you’re done.
(*) If you have any questions about my plugins, don’t hesitate to ask, i just don’t want a plugin list in case of bugs in any plugin.
(**) The hack was: Add the following to __construct in your wp-db.php (./wp-includes/) :
$this->select($dbname); $this->query("SET NAMES 'utf8'"); |