Archives


Master Symfony2 fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Discover the SensioLabs Support

Access to the SensioLabs Competency Center for an exclusive and tailor-made support on Symfony
sensiolabs.com

David Buchmann
The Symfony CMF released its first stable version
by David Buchmann – October 16, 2013 – 14 comments

The Symfony Content Management Framework has released its first stable version. This means that from now on, the 1.0 branches will only receive bugfixes and if there are any BC breaks for version 1.1, a clear upgrade path is documented. It took us a while to get the courage to call it stable, but people have been using the CMF successfully for months already. In fact parts of the CMF have been used in production for over a year. The CMF has been tried on various projects and has proven itself to work in the real world.

What do you get?

The CMF is built with maximal modularity in mind. You can simply add the CreateBundle to your project to enable inline editing. Or you can add the RoutingBundle to add flexible routing based on database entries to your application - without removing the standard configured routes, of course. Or you could just use the CoreBundle to use the publish workflow tool. Or the BlockBundle to get editable pieces of content that you can call from your templates. Or you can throw in the full suite of bundles and have a bare-bones CMS with the help of SimpleCmsBundle. For simple CMS needs, this is enough and will not collide with the rest of your Symfony2 application. Your options stay road open if you need to later add custom CMS features, or need to integrate your application with the CMS parts more tightly.

While by default we are using PHPCR, which saw its first stable release last week as well, everything is built database agnostic. So the RoutingBundle for example also supports Doctrine ORM. That being said we feel that PHPCR and PHPCR ODM provides an ideal API for dealing with the data storage challenges in a CMS with its support for unstructured data, tree structures, versioning, node types, full text search, native i18n and many more features specifically addressing the needs of CMS.

But and this needs to be understood, the CMF is a framework to build custom CMS. As such it requires the work of developers to bring it into the hands of end users. It provides some UI components out of the box but needs additional work to provide the kind of experience end users expect from a CMS. So while the CMF tries to be as un-opinionated as possible, developers using the CMF can and should try to build CMS solution that are focused on the needs of their specific users. As such we are excited that both Drupal 8 and ezPublish 5 have chosen to adopt our Routing component to enable dynamic routing. Furthermore there are already two projects building upon the entire CMF stack with PrestaCMS and Sulu. Furthermore Sylius, a Symfony2 ecommerce solution, is also looking to integrate with the CMF.

Where do we go next?

For those interested in how the project came about, I recommend reading our RC1 announcement. So instead lets discuss what is coming next. For one we are wrapping several open PRs to further improve the documentation. In terms of features people are starting to discuss and work on features for version 1.1. For example we will soon have support for Doctrine ORM in the CreateBundle. What will happen or not depends largely on the community and what people are willing to contribute. We especially expect that the various CMS projects build on the CMF will start driving feature requests. The main contributors will certainly stay around and contribute their own pieces, and help guiding contributors so that the system stays consistent. It has been a very exciting experience to build this part of the larger Symfony eco-system and hopefully the beginning of several projects building on the fruits of our work. One side benefit that the entire Symfony2 community is already enjoying is that our extensive functional testing in each Bundle has already caught several regressions in the development branches of Symfony2 itself. Showing once more, with todays tools like Github and Travis-CI, growing our eco-system will benefit everyone.

Comments RSS

  • Alexander Deruwe
    #1 Alexander Deruwe said on the 2013/10/16 at 15:37
    Awesome stuff, thanks!
  • Nicolas Bastien
    #2 Nicolas Bastien said on the 2013/10/16 at 15:46
    Great news, thanks again for speaking about PrestaCMS bundles.

    Hope more people will try our sandbox.
  • David Buchmann
    #3 David Buchmann said on the 2013/10/16 at 15:50
    By the way, if you want to hear about the CMF in a presentation, the next oportunities are:

    * Tonight 16th of October, at the office of Tuenti Madrid: http://www.meetup.com/PHPMad/events/144314562/
    * ForumPHP in Paris, 21st of November: http://www.afup.org/pages/forumphp2013/sessions.php#867 (presentation in french)
    * SymfonyCon in Warszaw, 12th of December: http://warsaw2013.symfony.com/speakers#session-950
  • Peter Kokot
    #4 Peter Kokot said on the 2013/10/16 at 17:19
    That's very good work. Thanks for the release.
  • Olivier Scherler
    #5 Olivier Scherler said on the 2013/10/16 at 17:33
    Does “stable” mean “(reasonably) bug-free” or “we’re going to stop making changes that break BC” (“stable as in “It took us a while to get the courage to call it stable”)?
  • Jonathan Claros Santander
    #6 Jonathan Claros Santander said on the 2013/10/16 at 17:45
    great work !!! long time I've not worked with Sf Cmf
  • Pierre Minnieur
    #7 Pierre Minnieur said on the 2013/10/16 at 18:37
    Kudos!
  • Lukas Kahwe Smith
    #8 Lukas Kahwe Smith said on the 2013/10/16 at 23:48
    @Olivier: The code has been quite stable for a while now. The main thing we were working on at the end was align all the Bundles, especially in terms of configuration, updating documentation (though this is not yet totally complete) and wrapping up the MediaBundle.

    In general we have no major known bugs. There are a few minor issues we are aware of but that we do not consider necessary for normal operations, ie. which we have defined more as being feature requests :)
  • Roberto German Puentes Diaz
    #9 Roberto German Puentes Diaz said on the 2013/10/17 at 14:40
    Greats News!!! is there recent videos about CMF ?
  • Lukas Kahwe Smith
    #10 Lukas Kahwe Smith said on the 2013/10/17 at 14:54
    There is a recording of the recent presentation David gave in Madrid: http://www.youtube.com/watch?v=lWf1iXjWges
  • Oriol Mangas Abellan
    #11 Oriol Mangas Abellan said on the 2013/10/18 at 18:02
    Great! good news!
  • Yaismel Miranda Pons
    #12 Yaismel Miranda Pons said on the 2013/10/21 at 05:33
    Great news!!!
  • Francisco M. González
    #13 Francisco M. González said on the 2013/10/27 at 17:42
    It looks good!
  • Vincent Citro
    #14 Vincent Citro said on the 2013/10/28 at 17:27
    good work !