Solving the strange OSX Lion DNS timeout when developing locally

Since OSX Lion came out last summer, I suffered from a strange timeout everytime I requested a page on my local development-projects. Justin Carmony suffered in the same way and blogged about it offering several solutions. The solutions Justin came up with involve the installation of extra software. But I refuse to install extra software just to avoid a bug coming from my OS. Yesterday, my colleague Stephan came up with a complete simply solution.

Continue reading ‘Solving the strange OSX Lion DNS timeout when developing locally’

Symfony 2: Apache vHost-configuration for OSX

Installing Symfony2 is quite easy: Just download your favorite package, unpack it, create a new virtual host and you’re ready to go. And if you want to get rid of app.php or app_dev.php in your URLs the package comes with an .htaccess-file in the web/-directory. But the manual doesn’t give you a clou how the virtual host-configuration should be.

Continue reading ‘Symfony 2: Apache vHost-configuration for OSX’

Symfony 2: Using asset inheritance in Twig

Yesterday I came up with the following problem: I wanted to add a javascripts-block in my layout. This block should be extended in a child template. Using Assetic this should be easy and plain simple. Well, in theory…

Continue reading ‘Symfony 2: Using asset inheritance in Twig’

Symfony 2: Searching multiple types at once with Elasticsearch

After a long hiatius I thought it would be a good time to write a new blog post. I’m currently in the process of rewriting the FMDB from scratch using the Symfony 2 framework which is awesome.
Inspired by the recents posts from Richard Miller regarding Symfony 2 & Elasticsearch, this post deals with the question how you can search multiple types at once using elasticsearch.

Continue reading ‘Symfony 2: Searching multiple types at once with Elasticsearch’

Suche im iTunes Store mit Zend_Service_Itunes

Seit einiger Zeit bietet Apple einen Webservice für den iTunes Store an der mit JSON arbeitet. Für die einfache Nutzung dieses Webservices habe ich eine Komponente für das Zend Framework geschrieben (Quellcode bei GitHub, Proposal im Zend Framework Wiki).

Continue reading ‘Suche im iTunes Store mit Zend_Service_Itunes’

Mac OSX 10.6, Zend Server and Sphinx Extension for PHP

Lately I tried to install the sphinx extension for PHP on my development computer with Mac OSX 10.6 and Zend Server 4. Trying this the same way like the imagick-extension, this should be easy and done in a few minutes.

Continue reading ‘Mac OSX 10.6, Zend Server and Sphinx Extension for PHP’

Autocompletion for PHP-extension sphinx

One of the biggest advantages of an IDE, like Zend Studio, is autocompletion. However, if you use some of the not so widely used extensions like Sphinx, autocompletion is not supported until you create your own class-file containing the class-skeleton with all constants and methods provided by the extension.

Continue reading ‘Autocompletion for PHP-extension sphinx’

Scorepedia als gemeinsame Basis zum lernen und lehren – Oder etwa doch nicht?

Das Erfolgsmodell Wikipedia wächst und gedeiht. Das Prinzip, dass jeder kollaborativ an einer Enzyklopädie mitarbeiten kann, erfreut sich immer noch großer Beliebtheit. Vor einiger Zeit haben auch wir versucht dieses Prinzip in einem kleineren Rahmen auf die Welt der Filmmusik abzubilden. Die Idee zum Filmmusik Wiki, später Scorepedia, war geboren und erfreute sich auch großer Beliebtheit – zumindest was den konsumierenden Teil betriftt.

Continue reading ‘Scorepedia als gemeinsame Basis zum lernen und lehren – Oder etwa doch nicht?’

Das Zend Framework-Poster

Das Zend Framework fasziniert mich irgendwie schon lange, nur hatte ich nie richtig Zeit mich damit zu befassen. Dann kam Ralf Eggerts Buch und ich verstand. Zumindest einiges. ;)

Continue reading ‘Das Zend Framework-Poster’

Synchronisierung mit rsync und Zend Studio

In der Zend Technologies Knowledge Base gibt es jetzt einen interessanten Eintrag zum Thema “How to Keep Your Zend Studio Project Synchronized with a Linux Server”. Damit ist es möglich während der Entwicklung die Daten gleich auf dem Testsystem einzuspielen ohne aufwendige Arbeiten mit SFTP oder FTP.

Continue reading ‘Synchronisierung mit rsync und Zend Studio’