Using Composer with Vagrant & Puppet
Using Composer in your Vagrant / Puppet setup is as simple as this:
Using Composer in your Vagrant / Puppet setup is as simple as this:
Vom 24.02.2014 bis zum 28.02.2014 findet in Montreal die ConFoo 2014 Konferenz statt. Ich bin dieses Mal wieder dabei und kann zwei neue Vorträge präsentieren: Im Vortrag "The seven deadly sins of Dependency Injection" möchte ich darstellen welche Fehler man bei der Verwendung des Dependency Injection Patterns nicht machen sollte. Der Vortrag "The Setup: Composer, Phing, Vagrant, Jenkins" beleuchtet unsere Arbeitsweise mit den genannten Tools soll aufzeigen wie man mit den Tools arbeiten kann (aber nicht muss).
A couple of months ago when we set-up our own internal Satis repository to host our custom Composer packages. We ran into an "unpleasant" issue with Composer that had this PR as an result. To sum things up: We are using HTTP Basic Auth to password-project our Satis repository. There was no way we could switch to an SSL client certificate to allow Composer to authenticate itself automatically without asking for a password. Asking for the password on a developer's machine is no big thing, but it since we need an automated Composer run in our Jenkins environment, there was no way to set things up. Unfortunately the PR is not yet merged in master so we were in need to find a different solution. Luckily my friend Joshua Thijssen pointed me to a tool named expect which could solve this issue easily. Expect is a tool that "talks to other interactive programs according to a script." which sounds pretty awesome and yes it is ;)
Seit wenigen Tagen sind wir nun mit unserer überarbeiteten bitExpert Webseite und dem überarbeitenden Blog online. Statt Contenido und Wordpress nutzen wir nun Silverstripe als Basis für beide Auftritte. Dies hat den Vorteil dass wir die Templates nur einmal bauen mussten und in beiden Auftritten verwenden konnten. Dank Composer war das Dependency Management der verwendeten Pakete ein Kinderspiel. Wiederverwendung at it's best ;)