Skip to content

Re-architect models #37

@vbuck

Description

@vbuck

First, thanks for everyone's work on this. This module is very useful. However, I personally feel that the architecture of models is too much astray from core Magento modeling conventions.

For example, Mage::getModel('zendesk/api_tickets')->get(1) loader ought to instead have its method named load as in Mage_Core_Model_Abstract.

Also, Zendesk_Zendesk_Model_Api_Abstract::_call should really be part of a resource model, as to emulate the data mapper design patterns of Magento.

In following these kinds of patterns, this module will be much easier to extend and develop with, as developers will have a natural syntax to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions