Author: tziade Date: Sun Mar 19 00:31:14 2006 New Revision: 2658 Modified: cookbook/trunk/recipe57.en.tex Log: tipos
Modified: cookbook/trunk/recipe57.en.tex ============================================================================== --- cookbook/trunk/recipe57.en.tex (original) +++ cookbook/trunk/recipe57.en.tex Sun Mar 19 00:31:14 2006 @@ -46,7 +46,7 @@ \end{verbatim} These two files are gathered in a folder, which is declared in a configuration -file in the \code{INSTANCE/etc/package-includes} folder. The configuration file +file in the \textit{INSTANCE/etc/package-includes} folder. The configuration file has to be named with a \textit{-configure.zcml} suffix, and conventionally uses the package folder name to complete its name. So a package called \textit{dummypackage} will have a \textit{dummypackage-configure.zcml} file, @@ -62,14 +62,14 @@ \section*{Setting up a real-world structure} -The \code{dummy} package will now implement a simple feature to demonstrate -a typical structure: a new kind of object that keep a track of the number -of times it has been accessed through a view. The package therefore needs: +The \code{dummypackage} package will now implement a simple feature to +demonstrate a typical structure: a new kind of object that keep a track of the +number of times it has been accessed through a view. The package therefore needs: \begin{itemize} \item An interface declaration; -\item a view class; \item a content class. +\item a view class; \end{itemize} \subsection*{Interface declaration} @@ -227,8 +227,9 @@ This structure is a module-based structure, and fits well for our simple example. When the package gets bigger, it's better to use a folder-based organization, by making \code{interfaces} and \code{browser} become -subfolders. The \code{browser} folder can then hold its own -\code{configure.zcml}, included in the main ZCML file, and so forth. +subfolders. The \code{browser} folder define modules for view and holds its +own \code{configure.zcml}, included in the main ZCML file, and so forth. +The \code{interfaces} folder holds modules for interfaces. \end{solution} \end{document} -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins