Page 1 of 1

Peer Schemas

Posted: Fri Aug 07, 2009 1:01 pm
by ConvertFromOldNGs
by Michael >> Wed, 20 Sep 2006 22:44:50 GMT

Morning,

Can anyone clarify what peer schemas are and does anyone have an example or point me to some documentation.

Cheers

Michael

Re: Peer Schemas

Posted: Fri Aug 07, 2009 1:01 pm
by ConvertFromOldNGs
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.

Re: Peer Schemas

Posted: Fri Aug 07, 2009 1:01 pm
by ConvertFromOldNGs
by allistar >> Thu, 21 Sep 2006 22:24:33 GMT

Packages basically simplify the communication you would need if you were to use peer schemas.

Allistar.