[OpenAjaxInterop] OpenAjax.hub development decision
Howard Weingram
weingram at tibco.com
Sat Dec 6 23:39:30 PST 2008
Hello, everyone.
I would like to propose that in all of our reference implementations, we
follow a simple property-naming policy for JavaScript objects:
* Given an object, properties of the object that are PUBLIC are named using
camel case, e.g.:
OpenAjax.hub.implVersion = "1.1";
* Properties of the object that are PRIVATE or PACKAGE PRIVATE are
named with an underscore at the beginning, using camel case. Thus,
the following code might appear in OpenAjax.hub.ManagedHub(params):
this._onPublish = params.onPublish;
* External code should not access properties whose names begin with
underscore.
Regards,
Howard
--
Howard Weingram 650.846.1000
Principal Architect TIBCO Software Inc.
TIBCO PageBus(TM) delivers ultra-lightweight
publish-subscribe messaging for mash-ups.
Learn more at http://www.pagebus.org
More information about the interop
mailing list