I have a Software Design Question, here's what I want to do (a bit
simplified for better understanding):
I have following tables:
Users -> hasMany -> Blogs -> hasMany -> Entries
Users -> hasAndBelongsToMany -> Languages
Blogs -> hasAndBelongsToMany -> Languages
Entries use the TranslationBehaviour.
So User one or more Blogs and can chose the languages in which he post
all his blogentrie.
An example would be:
User (id=5,name=max) has one blog
(id=7,name=myblog,languages=eng,ger).
So every blogentry is saved in eng and ger with the
TranslationBehaviour.
Now to the Design Part.
Is it now right that I have to programm the whole Backend in the
BlogController (while saving the Owner id in a session)?
When I want to edit a Blogentry I need to know the settings of the
blog...
And other Design Ideas?
thx
Aurelius
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment