In a recent article I showed how you can use webrtc, canvas and websockets together to create a face detection application whose frontend runs completely in the browser, without the need for plugins. In that article I used a Jetty based backend to handle the image analysis using OpenCV through the JavaCV wrapper. When I almost finished the article, I noticed that websockets is also supported from Play 2.0. I really like developping in Play and in Scala so as an experiment I rewrote the backend part from a Jetty/Java/JavaCV stack to a Play2.0/Scala/JavaCV stack. If you want to do this for yourself, make sure you start with the frontend code from here. Since the frontend code hasn't changed except the location where the websockets are listening.
For one of our client, we need to show a map with vehicles position updated in real-time. So I began to make a prototype using Play! framework, with its latest released version 2.0, using the Java API.
"Websockets allow full-duplex communication over a TCP socket, normally between a browser and a server-side application. In a similar vein to this post on websockets in Play 1.x, this article shows how to create a websockets-enabled application in Play 2.0."
Vous avez certainement entendu parler d’Ajax et de Comet. Nous allons voir avec un exemple complet, codé et déployé sur Heroku en une journée, comment cela fonctionne. Au passage je vais aussi vous parler de Play2, l’un des rares frameworks webs à proposer un modèle de programmation évenementiel. Cela vient du monde Haskell et c’est un petit bijou. S’il y a un cas d’usage de Play2 qu’il faut retenir : ça roxe du poney pour coder une application web temps réel.
Sharing your scoops to your social media accounts is a must to distribute your curated content. Not only will it drive traffic and leads through your content, but it will help show your expertise with your followers.
How to integrate my topics' content to my website?
Integrating your curated content to your website or blog will allow you to increase your website visitors’ engagement, boost SEO and acquire new visitors. By redirecting your social media traffic to your website, Scoop.it will also help you generate more qualified traffic and leads from your curation work.
Distributing your curated content through a newsletter is a great way to nurture and engage your email subscribers will developing your traffic and visibility.
Creating engaging newsletters with your curated content is really easy.