by
Darrell Duniam >> Wed, 20 Sep 2006 23:03:23 GMT
We at Jade developed a few peer schemas before Packages were available in Jade 6.x. Basically, they are a schema that does not reside within the normal hierarchy of your application schema(s), but they can be run, using an interface class that is instantiated from within your application schema. For example:
RootSchema
CardSchema
ApplicationSchemaA
ApplicationSchemaB
PeerSchemaX
.....you could then run code in PeerSchemaX from either ApplicationSchemaA or ApplicationSchemaB. The benefit is that you write the code in PeerSchemaX once, and share it with any number of applications. If you have Jade 6, and you should since I don't think Jade 5 is now supported, you should use Packages instead, it's easier and much cleaner.
You can download a white paper on Jade Packages from the web site at the following URL:
http://www.jadeworld.com/jade/whitepapers.htm#packages
cheers,
darrell.