During my vacation in Italy I have written as small MarkDown to PDF converter that we use for our letters and invoices here at Nelmio. For this purpose I have used FOP, Apache’s open source implementation of XSL-FO. I consider XSL-FO to be the easiest method to programmatically generate PDFs while remaining in total control of the produced result. Plus: it always gives me the opportunity to play with one of my fetish languages: XSLT.
While fiddling around my stylesheets I came across an XSLT element which I had never used before, the
. It proved itself quite useful and I wish I would have known about it in my previous work with XSLT.
Monolog is a simple logging library for PHP 5.3+, inspired by Python’s Logbook. It is namespaced, tested, PSR-0 compliant and all of these good things. It is fairly simple to use in any project and logs to files, syslog, FirePHP, sends emails or any combination of the above. Of course it’s extensible, and more handlers are planned for 1.1.
One of the notable features is the
FingersCrossedHandler. It logs everything, including debug information, but buffers it all until a certain log level (typically ERROR or CRITICAL) is reached. If you use that in production, you get a maximum of information in your logs, but only when it is actually needed.
Since I had some free time this week I got around polishing things for this first stable release. Additionally I wrote all the tests I consider necessary for this library. You can find Monolog on GitHub. Either clone it and checkout the 1.0.0 tag or use the big download button.
Monolog is also included in Symfony2 as the default logging library. On that note, Fabien merged Christophe‘s pull requests that clean-up the MonologBundle configuration. These changes will be available in the next (and hopefully last) Symfony2 RC.
I wasn’t alone working on this, so I would like to thank all the contributors to the project, past and future.
July 7, 2011
Tags: monolog, php
This year’s /ch/open Workshop-Days will take place at ETH in Zürich, Switzerland from September 13th to 15th 2011. There will be workshops on various OOS topics, ranging from MongoDB over Physical-Computing with Arduino all the way to Android Game Development. All in all a pretty neat program.
We will take part in the Workshop-Days by hosting two workshops on Symfony2 and Sencha Touch.
When Jordi and I started fantasizing about starting our own business, we immediately agreed that we would use as many services as needed to make our lives easier. We took the idea as far as having an office as a service. Continue reading
June 30, 2011
Tags: nelmio, office
Here comes the obligatory Hello World post :)
We now have a blog, and our site has been completed with a few more pages explaining who we are and what we can do for you. Go check it out!
In other news, last week Nelmio AG has been officially published in the Handelsregister / Commercial Register.
June 29, 2011