CATEGORY development

Introducing the NelmioSecurityBundle

At Nelmio we love Symfony2. As contributors to the core development, we care a lot about not only the project itself, but the entire ecosystem.

And that’s why we’re thrilled to announce the immediate availability of the NelmioSecurityBundle!

This Symfony2 bundle provides security-enhancing features for your application. It is not a replacement for the core SecurityBundle, it provides generic purpose security features, not related to user management. Continue reading

August 4, 2011 by Igor Wiedler in Development // Tags: , , 3 Comments

Symfony2 Released

Last week, Symfony2’s first stable release, 2.0.0, has been released. We are big fans of this modern PHP framework, and have been working with it and contributing to it since it was introduced at the Symfony Live 2010 conference a year ago. It’s great to finally see it come to life officially, and I can’t wait to see the feedback of the broader user base.

Now that it is finally stable, I would like to take the chance to announce that Nelmio offers in-house Symfony2 training for businesses. This way you can get a team up to speed quickly. We can also help you with quality assurance and code reviews, which is a great way to learn about the framework while looking at a real use case and helping your project move forward.

If you are an individual looking for training, please contact us. We will schedule a class as soon as there are enough people showing interest. Even better so, if you are around Zürich in September, you can take part in the one day workshop I am giving at the /ch/open which is quite affordable.

August 2, 2011 by Jordi Boggiano in Development // Tags: , Comments Off on Symfony2 Released

The CSS Class of XSLT: <xsl:attribute-set/>

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

1
<xsl:attribute -set></xsl:attribute>

. It proved itself quite useful and I wish I would have known about it in my previous work with XSLT.

Continue reading

July 11, 2011 by Pierre Spring in Development // Tags: , , , 7 Comments

Monolog 1.0 Released

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 by Jordi Boggiano in Development // Tags: , Comments Off on Monolog 1.0 Released