www.wayfare.ro. websockets 4 progress valentin duricu [email protected]
TRANSCRIPT
![Page 1: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/1.jpg)
www.wayfare.ro
![Page 3: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/3.jpg)
About me•Progress OpenEdge developer
at Wayfare ~ 2 years
•4 years web development experience
•Some projects related to OpenEdgeCloud Developer Studio (cloud-studio.ro)OpenEdge mode for ACE Editor (bit.ly/1iqCa6u)
•Hobbies: Photography, Recreational Gaming
•Contact me at [email protected]
•More about me: valentin.duricu.ro
![Page 4: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/4.jpg)
THE CHALLENGES
![Page 5: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/5.jpg)
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
![Page 6: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/6.jpg)
THE SOLUTION
![Page 7: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/7.jpg)
![Page 8: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/8.jpg)
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
![Page 9: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/9.jpg)
THE IMPLEMENTATION
![Page 10: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/10.jpg)
Web Application OpenEdge Backend
HTTP Server
![Page 11: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/11.jpg)
Web Application OpenEdge Backend
HTTP Server
WebSockets
Java 8 + Tomcat 8
.Net + IISNode.JS + Socket.IO
ProgressOpen Client API
![Page 12: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/12.jpg)
![Page 13: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/13.jpg)
![Page 14: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/14.jpg)
THANK YOU
![Page 15: Www.wayfare.ro. Websockets 4 Progress Valentin Duricu valentin.duricu@wayfare.ro](https://reader038.vdocument.in/reader038/viewer/2022110321/56649f495503460f94c6a814/html5/thumbnails/15.jpg)
Links•Contact me at [email protected]
•More about me: valentin.duricu.ro
•Source code: valentin.duricu.ro/upload/PUGOE.tar.bz2