[Zope-dev] ZPatterns design questions
Michael Bernstein
mbernstein@profitscape.com
Fri, 06 Oct 2000 15:44:14 -0500
Steve Spicklemire wrote:
>
> Ack.. sorry... I was making little changes last night to make sure
> the ZClass was completely consistent with my explaination, and to
> make sure I could start 'from scratch'.
Ok, I just got through stepping through the walkthrough. Thanks! That
*was* a really simple example. Perfect!
I had a few comments:
- You skipped over creating the Product in the Products folder.
- Propertysheets: You don't expressly say that Shared needs to be a
'Common Instance Property Sheet'.
- ToDoManager: I was initially confused as to where this needed to be
created. I tried placing it directly in the Product as well as in the
ZCLass before I tried placing it in a normal folder.
Ok, moving forward, I had some questions about this approach to building
applications:
- What do I need to do to let users add ToDoManagers to their own
folders without creating them from scratch? In other words, How do I
turn ToDoManager into a product?
- The term 'Specialist' implies (at least to me) that this object is
overiding/replacing a 'Generalist' somewhere, but this does not seem to
be the case here. Am I missing something?
- I'm trying to reconcile PJE's methodology of Domain Logic,
Presentation Logic, Data Management Implementation Logic, and User
Interface Implementation Logic. Can you (or Phillip) label each of the
DTML methods as to which category they fall into? And state why, even if
it seems obvious?
- How does this product (simple though it is) exemplify the RIPP
approach? In other words, assume I'm asking annoying whiny two-year-old
'why?' questions after every declarative statement in the tutorial.
Anyway, I'll try to synthesize all of the replies I get (if any) into a
beginners 'Zen of ZPatterns' tutorial.
Thanks again for such a simple example!
Michael Bernstein.