Zend Framework

Add "mappers" to the module autoloader

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.6
  • Fix Version/s: 1.10.0
  • Component/s: Zend_Loader
  • Labels:
    None

Description

Beside services and models, you may want to store your own mappers in your modules as well. Thus the module resource autoloader should also have a "mappers" => "Mapper" directive in its standard definition.

As we currently have Model_DbTable mapped to models/DbTable we would probably either want to map Model_Mapper to models/Mapper, as Ralph would agree, but I still think that mappers belong to their own directory in the modules' root.

This topic needs further discussion.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Assigning to Ben; feel free to add.

Show
Matthew Weier O'Phinney added a comment - Assigning to Ben; feel free to add.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: