www.wayfare.ro
Valentin Duricu valentin.duricu@wayfare.ro Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro
About me •Progress OpenEdge developer at Wayfare ~ 2 years •4 years web development experience •Some projects related to OpenEdge Cloud Developer Studio (cloud-studio.ro) OpenEdge mode for ACE Editor (bit.ly/1iqCa6u) •Hobbies: Photography, Recreational Gaming •Contact me at valentin.duricu@wayfare.ro •More about me: valentin.duricu.ro
THE CHALLENGES
Data has to be available as soon as possible Data changed => Changes must be seen right away Desktop Applications: Observer / Publish-subscribe pattern Web Applications: Comet protocol – Ajax with long polling, dependent on the browser
THE SOLUTION
WebSockets •Protocol providing full-duplex communication for web applications •Single TCP connection •Interpreted by HTTP servers an Upgrade request •Can be implemented over standard sockets •Available in browsers with HTML 5 support
THE IMPLEMENTATION
Web Application OpenEdge Backend HTTP Server
.Net + IIS Node.JS + Socket.IO Java 8 + Tomcat 8 OpenEdge Web Application HTTP Server OpenEdge Backend WebSockets Progress Open Client API
THANK YOU
Links •Contact me at valentin.duricu@wayfare.ro •More about me: valentin.duricu.ro •Source code: valentin.duricu.ro/upload/PUGOE.tar.bz2