Thursday, October 6, 2011

Re: Best practice for pending/approved flag for comments in a blog

it seems a simply boolean (tinyint 1) is enough in your case


On 6 Okt., 15:14, Zaky Katalan-Ezra <procsh...@gmail.com> wrote:
> You can review CakeDC comments pluginhttps://github.com/CakeDC/comments
>
>
>
>
>
>
>
> On Wed, Oct 5, 2011 at 11:02 AM, Boyan <boyan...@googlemail.com> wrote:
> > Hello,
>
> > I am trying to develop a blog- like application with Cakephp and have
> > a rather general question.
> > The comments for each post should be first reviewed by the author of
> > the post, before becoming visible (Comment belongsTo Article, Comment
> > belongsTo User, Post belongsTo User)
>
> > So my question is- what would be the best way to go about it? Would a
> > boolean flag in the sql table for the comments suffice? And if so- is
> > it secure enough? Or should I rather use ACL? Or maybe a completely
> > different approach?
>
> > Thank you,
>
> > Boyan
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: