[Zope3-dev] Zope Package (Directory) Structure Reorganization

Stephan Richter srichter@cbu.edu
Thu, 11 Apr 2002 20:43:13 -0500


Hello everyone,

today, Gary, Shane and I  (and yesterday Tres) discussed a major package 
reorganization. What do you think about that?
Here are some of the suggestions:

Redefine the meaning of OFS. Until now OFS was used to contain all pacakges 
that provide persistent component. As development goes on we noticed that 
almost everything will be persistent at one point; be it services, views, 
utilities, whatever. Therefore we would like to define the OFS as the 
package containing only the most necessary components to provide a 
filesystem-like feel to the ZODB. That would mean that only a simple Folder 
and File implementation are in this package.

Here the new structure with some changes:

ZOPEROOT/lib/python:
     Interface
         Common
     Persistence
         BTrees
     ThreadedAsync
     Transaction
     ZODB
     Zope
         App
             Formulator
                 Fields
                     DublinCore
                     Generic
                     Specific
                 Validators
                 Widgets
                     Browser
                         DublinCore
                     XUL
                 icons
                 Content --> Moved down to App
                     Image
                         Views
                             Browser
                             XUL
                     ZPTPage
                         Views
                             Browser
                             XUL
                     Folder --> Moved to Content
                         Views
                             Browser
                             VFS
                             XUL
                 Introspector
                     Views
                         Browser

             Memento

             OFS
                 Container
                     Views
                         Browser
                         VFS
                         XUL
                     File
                         Views
                             Browser
                             VFS
                             XUL
                 *www --> Removed.

             PropertySets

             Security --> I assume more is coming from Casy's Security Branch.
                 *pt --> Removed.

             Services
                 RoleService
                     Views
                         Browser
                 ServiceManager
                     Views
                         Browser

             Traversing
             Undo
             Workflow
                 doc
             Zopetop --> renamed from ZMI
                 *www
             ZopePublication
                 Browser
                 HTTP
                 SOAP
                 VFS
                 XMLRPC
         I18n --> Should that move to App/?
         ComponentArchitecture
         Configuration
         ContextWrapper
         Event --> Should that not move to App/?
         Exceptions
         Misc
         ObjectHub --> Should that not move to App/?
         PageTemplate
         Publisher
             Browser
             HTTP
             VFS
             XMLRPC
         RestrictedPython
         Server --> Total internal reorg coming from Server Branch.
             HTTP
             FTP
             VFS
             Logger
             SMTP --> Should move to some AddOnServer package?
             POP3 --> Should move to some AddOnServer package?
             Authentication
             Thread
             LineReceiver
         StartUp
         TAL
             benchmark
         Testing
         ZLogger
         ZTUtils
     zLOG
     zdaemon


Also, Shane would like to merge the Zope-3x-branch into the Trunk. This 
would primarily increase the speed of the CVS!

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management