Development activity during this week has been colossal. Hundreds of source code archives have been modified and the new configuration system has been introduced as the last major change of symfony 1.1. Definitive countdown to symfony 1.1 has just begun.

Development mailing list

Development highlights

  • r7603: [1.1] fixed preg_quote usage in sfCache
  • r7611: [1.1] fixed empty parameters in sfPatternRouting
  • r7614: [1.1] added a new configuration system
    • added a new sfProjectConfiguration and sfApplicationConfiguration classes
    • all config.php file are gone and replaced with ProjectConfiguration and #APP_NAME#Configuration classes
    • sfCore has been removed
    • sfLoader static methods have been moved to sfProjectConfiguration and sfApplicationConfiguration
    • sfI18N now takes a configuration object as its first argument
    • sfGeneratorManager now takes a configuration object as its first argument
    • sfConfigCache is not a singleton anymore
    • SF_* constants are gone
    • sfDatabaseManager now takes a configuration object as its first argument
  • r7616: [1.1] added a cache argument to the sfRouting constructor
    • sfRouting classes now takes a cache object as the second constructor parameter
    • modified factories.yml to enable the cache by default (via sfFileCache)
    • removed sfContext dependency in sfRoutingConfigHandler
    • modified sfRoutingConfigHandler to connect routes the same way plugins connect routes
    • plugin routes are now cached automatically (if you use the routing.load_configuration event)
  • r7617: [1.1] added routing cache for generate() and parse() method (massive speedup!)
  • r7620: [1.0] added instructions to allow periods in routes (refs #2295)
  • r7625: [1.1] added sfPatternRouting::insertRouteBefore()
  • r7626: [1.1] moved sfConfig vars from sfFactoryConfigHandler to factories.yml
  • r7627: [1.1] disabled routing cache when in debug mode, added a debug option for sfRouting classes
  • r7631: [1.1] simplified parameters management in sfFactoryConfigHandler
  • r7632: [1.1] removed sf_use_flash and sf_use_security from settings.yml (use is configurable in factories.yml and security can be disabled in filters.yml)
  • r7637: [1.1] updated defaults in factories.yml skeleton
  • r7638: [1.1] removed the default 500 ErrorDocument in .htaccess as it does not make sense
  • r7639: [1.1] removed hack needed for old PHP 5 version
  • r7640: [1.1] fixed custom view when the class does not exist
  • r7644: [1.1] fixed sfDatabaseSessionStorage extensibility (closes #2998)
  • r7656: [1.1] fixed version/release option in plugin:install task
  • r7658: [1.1] fixed plugin:uninstall
  • r7659: [1.1] fixed sfPluginManager when passing a fully qualified plugin name as a first argument
  • r7665, r7666: [1.0, 1.1] correction in DateFormHelper (fixes #3023)
  • r7669: [1.1] fixed propel:build-all-load task
  • r7682: [1.1] moved configuration init for tasks
  • r7683: [1.1] fixed project configuration used by tasks when no application is selected
  • r7691: [1.1] simplified directory structure customization
    • removed *_dir_name constants
    • added methods to change the directory structure of a symfony application: setRootDir(), setCacheDir(), setLogDir(), setWebDir(), setAppDir()
  • r7695: [1.1] changed default cache prefixes to be different for each factory (important if you switch to a non file based cache)
  • r7696: [1.1] refactored sfApplicationConfiguration to allow hooks at the beginning and at the end of the initialization process
  • r7707: [1.1] fixed value decoding in sfPatternRouting
  • r7713: [1.1] enforced javascript and stylesheet positions
  • r7714: [1.1] converted response parameter holder object to an option array (and fixed sfDebug output for the sfResponse object)
  • r7716: [1.1] added getModuleName(), getActionName(), and getViewName() to sfView
  • r7717: [1.1] moved partial/component cache management to sfViewCacheManager
  • Updated dwhittle branch: fixed issues with session storage + redirect + flash, tweaked logging messages, fixed propel logger + build-all-load task
  • ...and many other changes

Development digest: 121 changesets, 22 defects created, 21 defects closed, 5 enhancements created, 15 enhancements closed, 7 documentation defects created, 9 documentation defects closed and 22 documentation edits.

Book and documentation

Wiki

  • New Job Postings:
    • Symfony Developer @ Artefactual Systems - full-time/part-time based in New Westminster, Vancouver (Canada) - Contact: info [at] artefactual [dot] com
    • Symfony Developer @ Logica France - full-time based in Évry, France - Contact: gregory [dot] chevret [at] logica [dot] com
  • New developers for hire:
    • Dyrect Media Group: Buffalo, New York (USA) based company. We have developed a very complex CMS system on top of Symfony for use as an extranet/intranet system with complex custom field/form and search creation for on the fly mini-application development. Contact: dmiller [at] dyrectmedia [dot] com

Plugins

  • New plugins
  • Updated plugins
    • sfSimpleCMSPlugin: allowed for extension of the sfSimpleCMSAdmin actions class (closes #2790), added the ability to use a partial in the modular slot (closes #2185), added a validation for the slug and the position, released 0.7.3 version
    • sfPropelActAsTaggableBehaviorPlugin: fixed typo in documentation,
    • sfGuardPlugin: updated plugin with versions for symfony 1.0 and 1.1, changed directory structure (trunk, branches, tags), fix routes for 1.1, updated README and updated package.xml for 1.1 version, fixed svn:ignore
    • sfLucenePlugin: [1.0] , [1.1] updated temporary sfLucene 0.2 system requirements, removing external dependency on limeade, fixed 404 error in XHTML DTD
    • sfPropelImpersonatorPlugin: added a flag in impersonated object so one can be sure that its bugs don't come from the plugin, added an exception when user tries to populate object with unmatched select columns, added a security flag to separate dummy (propel generated) and non dummy users
    • sfDoctrinePlugin: fixed issue with arguments for environment, added clob type for using LIKE with filters
    • sfPropelParanoidBehaviorPlugin: changed the maximum value for the symfony requirement (the plugin is compatible with symfony 1.1)
    • sfSimpleForumPlugin: fixed broken link to feed, released 0.6.6 version
    • ysfDimensionsPlugin: updated dimensions to support databases.yml
    • sfPropelFileStoragePlugin: slight modification in the schema
    • sfPropelActAsCommentableBehaviorPlugin: fixed error when nb_comments column is called nb_comments
    • sfFeed2Plugin: fixed bug when parsing a fully enclosed entry
    • sfLightboxPlugin: released 1.0.6 version (updated lightbox library to v2.03.3, 3 new new helpers (light_image_text, light_slide_image, light_slide_text), new parameter for images slideshows to allow to display images as a html list, slideshow navigation with the keyboard)

Some new symfony powered websites

  • Pause PHP: (french) Beleneglorion's Blog about symfony apps, plugins and others stuff.
  • Avto Moika: (russian) map of the city with car wash locations. Allows users to search, comment, leave pictures. Uses Gmap.
  • Boardroomradio.com: (english) audio and videocasts of ASX listed companies for investors and stockbrokers

They talked about us

Published in #A week of symfony