Hi, I'm fairly new to CakePHP, trying to grasp the concepts and all.
Ok, so I've listed my problem, here goes:


What I have.

A system to handle error reports on products for a specific company.
Products are specific for the company.
Products are related to a manufacturer.
Manufacturers are listed in a db-table.

How it works

The error reporter selects manufacturer from a list and enters a
product name and error description. Pretty simple.

What I want.

Be able to use the system on another company with different products,
hence different manufacturers.
Manufacturer-db-table of another company might have a different setup/
convention (non-cake) located in a different database.

What I think

As far as I understand I think this could be achieved, without regard
to CakePHP, by applying a factory method pattern. Let's assume a
Manufacturer model interface with different implementations depending
on the company where the app is used. Now my real question is if
there's a CakePHP-way of doing something like this?

What are the possibilities to apply a factory pattern to a Cake-model?

Hope my thoughts make sense. Any hints or ideas on this would be
greatly appreciated!
Thanks!


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to