Help on design for adapter

Hi,
I’m not a hardcore developer, I just do it in my spare time - so please bear with me :slight_smile:

I’m creating a small app, which is using SNMP; I created a small component for the SNMP commands to be sent.
Currently the OIDs are hardcoded for one or two specific device(s) inside these component.
My idea is now to add some adapter/plugins (ho every you want to name it) with device-specific information/commands.

so: Component->deviceA->getPortList(…)
Component->deviceB->getPortList(…)
Component->deviceC->SetPortDescription(…)
etc…

How would you realize such tasks in CakePHP?

Many thanks for your ideas.
Oliver