Community

Add your own blog

Login with SensioLabsConnect to submit a RSS feed

New release of KunstmaanMediaBundle

We released a new stable version of the KunstmaanMediaBundle with extra functionality and performance improvements.

Master Symfony2 - part 2: Test Driven Development

This is the second article of the series on learning the Symfony2 framework. Have a look at the first one: Bootstraping. In the first article we bootstraped our project with the following files: . ├── app │ ├── AppKernel.php │ ├── cache │ │ └── .gitkeep │ ├── config │ │ ├── config_prod.yml │ │ ├── [...]

CakePHP with Symfony’s2 router

A couple of months ago I have started my adventure with CakePhp and as every Symfony’s developer I thought that any other framework except Symfony is a piece of crap. Day by day and step by step I began to realize that’s not so bad as it seemed to be in the beginning. Well, the […]

The fastest way to EventListener in Symfony2

Event Driven Design is really popular topic for about two years and I don’t suprised this trend. You can really fast decouple parts of code without any influence on any other – you can send emails, saving logs or data to database without additional mess in your core class. The main idea As you can […]

Signing Project Releases

About a year ago, I started to sign all my Open-Source project releases. I briefly mentioned it during my SymfonyCon keynote in Warsaw, but this post is going to give you some more details. Whenever I release a new version of a project, I sign the Git tag with my PGP key: DD4E C589 15FF 888A 8A3D D898 EB8A A69A 566C 0795. Checking Git Tag Signatures If you want to verify a specific release, you need to install PGP first, and then get my PGP key: $ gpg --keyserver pgp.mit.edu --recv-keys [...]

Master Symfony2 - part 1: Bootstraping

You know the basics of the Symfony2 framework (Composer, empty application, bundle, controller and functional test with PHPUnit) and you want to learn more about how to extend it (and understanding what you're doing)? Then this series of articles is for you :) . If you don't feel confident about the prerequisites, have a look at the Learn Symfony2 series. Don't worry, we'll start with a bit of practicing before starting to learn anything new. In the first article of this series, we'll discover [...]

Doctrine filters and annotations to improve security and ease development in a Symfony app

Most web applications implement restrictions on what a connected user should see. I’m pretty sure that it happened for all of us to forget to add conditions related to the user in some SQL queries during the development (I hope!) of a new feature. A user should only see his orders, his messages and so […] The post Doctrine filters and annotations to improve security and ease development in a Symfony app appeared first on Michaël Perrin.

Learn Symfony2 - Conclusion

This is the conclusion of the series on learning the Symfony2 framework. Have a look at the five first ones: Composer Empty application Bundles Controllers Tests In the previous articles we created a tested application for the Knight of Ni with the following files: . ├── app │ ├── AppKernel.php │ ├── cache │ │ └── .gitkeep │ ├── config │ │ [...]

Documentation is code

Finally I found a new argument, after months and months, and it’s the documentation. In my priority list there’s always an initial point: the documentation, if it’s missing then the library isn’t so good as it seems. Why? Simply because we aren’t in the mind of the developer that works on that library. I know […]

Learn Symfony2 - part 5: Tests

This is the fifth article of the series on learning the Symfony2 framework. Have a look at the four first ones: Composer. Empty application. Bundles. Controllers. In the previous articles we created an application for the Knight of Ni with the following files: . ├── app │ ├── AppKernel.php │ ├── cache │ │ └── .gitkeep │ ├── config │ │ [...]

[Video] REST dans le monde Symfony

Last month, I gave a talk on REST and Symfony at PHP Tour Lyon 2014, organized by the french foundation of French speaking PHP users (AFUP). Congratulations to the team, this event was a blast! You will find the video of my talk (in French, sorry) below: And, here are my slides: I used the symfony-rest-edition and Propilex projects for the demos. If you attended my talk and did not rate it yet, please leave a comment on joind.in. If you have any questions or remarks, comments are welcome ;-)

Learn Symfony2 - part 4: Controllers

This is the fourth article of the series on learning the Symfony2 framework. Have a look at the three first ones: Composer. Empty application. Bundles. In the previous articles we created a one-bundled empty application with the following files: . ├── app │ ├── AppKernel.php │ ├── cache │ │ └── .gitkeep │ ├── config │ │ └── [...]

SymfonyBricks upgraded to Symfony 2.5

The whole platform has been recently upgraded to Symfony v2.5. It was previously based on Sf 2.3, so the process involved two major releases. What I’d like to point out is that it was absolutely painless, and the time spent was less than 2 hours, comprehensive of the deployment. This has been possible for the amazing work […]

Continuous integration with Symfony2

There are many great articles that tells you why you should use continuous integration i.e. the one by Martin Fowler and the book This is Lean by Niklas Modig and Pär Ahlström. This article describes our workflow and what tools we use to achieve continuous integration and extreme programming. We are doing most of our developing in Symfony2 and we are using tools like Jenkins, Sonar, Ant and a bunch of homemade services and scripts.  We use Jenkins as a continuous integration server. [...]

RESTing with Symfony: SOS

Two years ago, I wrote REST APIs with Symfony2: The Right Way, one of my most popular blog posts, but also one of the most well-known blog post about Symfony and REST. At first glance, I could enjoy this situation, but it actually makes me sad, and that is what I am going to explain here. Lukas and I give talks to spread the word about RESTing with Symfony for the last year now. Sure thing is that we have a nice set of components (libraries and bundles) that work well together, and provide a [...]

Learn Symfony2 - part 3: Bundles

This is the third article of the series on learning the Symfony2 framework. Have a look at the two first ones: Composer. Empty application. In the previous articles we began to create an empty application with the following files: . ├── app │ ├── AppKernel.php │ ├── cache │ │ └── .gitkeep │ ├── config │ │ └── config.yml │ [...]

Sylius v0.10.0 released

Preview not available

Choose owning side in OneToOne relation

Many times I’ve come got to a situation where I h […] The post Choose owning side in OneToOne relation appeared first on Happyr Developer.

Accesing your dev environment from different devices

It can be painful to quickly show other people in your office what you are working on or check your page on a mobile device. With the help of xip.io this task is much easier. If you don't already know it you definitely should.

Learn Symfony2 - part 2: Empty application

This is the second article of the series on learning the Symfony2 framework. Have a look at the first one: Composer. In the first article we began to create an empty project with the following files: . ├── composer.json ├── composer.lock └── .gitignore Running composer install should create a vendor directory, which we ignored in git. We'll now see how to create an empty Symfony2 application. The front controller# First things first, we will [...]