Recently I have started learning Symfony2 (having previously been using Symfony 1.4 and Diem) and I opted to try out the Sonata Project bundles, primarily so I could use the SonataAdminBundle for my CRUD admin interface to allow an easy and quick way to enter data and the SonataAdminBundle had a very similar look and feel to what I was already using.
I had a few issues getting the bundles all working together as the Sonata Project bundles come in 8 parts (all of which can be found at http://sonata-project.org/bundles/) and there were some inter-dependencies and undocumented configuration options which took me a little while to figure out. I did find it challenging with some of the documentation to get single bundles running by themselves and more challenges (and less documentation) about how to get them all up and running together and had to resort to a lot of Google searches and trial and error methods.
Over the next few weeks I intend to write a mini series of blog posts on the Sonata Project bundles and hopefully provide an easy to follow guide for installing these and getting them working together. The main topics I intend to cover are (this is subject to change)
- Chapter 1- Installing and Configuring Symfony2
- Chapter 2 – Installing SonataAdminBundle
- Chapter 3 – Manage Your Models using SonataAdminBundle
- Chapter 4 – Installing SonataPageBundle
- Chapter 5 – Add a CKEditor block
- Chapter 6 – Installing SonataNewsBundle
- Chapter 7 – Installing SonataMediaBundle
- Chapter 8 – Add a customer resizer for the SonataMediaBundle
Hopefully some of you will find this useful and any feedback is gladly received.