Skip to main content

Silex and the TranslationServiceProvider and some Composer magic

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

First time I am toying with Silex and the Symfony components. To demo an application for one of our customers we quickly set-up Silex and put a small application on top. Since the application was in need for a I18N solution I threw in the TranslationServiceProvider. The documentation of Silex states that "you can simply clone the whole Symfony2 into vendor" which did not make any sense to me. Why using a micro-framework when I have to have Symfony2 installed just for the translation part? I was looking for a alternative and remembered Composer. Composer is a tool written in PHP that helps you manage your project or libraries' dependencies. Luckily the Symfony2 components are using Composer, so we can easily install the required dependencies like this:

Web Fonts, die Browser und warum das alles nicht so einfach ist

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Wir setzen gerne bei Bedarf Web Fonts in Kundenprojekten ein. Bei der Verwendung von Web Fonts gibt es allerdings einiges zu beachten: Nicht nur was den best-look über möglichst viele Browser und Betriebssysteme angeht, auch Themen wie Download-Optimierung oder Renderzeiten müssen berücksichtigt werden. Um einen Überblick über die Fallstricke beim Einsatz von Web Fonts zu bekommen, bietet die Präsentation "In Your Font-Face" von Jake Archibald eine gute Zusammenfassung, die sogar noch unterhaltsam präsentiert wird.

Liquibase Extension merged into Phing Master

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

As stated last year, our Liquibase Extension for Phing got merged in the master development branch by the help of Michiel Rook. Next steps will be to provide a decent kind of documentation as well as some already planned optimizations. If everything works out fine, you should be able to use Liquibase soonish from Phing without any work-a-rounds. As always we are looking for pointers for improvement and general feedback. In a soon to follow blog post I`ll try to describe how we use Liquibase in one of your projects.

Archiveopteryx und der Smarthost

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Wir nutzen den Archiveopteryx E-Mailserver seit einigen Jahren. Aufgrund einiger Änderungen in unserer IT Infrastruktur war es Zeit einen neuen Server einzurichten und Archiveopteryx erneut zu installieren, dieses Mal in Kombination mit einer Smarthost Lösung. Archiveopteryx unterstützt den Smarthost Betrieb, dafür sind die Konfigurationsvariablen smarthost-address und smarthost-port vorgesehen. Allerdings funktionierte unser Setup nicht auf Anhieb, Archiveopteryx nahm die Mails zwar an, reichte diese aber nicht an den Smarthost weiter. In den Logfiles fand sich leider kein Hinweis. Die Lösung fand sich einige Tage eher zufällig: Bei der Konfiguration des smarthost-address darf kein Hostname angeben werden sondern dessen IP Adresse. Nun klappt es auch mit dem Versenden von E-Mails.

Scandinavian Developer Conference 2012

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Vom 16.04.2012 bis zum 19.04.2012 findet in Göteborg die Scandinavian Developer Conference 2012 statt. Ich freue mich mit dem Vortag "Managing variability in software applications" als Sprecher im Architecture Track dabei sein zu dürfen. Der Vortrag behandelt Themen wie Softwaresystem-Familien, Domain Engineering und Merkmalmodellierung. Es wird gezeigt wie man mit Hilfe eines Software-Generators (semi)automatisiert kundenspezifische Applikationen generieren lassen kann. Als Basis des Software-Generators wird ein Generator-Framework verwendet welches wir in Kürze unter einer open-source Lizenz veröffentlichen werden.

PHPBenelux 2012 conference

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Vom 27.01.2012 bis zum 28.01.2012 findet in Antwerpen die PHPBenelux conference statt. Ich freue mich mit dem Vortag "The state of DI in PHP" als Sprecher dabei sein zu dürfen. Neben vielen interessanten Vorträgen werden Workshops mit Matthew Weier O’Phinney, Ivo Jansch, Fabien Potencier und Thorsten Rinne angeboten. Der Early Bird Kartenvorverkauf läuft zurzeit noch, sodass Karten recht günstig zu erwerben sind.

PHP, Openssl and the private key

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Just as a side note, since I lately got some trouble passing the private key to the openssl_pkey_get_private() function. I was following a hint on the net but I did not succeed. The reason was a slight misunderstanding on my side: You can pass the private key to the function in two ways: Either a string containing the private key or a string containing location of the private key file on the harddisk. The latter one was the one I was struggling with. In case you want to use a file that contains the private key you need to pass the protocol identifier. If the protocol identifier is missing the function seems to think the string contains the private key, not the location of the private key. So, if you want to refer to the file /tmp/private.key the string needs to look this: file:///tmp/private.key

Liquibase goes Phing

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

I am happy to announce that bitExpert will contribute the Liquibase Phing codebase to the Phing project. The transition phase will start pretty soon. Unfortunately this means that the source code will no longer be maintained on github, instead the Phing subversion repository will be the new home for the extension.