+ Reply to Thread
Results 1 to 2 of 2

Thread: What is the best practice to share the same app but with a couple of different models

  1. #1
    mesh2005 is offline Member
    Join Date
    Sep 2009
    Posts
    53

    Default What is the best practice to share the same app but with a couple of different models

    I have an application that is to be used by multiple clients. Everything should stay the same except for one or two models that are different from one client to the other. To explain more, my application consists of two modules, one of them (called X) uses a model call X_Model_Post. The logic of this module may change from one client to another. Each client has a dedicated domain. I wanna use the same code for each one, but somehow, write a different X_Model_Post for each client; is that possible?
    Last edited by mesh2005; 03-10-2010 at 05:44 PM.

  2. #2
    dsiem is offline Junior Member
    Join Date
    Jan 2009
    Posts
    8

    Default

    if each client has a dedicated domain could you write a model that returns the domain and base logic on the return value?

+ Reply to Thread

Similar Threads

  1. Best DB practice?
    By muneeba in forum Databases
    Replies: 0
    Last Post: 05-21-2010, 01:58 AM
  2. MVC share db-functions in more then one Model
    By Skatan in forum Model-View-Controller (MVC)
    Replies: 1
    Last Post: 12-15-2009, 02:20 PM
  3. ZF MVC and MediaWiki - Best Practice ?
    By stijink in forum Concepts, Ideas, Planning
    Replies: 3
    Last Post: 10-05-2009, 02:28 PM
  4. Share view helpers across different modules
    By Persoontje in forum Model-View-Controller (MVC)
    Replies: 3
    Last Post: 12-15-2008, 08:33 PM
  5. A couple of questions
    By Jack Sleight in forum General Q&A on Zend Framework
    Replies: 2
    Last Post: 03-19-2007, 06:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts