A week of symfony #224 (11->17 April 2011)

This week, the new Symfony2 forms were declared in beta state and functional tests added support for cookies and sessions. Meanwhile, Symfony2-based micro-framework Silex gained form and swiftmailer support and could even include a small admin generator. Lastly, symfony community started a campaign to ask NetBeans IDE to add support for Symfony2.

Development mailing list

Symfony2 development highlights


  • 7cc51d8: [FrameworkBundle] fixed resource inheritance in the template cache warmer
  • 27a327e, c45d5c8: [FrameworkBundle] added unit tests for the TemplateLocator class
  • e80a693: [FrameworkBundle] enforced templates instances of TemplateReferenceInterface
  • e254ff8: display template logical names in exception messages
  • 3e41bef: [FrameworkBundle] tweaked how the routing parameters are output
  • 7d61c00: [FrameworkBundle] allowed init:bundle to be called with / as namespace separator
  • d27dc86: [FrameworkBundle, Validation] fixed a bug where YAML Validation files are not detected
  • 8e6233e: [Serializer] used DOMElement instead of SimpleXmlElement in XmlEncoder to permit some behavior (reverted)
  • a4b04c4: use synthetic services instead of special exceptions
  • d300b94, d39ea6a: [Bridge, Twig] added transchoice filter
  • 55a8f8d: extracted common layout for internal/core pages
  • 61dba2d: [FrameworkBundle] added ContainerAwareInterface to services.xml
  • d873f21: [FrameworkBundle] removed links in exceptions when the file does not exist
  • 2397bcb: [DependencyInjection] improved logging
  • bfb0f09: [AsseticBundle] updated bundle node to match others, cleaned up validation
  • 227c874: updated PDO session storage to check if any rows are updated when doing a session write
  • 6722910: removed a lot of special normalization logic in the configuration by using xml values instead of attributes
  • 8193913: [WebProfilerBundle] fixed errors if the session is not configured
  • 84dde40: [HttpFoundation] changed default value of Cookie httponly argument to match PHP defaults
  • 66c4bc7: [HttpFoundation] renamed Cookie::getExpire() to getExpiresTime() to be consistent with the DomCrawler component
  • e2c9fdf: [HttpFoundation] fixed expiration time for Cookie (PHP wants a Unix timestamp)
  • 79cfea2: [WebProfilerBundle] displayed search form even if the session is not configured
  • 6957dae: [HttpKernel] added support for cookies in Client
  • 3322cdb: [FrameworkBundle] fixed an issue when adding a scoped service as an event listener
  • ea84bb0: fixed session management in functional tests
  • 9cc340a: fixed inconsistencies in file locator classes
  • 6ea9fb1: [DependencyInjection] refactored code and added some more logging messages
  • ad112da: added the request content to the request data collector
  • 7e58c3f: [Routing] allowed default route variables to be null
  • c6818d8: [HttpKernel] added support for controllers as arrays and object with an __invoke method
  • 30bac46: [DependencyInjection] made base class of generated container configurable
  • 874c4b6: added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding

New plugins

  • sfDoctrineGuardCulture: adds the ability to change language (culture) by your users. Plugin also is adding ability to setup list of available languages and display it for frontend user - using simple component.
  • sfMinaclPropel: provides the Minacl form library for Symfony, which has tasks to generate forms and module skeletons for Propel.
  • apostropheHTML5: a lightweight plugin that replaces layout.php, offers additional CSS, and Javascript to make it easy to start an Apostrophe project using HTML5.
  • sfThemeGenerator: provides an easy way to generate useful cached code. The module generator that comes bundled with symfony is very difficult to extend.
  • sfHadoriTheme: an admin generator with a beautiful-built in theme. Hadori provides basic functionality for an administrative interface, while keeping the generated code readable and beautiful.
  • okiForm: (no description)

Updated plugins

  • sfReCaptcha:
    • removed external js call (and added a note) to get ajax working in most recent browsers
  • sfPropelSqlDiff:
    • added set foreign_key_checks=0;
  • dcReloadedFormExtra:
    • added CuitVerifier
  • sfThrift:
    • try to close already opened connector before open it
  • sfPHPUnit:
    • added experimental assertException method
  • apostrophe:
    • re-added a-delete class to reorg page delete button
    • added a getCategoriesQuery method to PluginaMediaItemForm that makes it possible to override or extend that query to narrow things down
    • the home page can now be an engine page
    • the language selector had inline javascript and so did the accordion navigation partial. Mmoved the accordion javascript to a.js for now and wrapped them both with suitable a_js_calls
    • all FCK-specific functionality is now in the aEditorFck class
  • sfDoctrineActAsCommentable:
    • if comments or replies are submitted via ajax w/out any text a 404 error is returned

New symfony powered websites

  • ComoGastan.com: (Spanish) watch how your taxes are spent (developed with Symfony2)

New symfony bloggers

They talked about us



There are millions of threads on the internet asking the stable release date of symfony2. I think it'll be good to make a blog post about at least your plans, forecasts etc. Another popular question is the availability date of a practical documentation (like jobeet, askeet). Thanks for your effords
@Nurettin, Fabien published two weeks ago a post explaining the state of Symfony2 and its inmediate roadmap:


In that same post, Lukas wrote the following:

"A final release in April seems unlikely [...] I would be very surprised if we slip later than May."

In any case, please remember the ninety-ninety rule:

"The first 90 percent of the code accounts for the first 90 percent of the development time…The remaining 10 percent of the code accounts for the other 90 percent of the development time." (Tom Cargill)
Joined effort to ask NetBeans IDE to add support for Symfony2.

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.