1 / 7

Cross-Platform Button Click Sync: Client-Side to Mockup

Sync button clicks from client-side to server-side mockup using WAMP, PHP, Jython, and Sikuli integration. Improve interaction experience and emulate AMX web controller. Avoid lag issues with dual server setup. Lessons learned included.

oded
Télécharger la présentation

Cross-Platform Button Click Sync: Client-Side to Mockup

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AMX Access Isaac Sears, Owen Capobianco, Henry Jixinge, Michael Ian Price

  2. Client Side • HTML with Javascript • Javascript sends the button name every time the user clicks a button • Key functionality: accessible on phones or tablets (as opposed to AMX web controller)

  3. WAMP Server • Information sent from Javascript received by PHP on WAMP server • PHP relays data to Jython server running on a local port • WAMP server permanently running on computer in CS deparmtment

  4. Jython Server • Jython Server listens for events on socket 8080 • Sends information received on 8080 to Sikuli script • Allows Sikuli to run continuously rather than rebooting on every command

  5. Sikuli • Sikuli imported into Jython server as external library • Reflects button click events on client side onto a server-side mockup page (real AMX web controller went down this semester)

  6. VIDEO DEMO https://www.youtube.com/watch?v=FLNT7dD1u4k

  7. Misc Facts and Lessons Learned • Use of two servers to accomplish sikuli interaction • Double server interaction = lag • Don’t make a plan before you have the resources (e.g. AMX touch panel emulator) • Simple is better but provides no guarantees (e.g. Sikuli for clicking buttons abstraction)

More Related