On Sep 24, 4:51 pm, lado77 <rockl...@gmail.com> wrote:
> Dear Cake Bakers,
>
> In my app (currently being designed) I want to have "pages" database
> table, simply because it is the most suitable name for it (Page
> belongsTo Book, Book hasMany Pages). But this is of course in conflict
> with Cake's default static content serving with its PagesController. I
> really don't want to mix database entity "Page" with static content
> "Page" into the common "PageController" as these 2 are totally
> different things. So I see 2 possible solutions here. One would be to
> rename(refactor) cake's PagesControler to something like
> StaticController and all occurrences in URL from /pages/ to /static/.
> But this seems to me quite stupid e.g. regarding future Cake's release
> updates. Another solution would be to rename "Pages" table to
> something different. But I don't like to complicate obvious and easy
> things such as clear naming conventions. My question is: Have anybody
> had experiences with such situation and what was your solution?
>
> Ladislav
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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