[Zope3-dev] Re: Deploying WSGI Apps with Zope 3.2+

Tres Seaver tseaver at palladion.com
Sat Jan 28 18:14:02 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Fulton wrote:
> Shane Hathaway wrote:
> 
>> Tres Seaver wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Sidnei da Silva wrote:
>>>
>>>> On Thu, Jan 26, 2006 at 02:02:19PM +0000, Chris Withers wrote:
>>>> | Sidnei da Silva wrote:
>>>> | >
>>>> | >My original intention was to put the config file location in the
>>>> | >ZConfig schema, but that's *waaaay* too painful right now.
>>>> | | What's the specific problem here? I find adding to ZConfig
>>>> schemas | pretty easy...
>>>>
>>>> Yet you find ZCML declaring namespaces in ZCML files
>>>> annoying *wink*. Sometimes I don't understand you :)
>>>
>>>
>>>
>>>
>>> +1 to that.  I think Chris doesn't really believe in the Second Law of
>>> Python (according to the prophet Peters).
>>
>>
>>
>> No, Chris just doesn't like XML namespaces.  You can still have
>> explicitness without XML namespaces.
>>
>> I think I'm starting to grasp the XML division among Zope developers.
>> ZConfig schema definitions use a conventional style of XML with deeply
>> nested elements, text nodes, and no namespaces, while ZCML uses its
>> own style with minimal nesting, many attributes, and many namespaces. 
> 
> 
> This style is hardly unique to ZCML.  Many XML languages work this
> way, including, for example, XML Schema Definitions.

The XML folk talk about "document-centric" versus "data-centric"
applications as having essentially incompatible semantics for their XML;
 I think we are staring at a similar split.   Using elements instead of
attiributes has the downside that constraining the type of the element
is much trickier when spelling pattern-based schema-validation
templates.  Elements also tend to introduce "spurious whitespace"
problems when used for semanticall "simple" values.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD2/q6+gerLs4ltQ4RAqydAJ93fnitXiwqEvNDChEIrphI8cAUugCfbJ/0
ZgNgLaJd5DdDw40GG2nYkqs=
=vfly
-----END PGP SIGNATURE-----



More information about the Zope3-dev mailing list