Either AppModel (so all models have the methods available) or you
could make a behavior.

On Sep 6, 4:24 am, Dakapo <[EMAIL PROTECTED]> wrote:
> Hello everybody :)
>
> I need some help because I don't really know how to handle one part of
> my application the best way.
>
> The application interacts directly with the linux-os. For example I do
> read system-information from it.
> I would like to use functions from something like a
> LinuxConnectorModel in other models.
> The functions are mainly used for getting and saving data. So it's
> nearly the same like interacting with a database from my point of
> view.
>
> These parts are used from different Models.
> Example1: LinuxConnector->getUsedMemory();
> Example2: LinuxConnector->save('xyz.conf');
>
> Can anybody help me where I should place this in my application the
> best way?
--~--~---------~--~----~------------~-------~--~----~
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