Project Worklight: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
* Adapters
* Adapters
  * Adapters design: an adapter can have multiple procedures (declared in the adapter xml), but they must all talk to the same backend
  * Adapters design: an adapter can have multiple procedures (declared in the adapter xml), but they must all talk to the same backend
  * Adapters can call adapters (called mashup): WL.Server.invoceProcedure(invocationdata, oprions). Options define the result callbacks and a pass throug data parameter
  * Adapters can call adapters (called mashup): WL.Server.invokeProcedure(invocationdata, oprions). Options define the result callbacks and a pass throug data parameter

Revision as of 09:33, 15 May 2014

Worklight Tips & Tricks

  • Debugging physical remote android devices with winere (Apache project)

http://winreserver:8888/target/target-script/...

http://winreserver:8888/client

http://people.apache.org/~pmuellr/weinre

  • Same for iOS: Remote Web Inspector
  • Wireshark: filter for http on port 10080
  • Adapters
* Adapters design: an adapter can have multiple procedures (declared in the adapter xml), but they must all talk to the same backend
* Adapters can call adapters (called mashup): WL.Server.invokeProcedure(invocationdata, oprions). Options define the result callbacks and a pass throug data parameter