Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
f1a1dd1c
Commit
f1a1dd1c
authored
Jan 07, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preliminary description of the schema component library.
parent
fc30ce8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
doc/ZConfig/zconfig.tex
doc/ZConfig/zconfig.tex
+32
-0
No files found.
doc/ZConfig/zconfig.tex
View file @
f1a1dd1c
...
...
@@ -242,6 +242,38 @@ key $name
XXX to be written
\section
{
Libraries of Schema Components
\label
{
schema
-
library
}}
XXX need more explanation
\module
{
ZConfig
}
supports a library of extensible schema components
that can be provided by disparate components, and allows them to be
knit together into concrete schema for applications. Neither
components nor extensions can add additional keys or sections in the
application schema.
A schema
\dfn
{
component
}
is allowed to define new section groups and
section types. It is not allowed to extend application types or
include additional types in application
-
provided section groups.
Components are identified using a dotted
-
name, similar to a Python
module name. For example, one component may be
\code
{
zodb.storage
}
.
There is no relationship between the schema component namespace and
the Python module namespace.
A schema component
\dfn
{
extension
}
is allowed to define new section
types, extend types provided by the component it extends, and include
new concrete types in section groups provided by the component.
A library of schema components is stored as a directory tree, where
each component is located in a directory within the tree. That
directory must contain a file named
\file
{
component.xml
}
which defines
the types provided by that component; it must have a
\code
{
component
}
element as the document element. Extensions to a component are stored
in immediate subdirectories; a file
\file
{
extension.xml
}
provides the
extension types. Extensions must have an
\code
{
extension
}
element as
the document element.
\section
{
Standard
\module
{
ZConfig
}
Datatypes
\label
{
standard
-
datatypes
}}
There are a number of data types which can be identified using the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment