Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
How do we remove or change obsolete methods?
One idea may be to follow the java model and mark the API in some way as 'deprecated'. Mrogers 13:20, 29 December 2008 (UTC) lifecycle attribute implemented. We now have a 'deprecated' state.
Do we need to worry about the Java Script API? There's lots of implementations (such as Activities feed) that are in Java only. Should we be saying use java only for those cases such as streaming interfaces that can't be handled by Java Script. Script API design guidelines
We are going to use the dictionary service as a guinea pig for the processing of deep collections.
Parent / child objacts may have
The approach for inbound integrations is loosely based on the “check out / check inâ€
paradigm, where the system requesting a change is first
required to “check out†the object it wishes to modify from the target system, modify it as needed and finally “check in†the modified object to the target system.
The primary advantages of this model are:
10:19, 6 November 2008 (UTC) idea for discussion
Suppose we do a search that finds no data. How do we represent this? null, empty array or exception?
Here is an example of a formatted description from the CMIS API. It shows how to format the description field.
I'm putting this forward as a good example to copy.
Any comments?
<description>
Inputs:
String url: CMIS service url of the repository to test
String user: username/password for authentication (HTTP BASIC Authentication)
String args: Enum url, headers or both - dictates how arguments are passed to services (Default: url)
boolean validate: true => validate repository responses against CMIS XSDs
boolean trace: true => trace request and response bodies
String tests: names of tests to execute (use * in test name to represent wildcard) (Default: *)
]]>
</description>
And here is an example for a JSON method.
<description>
If the optional webApp argument is specified then reverts the modified assets within that web app.
JSON data fileds
Mrogers 10:41, 5 December 2008 (UTC) Using JavaDoc/JSDoc as a template As a developer I need to know the description, parameters, arguments, return value and exception data. The above example has 'Inputs'.