On 8/23/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> How To Be Sexy, Rule 1: The word "manipulator" has really got to go.
>

Thinger = "Manipulator" or "Form" # The thing that holds the fields

Bah, I try and try, but I can't figure out how to seperate the
manipulation process from the Thinger.  It really belongs in there.
If you can define it in one spot, all of the different apps (including
the Admin) can use that same process.  This means that the Thinger is
an actor on the object, and therefore a "Manipulator".  Er, we could
change the name to "Negotiator", or "Handler"

Perhaps The Thinger doesn't have a home in the MVC paradigm--  It is
defining a Form structure (not model structure) and controller code to
"manipulate" a model instance.

Also, I've realized now that a lot of what is defined in the Django
Model should really be placed into the Thinger, as it's not Model
specific (like blank=True), but is rather specific to the Admin /
Thinger.  I guess it's in there for simplicity (DRY and all that), but
I wonder if that is correct.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to