My application currently has 2 associated tables: Posts and Comments.

A post hasMany Comments and each Comment belongsTo a Post.

So, the only purpose of the Comments model is to be associated with
the Posts model. I have no use for a Comments controller or view. Any
data saved/retrieved from the Comments model is done using the Posts
controller and is displayed in the appropriate Post view.

Is having just a model without any view or controller like this
considered practice? If so, how should I redesign my application?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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