Registry Candidates for Microsoft Ajax

From MemberWiki

Jump to: navigation, search

This wiki page holds the candidate registry list of global objects typically used in a Microsoft Ajax 1.0 application:

Status

Not yet approved.

Proposed Registry Entry

MicrosoftAjax: { 
  namespaceURI: "http://schemas.microsoft.com/uifx/2008/03/microsoftajax", 
  version: "3.5",
  to_approve: {
    globals: [
      "Sys"
    ],
    markups: [
      /* 
         expando attribute added to elements only if a control derived from Sys.UI.Control
         is associated with the element. In other words, this is purely opt-in on an instance basis.
      */
      "[control]",

      /* 
         expando attributes added to elements only if Sys.UI.DomElement.setVisible 
         or setVisibilityMode has been called on them. Again, this is purely opt-in.
      */
      "[_visibilityMode]",
      "[_oldDisplayMode]"
    ]
  },
  to_acknowledge: {
    globals: [

    "Type" /* Alias for Function */,
    "$get" /* Alias for Sys.UI.DomElement.getElementById */, 
    "$find" /* Alias for Sys.Application.findComponent */, 
    "$create" /* Alias for Sys.Component.create */, 
    "$addHandler" /* Alias for Sys.UI.DomEvent.addHandler */, 
    "$addHandlers" /* Alias for Sys.UI.DomEvent.addHandlers */, 
    "$removeHandler" /* Alias for Sys.UI.DomEvent.removeHandler */, 
    "$clearHandlers" /* Alias for Sys.UI.DomEvent.clearHandlers */, 
    "__cultureInfo" /*Not in the library but added by the server-side on globalized pages */, 
    "_events", 
    "pageLoad" /* Not in the library but if such a function exists, it gets called after the framework finished initializing */, 
    "pageUnload" /* Not in the library but if such a function exists, it gets called before the page unloads */

    /* private static extensions to Array */
    "Array.__typeName", 
    "Array.__class", 
    /* static extensions to Array (prototype *not* extended to preserve for..in feature) */
    "Array.add", 
    "Array.addRange", 
    "Array.clear", 
    "Array.clone", 
    "Array.contains", 
    "Array.dequeue", 
    "Array.enqueue", 
    "Array.forEach", 
    "Array.indexOf", 
    "Array.insert", 
    "Array.parse", 
    "Array.remove", 
    "Array.removeAt", 

    /* private static extensions to Boolean */
    "Boolean.__typeName", 
    "Boolean.__class", 
    /* static extension to Boolean */
    "Boolean.parse", 

    /* private static extensions to Date */
    "Date.__typeName", 
    "Date.__class", 
    "Date._appendPreOrPostMatch", 
    "Date._expandFormat", 
    "Date._expandYear", 
    "Date._getParseRegExp", 
    "Date._getTokenRegExp", 
    "Date._parse", 
    "Date._parseExact", 
    /* static extensions to Date */
    "Date.parseLocale", 
    "Date.parseInvariant", 
    /* instance extensions for Date */
    "Date.prototype._toFormattedString", 
    "Date.prototype.format", 
    "Date.prototype.localeFormat", 

    /* private static extensions to Error */
    "Error.__typeName", 
    "Error.__class", 
    /* static extensions to Error */
    "Error.create", 
    "Error.format", 
    /* factories for specialized errors */
    "Error.argument", 
    "Error.argumentNull", 
    "Error.argumentOutOfRange", 
    "Error.argumentType", 
    "Error.argumentUndefined", 
    "Error.invalidOperation", 
    "Error.notImplemented", 
    "Error.parameterCount", 
    /* instance extension for Error */
    "Error.prototype.popStackFrame", 

    /* private static extensions to Function */
    "Function.__fullyQualifiedIdentifierRegExp", 
    "Function.__identifierRegExp", 
    "Function.__typeName", 
    "Function.__class", 
    "Function._validateParams", 
    "Function._validateParameterCount", 
    "Function._validateParameter", 
    "Function._validateParameterType", 
    /* static extensions to Function */
    "Function.createCallback", 
    "Function.createDelegate", 
    "Function.emptyFunction", 
    "Function.getRootNamespaces", 
    "Function.isClass", 
    "Function.isEnum", 
    "Function.isFlags", 
    "Function.isInterface", 
    "Function.isNamespace", 
    "Function.parse", 
    "Function.registerNamespace", 
    /* instance extensions to Function */
    "Function.prototype.callBaseMethod", 
    "Function.prototype.getBaseMethod", 
    "Function.prototype.getBaseType", 
    "Function.prototype.getInterfaces", 
    "Function.prototype.getName", 
    "Function.prototype.implementsInterface", 
    "Function.prototype.inheritsFrom", 
    "Function.prototype.initializeBase", 
    "Function.prototype.isImplementedBy", 
    "Function.prototype.isInstanceOfType", 
    "Function.prototype.registerClass", 
    "Function.prototype.registerEnum", 
    "Function.prototype.registerInterface", 
    "Function.prototype.resolveInheritance", 

    /* private static extensions to Number */
    "Number.__typeName", 
    "Number.__class", 
    "Number._parse", 
    /* private instance extension to Number */
    "Number.prototype._toFormattedString", 
    /* static extensions to Number */
    "Number.parseLocale", 
    "Number.parseInvariant", 
    /* instance extensions to Number
    "Number.prototype.format", 
    "Number.prototype.localeFormat", 

    /* private static extensions to Object (prototype *not* extended) */
    "Object.__typeName", 
    "Object.__class", 
    /* static extensions to Object */
    "Object.getType", 
    "Object.getTypeName", 

    /* private static extensions to RegExp */
    "RegExp.__typeName", 
    "RegExp.__class", 

    /* private static extensions to String */
    "String.__typeName", 
    "String.__class", 
    "String._toFormattedString", 
    /* static extensions to String */
    "String.format", 
    "String.localeFormat", 
    /* instance extensions to String */
    "String.prototype.endsWith", 
    "String.prototype.startsWith", 
    "String.prototype.trim", 
    "String.prototype.trimEnd", 
    "String.prototype.trimStart", 

    /* The following aren't directly included by the Microsoft Ajax Library but get included in many legacy ASP.NET scenarios */ 
    "__defaultFired", 
    "__disabledControlArray", 
    "__doPostBack", 
    "__enabledControlArray", 
    "__nonMSDOMBrowser", 
    "__pendingCallbacks", 
    "__synchronousCallBackIndex", 
    "__theFormPostCollection", 
    "__theFormPostData", 
    "Page_ClientValidate", 
    "theForm", 
    "WebForm_PostBackOptions", 
    "WebForm_DoPostBackWithOptions", 
    "WebForm_DoCallback", 
    "WebForm_CallbackComplete", 
    "WebForm_ExecuteCallback", 
    "WebForm_FillFirstAvailableSlot", 
    "WebForm_InitCallback", 
    "WebForm_InitCallbackAddField", 
    "WebForm_EncodeCallback", 
    "WebForm_ReEnableControls", 
    "WebForm_ReDisableControls", 
    "WebForm_FireDefaultButton", 
    "WebForm_GetScrollX", 
    "WebForm_GetScrollY", 
    "WebForm_SaveScrollPositionSubmit", 
    "WebForm_SaveScrollPositionOnSubmit", 
    "WebForm_RestoreScrollPosition", 
    "WebForm_TextBoxKeyHandler", 
    "WebForm_AppendToClassName", 
    "WebForm_RemoveClassName", 
    "WebForm_GetElementById", 
    "WebForm_GetElementByTagName", 
    "WebForm_GetElementsByTagName", 
    "WebForm_GetElementDir", 
    "WebForm_GetElementPosition", 
    "WebForm_GetParentByTagName", 
    "WebForm_SetElementHeight", 
    "WebForm_SetElementWidth", 
    "WebForm_SetElementX", 
    "WebForm_SetElementY" 

    /* Other global names may be defined by various components of ASP.NET such as Menu or WebParts, 
    or by third party components as they are being used by the application developer.*/ 
    ]
  },
  specificationURI: "http://asp.net/ajax/documentation/"
}

Does this toolkit use any markup extensions, such as new elements, new attributes on existing HTML elements, or any custom CSS classnames?

Discussion

None so far.

Personal tools