Skip to main content

240 posts tagged with "PHP"

View All Tags

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:

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.

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.

PHPCon PL 2011

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

"Testing untestable code" geht um die Welt: Nach Frankfurt, Antwerpen, Nashville, Verona, Hamburg und Düsseldorf freue ich mich den Vortag bei der PHPCon PL 2011 halten zu dürfen. Die conference findet vom 21.10.2011 bis zum 23.10.2011 in der Nähe von Kielce in Polen statt.

PHP Standard for DI Container behaviour

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

After reading a blog post about a Dependency Injection container in PHP I just tweeted for curiosity why PHP developers have not yet agreed on a common standard for the behaviour of an DI container. Stefan Koopmanschap jumped into the discussion and proposed I should start a movement in this particular area. He suggested that Fabien Potencier (Symfony Lead Developer) as well as David Zülke (Chief Agavi fanboy) and Matthew Weier O'Phinney (Zend Framework lead developer) should team up with me. David got hooked immediately, and I am looking forward to meet the gang at phpDay.it in Verona for the first round of discussions. In case you want to contribute as well feel free to join us or blog about this movement :)