Hi dmitri
You can put all your business logic classes into models directory.
If they are not related to any table or cake model, just don't extend
AppModel class.

On Dec 22, 7:41 am, dmitri1 <[email protected]> wrote:
> I would like to know: Where to put business logic related classes,
> which are not related with cake entities: (db, views, components,
> controllers, etc)?
>
> The classes which model some kind of thing in real world. Let's say
> class which models toaster. The class doesn't (and shouldn't) know
> about cake controllers, components, etc. Where to put it?
>
> I think "models" directory probably is place for such classes, but
> from other side the classes are not cake models (not related with
> database table).
--~--~---------~--~----~------------~-------~--~----~
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