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

Archived entries for

jQuery Selectors

Jack Franklin gibt eine Tips für “Clever jQuery Selectors”.

Ein Beispiel:

If you can, avoid going back up to parent level.

$("elem").find("p").css("display", "none").parent().find("h2").css("display", "none");

(…) The code could be cut down:

$("elem").find("p").css("display", "none").siblings("h2").css("display", "none")

But this can still be improved:

$("elem").children("p, h2").css("display", "none");

Website Performance

Weil Performance so wichtig ist: Ultimate Guide To Web Optimization . Die meisten Sachen sind nicht neu und oder hier schon erwähnt worden, aber man findet immer noch was neues, z.B.:

Geheimskrämerei

Die Bundesnetzagentur hat einen Entwurf für ein Regelwerk zur Umsetzung des Zesnurgesetzes vorgelegt und möchte es geheim halten:

Anders als bei vergleichbaren Regelwerken schließt die Regulierungsbehörde eine Kommentierung durch die Öffentlichkeit aus. Im Amtsblatt 16/2009 wird die Richtlinie als nur für den Dienstgebrauch verwendbare Geheimakte eingestuft. Die an einer Stellungnahme interessierten Provider müssen zur Einsicht des Dokuments “namentlich Personen” benennen, die sich zu Stillschweigen verpflichten. Die Weitergabe des Papiers oder der Kommentare unterliege einschlägigen Strafbestimmungen.

Über solche Lapalien wie Zensur muss ja auch nicht öffentlich diskutiert werden.

WordPress: Plugin Abhängigkeiten

Praktisches PHP Snippet von Frank Bültge um in WordPress die Verfügbarkeit anderer Plugins zu testen.

$plugins = get_option('active_plugins');
$required_plugin = 'debug_queries/debug_queries.php';
$debug_queries_on = FALSE;
if ( in_array( $required_plugin , $plugins ) ) {
 $debug_queries_on = TRUE; // Bsp. für ja, ist aktiv
}

daily links

  • PixelPressIcons » Icons: Free iPhone Toolbar Icons
    These are the first icons I’ve developed specifically for iPhone developers, and I’m giving them away for free for anyone to use commercially under the Creative Commons Attribution 2.5 Canada license.
  • Glyphish – Great icons for great iPhone applications
    120 icons for iPhone applications Designed and carefully optimized for use on toolbars and tab bars in iPhone apps, they’re also perfect for Android apps, websites, t-shirts, tattoos and more.
  • WordPress: W3 Total Cache Plugin
    W3 Total Cache works differently. It utilizes multiple techniques to improve performance, including: object and query caching; page caching; HTML, CSS, and javascript minification; gzip compression; CDN (Content Distribution Network) support; and browser caching via ETags. Currently, the caching is based on APC and/or memcache. I’ve suggested that they add XCache, as well.
  • Backup and Migrate Files | drupal.org
    Backup and Migrate Files extends the extends the Backup and Migrate module adding the ablilty to back up files from within that module.
  • Joomla: mavik Thumbnails
    Simple plugin for automatic creation thumbnails. You need only insert original image to article and resize to necessary size. It requires PHP5. Functions: - create thumbnail and replace original image to thumbnail; - add link for pop-up window: Slimbox, Highslide (for non-commercial sites - http://highslide.com/#licence) or Joomla Modal; - add link to full text for blogs and frontpage; - show magnifying glass (image or cursor) at thumbnails.


Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.