Framework 0.4.0

WARNING: Framework 0.4.0 switched from using PEAR_Error to using Framework_Exception for all error handling. Not only that, but it set the default error handling for all PEAR_Error's to be to throw an exception. This is most likely not backwards compatible with current installations of Framework. Also, you'll need to make a slight change to your sites' config.xml files since Framework 0.4.0 changes the way it builds connections to the database. Remove your <dsn> and replace it with the following.

    <!-- type can be DB or MDB2 -->
    <!-- dsn is whatever DB or MDB2 (or whatever you use; you can build your own) expects -->
    <db>
        <type>DB</type>
        <dsn>mysql://root@localhost/framework</dsn>
    </db>
ReleasedStateDownloadSVN
2007-12-29Alphahttp://pear.joestump.net/package/Framework/0.4.0tags/0.4.0

Changelog

  • WARNING: Switched all PEAR::raiseError(), PEAR_Error, etc. to Framework_Exception.
  • WARNING: Default PEAR_Error handler now throws an appropriate Framework_Exception.
  • WARNING: Added ability to use any DB abstraction layer you wish with initial support for DB and MDB2.
  • Added some initial tests for Framework code.
  • Set the default for Framework_Module::$tplFile to $module_$class_$event.tpl and similar.
  • Removed the try/catch block from Framework_Controller_Web::authenticate(). An exception at this level is an indication of a failure in the underlying code, not a failure to log in. (ieure, #43)
  • Add Framework_Session::__isset() (ieure, #44)
  • Fixed the check in Framework_User::singleton(), without which "Remember Me" functionality cannot work. (ieure, #45)
  • Fixed the bug in Framework_Presenter_Smarty that was keeping the site template from being appropriately set (bshensky)
  • Clean up logging, add support for Firebug logging. (ieure, #49)
  • Clean up whitespace (ieure, #50)
  • Allow different encodings in RSS presenter (ieure, #51)
  • Split up Framework_Module::factory() (ieure, #52)
  • Add the JSON controller to package.xml
  • Make private members of Framework_Template_Smarty protected. (ieure, #54)

See Also