Article got approved already.

About your way to handle it: it makes sense, having sort of a versioning
control. Pretty cool.

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

-----Mensaje original-----
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Claudio Poli
Enviado el: Sábado, 16 de Diciembre de 2006 05:20 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Keeping unbindModel out of your controllers

interesting enough, I'm facing the same problem in my app.
I'm finishing a project where an user can submit an article, this  
article can have a state, like approved, rejected, deleted, draft, on  
hold.
I've drawed a workflow, after much pulling my hair out, I ended up  
with this solution: when an user submit a new revision, admins gets  
an email and the edit automatically gets approved.
this because if a user modify, is correct that the previous version  
is still online, and when admin approves the new, it flips on the old  
version.
this require an intense database work, since we need to take care  
even of the tags (habtm).
so I ended up with this solution to keep an online version, that a  
user can modify from two months after the creation date.
bakery instead, I believe, will change the state of the article upon  
a revision, but if admins don't/won't approve the new version, the  
article isn't published anymore until a new revision.
my solution require confidence with users that will submit an article  
of course, but for the sake of simplicity to me is the best choice  
for now, until I will implement a versioning system.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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