Project Worklight: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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)
  * Adapters can call adapters (called mashup): WL.Server.invokeProcedure(invocationData, options). Options define the result callbacks and a pass through data parameter

Latest revision as of 09:42, 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, options). Options define the result callbacks and a pass through data parameter