Skip to content

JSAPI Architecture Version 3

mohamedmansour edited this page Mar 7, 2012 · 1 revision

One of the main focus for Version three would be a complete rearchitectural.

Some simple rules of thumb

  • The callback parameter should always appear as the last parameter. Since it can be optional.
  • Their could be at most one parameter, if a function requires more than one parameter, you must pass it in as a object.
  • Each calllback should return back an object, where it has two attributes, status:Boolean and data:Any.
Clone this wiki locally