• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Writing New Content Objects > Step 5: Implementing Content Componen...

Step 5: Implementing Content Components

Now you are finally ready to implement the content components of the package. This is the heart of this chapter. But how do you know which methods and properties you have to implement? There is a neat tool called pyskel in Zope3-Instance/bin that generates a skeleton. The tool inspects the given interface and creates the skeleton of an implementing class. It also recurses into all base interfaces to get their methods. Go to Zope3-Instance/lib/python and type this:

01 python2.3 ../../bin/pyskel \
02           book.messageboard.interfaces.IMessageBoard


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint