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

Myroslav Opyr myroslav@zope.net.ua
Sun, 14 Apr 2002 19:03:03 +0300


Martijn Faassen wrote:

>Shane Hathaway wrote:
>
>>Martijn Faassen wrote:
>>
>>>Lalo Martins wrote:
>>>
>>>>>Cool, sounds great.  But is "OFS" the best way to describe the utili=
ty
>>>>>of this subdirectory?  It's a mystical acronym to the uninitiated.
>>>>>
>>>>IMHO things that you can actually instantiate via ZopeTop and add con=
tent=20
>>>>to
>>>>(Folders, Files, Images) should go into a Content package.
>>>>
>>>I think it would be good to have a Content package. Perhaps as a compr=
omise
>>>we can put the OFS things into a OFS sub-package of the Content packag=
e,
>>>
>>That sounds great to me.
>>
>>>unless=20
>>>it turns out all Content will be OFS anyway, in which case the OFS pac=
kage
>>>should just disappear.
>>>
>>I think you misunderstood something.  Based on the definition we've bee=
n=20
>>using in this thread, OFS (or whatever we'll call it) is restricted to=20
>>three types.  So all content cannot be OFS.
>>
>I understood there were some types listed (folders, images and files, ri=
ght?),
>and that these exist to mimic operating system filesystems. But it's a s=
omewhat
>fuzzy concept, isn't it? I mean, images aren't really necessary to do th=
is.
>And if we have images, why not something like 'text' as an OFS style con=
tent
>object as well?=20
>
Because there is File that represent anything static (including text)=20
and is the part of OFS. DTML Document and DTML Method were dynamic data=20
processed with Zope/App as well as Page Templates are processed before=20
dispatching result to client.

>Anyway, I certainly didn't think this through when I wrote it. :)
>
So there is static and dynamic content. And all all static stuff was=20
considered to go to Content/OFS. Thus my 0.05=E2=82=AC. Why not have this

Zope/App/
    Content/
        Static/
            Container/ --> I do not see clear distinction between Contain=
er
                           and Folder, Stephan should know this better
            File/
            Image/
        ZPTPage/
        Folder/

I'm not sure I've recreated general picture but probably "Static=20
Content" could be replacement to "OFS".

Regards,

Myroslav
--=20
Myroslav Opyr
zope.net.ua <http://zope.net.ua/> =C2=B0 Ukrainian Zope Hosting
e-mail: myroslav@zope.net.ua <mailto:myroslav@zope.net.ua>
cell: +380 50.3174578