A week of symfony #166 (1->7 March 2010)

Symfony 2 development got a boost this week with lots of chagesets, mostly related with the upcoming Doctrine 2 bundle.

Development mailing list

Development highlights

Symfony 1.X branch:

  • r28347: [1.2, 1.3, 1.4] removed cookies from Response objects serialization as it does not make any sense and can cause weird behaviors
  • r28348: [1.3, 1.4] added a check for the php_posix extension as some distrib disable it
  • r28365: [1.3, 1.4] added a way to change the default max forward in the controller for edge cases
  • r28366: [1.3, 1.4] fixed sfGeneratorConfigHandler.class.php doesn't work with Windows path

Symfony 2.X branch:

  • 3671..e0a4: [DependencyInjection] made a small performance enhancement (no need to lowercase three times the same)
  • 0c3a..c731: [DoctrineBundle] cloned cache driver service for each usage so we can set a prefix to avoid caching conflicts
  • 165b..fb76: [Console] added hasOption and hasArgument to Input
  • b3d8..660f: [Symfony] added isBooted() method so that I can pass an existing kernel to a Console application
  • 1a45..f5a3: [DoctrineBundle] enhanced the Doctrine 2 integration further to better handle multiple connections/entity managers
  • 85ed..8970: [DoctrineBundle] made mapping information more flexible to allow different metadata mapping files for each bundle
  • 1be4..87e7: [DoctrineBundle] added doctrine:import-mapping command to allow you to easily import the mapping information from an existing database connection to a bundle
  • 2db0..f579: [DoctrineBundle] Fixes for building when you have multiple bundles which mixes mapping information types
  • 6ead..a392: [DoctrineBundle, WebBundle] enhanced API for retrieving database connections and entity managers from controllers to allow for specifying the name of the connection or entity manager
  • 42ad..41d1: [DoctrineBundle] improvements for building entities and getting started
  • 47ae..d3eb: [DoctrineBundle] integrated the new Doctrine 2.0 entity alias feature for the query language
  • 3fbe..bc81: [DoctrineBundle] removed the need to pass the container to the extension (which is dangerous)
  • 2e42..5aba: [ProfiledBundle] moved debug tools from WebBundle to ProfilerBundle
  • 17d4..80bb: [DependencyInjection] stored references to shared services as soon as possible to avoid circular references on legal code
  • e811..9ec2: [OutputEscaper] renamed Safe to SafeDecorator
  • 4505..14f4: [ProfilerBundle] fixed storage read() method and unpack/pack data to avoid weird character in the data stream
  • 8ed1..2311: [DoctrineBundle] fixed alias support to be in sync with the latest version of Doctrine


  • r28353: [1.3, 1.4] fixed escaping of Doctrine query parameters in WDT


  • r28393: [1.2, 1.3] removed unneeded code (which breaks the separation of concerns)

...and many other changes

Development digest: 90 changesets, 18 bugs reported, 16 bugs fixed, 2 enhancements suggested, 3 enhancements closed, 8 documentation defects reported, 25 documentation defects fixed, and 16 documentation edits.


New developers for hire

  • Cristiano G. Betta (cristiano [at] cgbdigital [dot] com): Developer, UX designer and devoted geek from London, UK. Experience with Facebook and other social media development in Symfony and Kohana. Likes to tinker with data visualisations and craves a good user experience.


  • New plugins
  • Updated plugins
    • sfEasyAuthPlugin: created a compact log in form for sidebars, added a method to the Security User to retrieve the url users should be redirected to after logging in, profiles are now correctly retrieved by doctrine
    • swBaseApplicationPlugin: added colorbox and jquery 1.4.2, removed jNice.css reference
    • csDoctrineCommentsPlugin: created the initial directory structure
    • sfDoctrineDynamicFormRelationsPlugin: initial import, updated README
    • fcDbBackupPlugin: first commit, cleaned up syntax
    • sfTrafficCMSPlugin: unbroken the updating of embedded models, fixed the bug with deleting embedded models and not getting an error message about it
    • sfDoctrineJCroppablePlugin: fixed fatal bug when uploading new image
    • sfExtjsThemePlugin: added edit_combo for non foreign edit fields, fixed the jsonCombo action to not show is null marker for edit combos, fixed a notice in jsonCombo with edit combos
    • sfDoctrineSimpleForumPlugin: cleaned schema.yml (removed some useless 'performance enhancers'), updated and cleaned fixtures.yml, updated CSS and added some images, created admin features such as lock topic, sticky topic, delete, etc. (integrated into sfGuard permissions group of sf_doctrine_simple_forum_moderator_group), updated feed, updated routing.yml, tidied templates
    • dcPropelReportsPlugin: updated event handling
    • sfDoctrine2Plugin: updated form class to use D2 style reflection instead of ActiveEntity, moved isNew check out of constructor for better performance
    • sfEasyGMapPlugin: added reverse geocoding an fix some bugs
    • sfAmfPlugin: updated typo in amfBrowser link, updated secure flag for symfony 1.3-1-4 versions
    • mgI18nPlugin: removed Doctrine dependency, merged lib, ajax and application tabs to one tab named 'Files', added a new database tab, the user can now lookup the database for messages, the import task now update target if the target is already in the database, fixed utf8 errors
    • swCrossLinkApplicationPlugin: created the 1.2 and 1.3 branches, compile method is now public
    • sfSympalPlugin: allowing for a lot rendering method to also be on the content type, setting proper project config instance when context is loaded, cleaned up some config options related to slot types, moved icons into CSS, rearranged the order of where we look for the getXXXSlotValue method when rendering a slot, changed the unpublished slot value to something more helpful
    • sfSympalAdminPlugin: changed admin menu labels
    • sfSympalEditorPlugin: re-established an "edit" mode with save and cancel buttons that save all content slots
    • apostropheBlogPlugin: put titles on category admin generator pages, you can now properly attach media to events again, changes to index view of blog engine, created rss feeds for all blog filters, csrf and 1.4 compatibility fix for admin theme, changes to post and upcoming events partials
    • apostrophePlugin: initial commit of minify module, made some private methods protected for easier overrides, renamed to lib/base to lib/action for consistency with the symfony standard, fixed apostophe logo in admin bar to link to the proper controller, added autocomplete plugin to assets because the Rich Time Picker uses autocomplete, added a new PDF slot (the default setting shows a basic PDF icon on the left, with the title, description and a download link on the right), significant progress on I18N, search markup was invalid with a strict doctype, wrapped aSlideshowSlot JS in CDATA tag to help with Strict DocType validation
    • apostropheFormBuilderPlugin: slot type for rendering charts from form data

New symfony powered websites

  • New gallery: (English, and Russian) website of art exhibition called "New gallery" located in Kiev

They talked about us

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.

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