WordPress Quicky: Use the [Shortcode] API

Another quicktipp for wordpress plugin developers. With the shortcode API you can easily provide additional commands for wordpress authors …

Read the rest of this entry »

WordPress Quicky: Exclude Categories

Another quicktipp for wordpress theme developers.

If you want to exclude one or more categories from a page (startpage, category-page), you can call the query_posts function with negative category-ids …

<?php query_posts($query_string . '&cat=-1,-2,-3'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <!-- POST -->
<?php endwhile; endif; ?>

WordPress Quicky: Register Sidebar Widget with 3.0

Another quicktipp for wordpress plugin developers. Registering a sidebar widget can end with a fatal error if you use the code from the wordpress documentation …

Read the rest of this entry »

Use Google Closure Compiler Local with PHP

In “Google Closure Compiler with PHP” i described how you can use the compiler online via http. Now i will show how you do it local on your server with the java command line application …

Read the rest of this entry »

PHP WebSocket Server – The Handshake

WebSockets are the new cool boys in town, but the specs are in a very early state and so it’s hard to keep up to date with the different browser implementations …

Read the rest of this entry »

Google Ranking Checker Class in PHP

Check out the new version 1.2.0 of the class! It supports locale settings and is released under a creative commons license.

New Google Ranking Checker »

The only goal for an SEO is a good or very good google ranking. To ensure this you have to monitor your rankings and compare it to the positions of your competitors. With the Google AJAX Search API and my little PHP Class you can easy build a Google Ranking Checker …

The class needs an Google API key for the AJAX Search API (get it here) … it’s just one field and a click and you can start. You can check multiple keywords for multiple domains or urls, just pass this two arrays to the check() method.

Read the rest of this entry »

HTML5 WebSockets Example

HTML5 WebSockets makes it possible to open a persistent connection to a server within a web-browser via javascript.

Read the rest of this entry »

E-Mail Links wirksam schützen

Einige einfache Methoden wie man E-Mail Links schützen kann. Aber die richtig guten Ideen sind dann in einem Kommentar-Link zu finden.
Read the rest of this entry »

Google Closure Compiler with PHP

Today Google released their new Closure Compiler, you can use it to optimize and minify your javascripts.

Read the rest of this entry »

PHP 5.3 fertig!

Die neue PHP Version ist nun endgültig fertig und freigegeben. Zu den neuen Funktionen gehören Closures, Funktionsobjekte und Lambda-Funktionen, die native MySQL Library, namespaces und late static binding. Aber für mich am wichtigsten sind die Performance-Verbesserungen, PHP 5.3 wird ca. 1,5x so schnell sein wie 5.2 und durch den neuen Garbage Collector deutlich weniger Speicher verbrauchen.