[OpenAjaxInterop] OpenAjax.hub development decision

Bertrand Le Roy Bertrand.Le.Roy at microsoft.com
Tue Dec 9 11:59:05 PST 2008

Sure, that's the most common convention I believe.

-----Original Message-----
From: interop-bounces at openajax.org [mailto:interop-bounces at openajax.org] On Behalf Of Howard Weingram
Sent: Saturday, December 06, 2008 11:40 PM
To: interop at openajax.org
Subject: [OpenAjaxInterop] OpenAjax.hub development decision

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


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

interop mailing list
interop at openajax.org

More information about the interop mailing list