Javascript MindFuck: Google Maps GeoCoder Callback with Parameters

If you have ever tried to geocode with google maps you have perhaps noticed that you can’t easy pass more data to the callback function. And geocoding on an array of addresses won’t work too, because you get always the result for the last entry of your array.

Read the rest of this entry »

Firefox 4 – Neue HTTP Header

Mit der neuen Version des Firefox wurden einige neue HTTP Header eingeführt die Entwicklern die Arbeit etwas erleichtern sollen und den Benutzer besser schützen.

Read the rest of this entry »

Embed YouTube Videos With iFrame in WordPress (Editor removes Tag Problem)

This damn WordPress visual editor removes always your YouTube video iFrame? Just install the TSL iframe unfilter plugin and the editor will leave your code untouched …

Translate your Site with Google Translate and jQuery

With the new Google Translate API and the jQuery Plugin from Balazs Endresz you can add more language versions within seconds.

Read the rest of this entry »

OAuth mit PHP am Beispiel der Twitter API

Auf den ersten Blick ist OAuth eine scheißkomplizierte Sache, aber mit dieser kurzen Anleitung und dem Zend Framework wird es plötzlich ganz einfach …

Read the rest of this entry »

PHP in der Cloud: cloudControl aus Deutschland bietet PaaS für PHP

Wer eine Webseite betreibt oder gar eine Webapplikation muss sich unweigerlich um Hosting und Server Administration kümmern. Dabei gibt es mittlerweile unendlich viele Möglichkeiten … aber jetzt kommt noch eine dazu: Platform as a Service (PaaS)

Keine Hardware Investitionen, nie wieder Server administrieren oder Sicherheitspatches einspielen müssen, das System skaliert automatisch und das Deploy wird einfacher: Das klingt doch alles wunderbar und das alles bietet SaaS!

Platform as a Service (PaaS) gibt es seit einigen Jahren für Java (Google AppEngine) oder für .NET (Microsoft Azure) aber für PHP sieht es derzeit noch etwas mau aus. Diese Lücke möchte jetzt cloudControl aus Potsdam schließen …

Read the rest of this entry »

PHP Commandline Script in Farbe

Bei PHP Gangster hab ich soeben eine kleine Klasse entdeckt mit der CLI Scripte farbige Ausgaben machen können …

Usage:

 
$color = new Color();
$color->set('red');
 
echo "red textn";
 
$color->reset(); 
$color->echoString("red text on bluen", 'red_u', 'blue');

PHP5 WebSocket Example – A Simple Chat

The classic example for websockets is a chat. This chat example has only 200 lines of code (excl. the Websocket class), is really easy to understand and customizable.

Read the rest of this entry »

Der Erklärbär: Aspect-Oriented Programming mit PHP – Teil 1 – Signal Slot

Wiedermal was Neues!? Wiedermal wird die (Web-)Programmierer-Welt auf den Kopf gestellt!? Objektorientiert ist gelber Schnee von Vorgestern, Design-Patterns verwendet heute schon deine Oma fürs Putzen … und jetzt kommt: TaTaaaa! AOP – Aspect Oriented Programming.

Der Erklärbär erklärt’s! (er versucht es zumindest)

Read the rest of this entry »

New Google Ranking Checker with Locale-Support

A new release of the Google Ranking Checker Class is available now. The new version 1.2.0 is released under a Creative Commons license (by-sa 3.0) and supports locale settings for language and country.

Read the rest of this entry »