I've used the excellent cometd.org comet implementation for a while now and will continue to. Cometd allows you to setup "channels" (sort of like chat rooms) and have clients connect and send and receive JSON messages on those channels. This works really well. When a user with web browser publishes a JSON object to a channel, the server can do something with it and pass it along to all the other user.
The Google Channel API can achieve the same results, but the architecture is a bit different. A channel in the Google Channel API, isn't analogous to a chatroom. It is a one-way connection from the server to an individual client. So each client establishes their own named channel to an Appengine web app, and the web app stores the names of the channels somewhere (like big table). Then the browser can do things like post AJAX messages to a servlet on the web app, and the web app can push messages to the named channels that were saved earlier.
Both the Cometd and Channel API approach can allow you to do some really interesting web applications.
Here's a collaborative chat / whiteboard application that uses the Channel API as well as dojo for the user interface:
The whiteboard doesn't use any plugins and most browsers will work. Chrome seems to run it the fastest. You don't need a password, just give it any username, invite friends and start drawing. You can also fire up 2 different browser (say firefox, and chrome) to see it working in real time, if no one else is around to draw with you.
Here's a screenshot of it after several different users did some scribbling for a while:
Would love to hear feedback and suggestions here.
you can follow me @monteslu for updates
Your application is so cool. Would you mind sharing the source code? I would like to use it as a start point for a project(my future website)
I'm still adding features and cleaning up code. At the very least I'll post the drawing surface code on github soon. The backend is pretty basic, just a spring MVC java app that writes to channels and persists to the google data store.
can you please share the complete source code this application
Yeah we're all still wait for some API or source of your code.
Posted the whole thing on github:
comments, issues, pull requests, accepted :)
Do you think it's difficult to add code to upload a background image on the whiteboard for annotations ?
BTW, congrats and thanks for your nice work.
@hobby16 thanks for the feedback!
There's actually a hidden drag and drop image feature right now :)
Only problem is, i have to scale the images down because app engine limits the channel message size, and they tend to fill up the datastore.
Great ! If you are interrested in being a paid service provider (after some minor customisations, particularly in using CometD instead of Google Channel API) of your Collaborative Whiteboard, please contact me.
You must have my email through your blogger.com account.
Hi! Monteslu, I need your help with this.
Please sene me an email to HawthornQuest16394@gmail.com and I will tell you what my problem is
Thank you for sharing this info.
I would like to ask you to share the source code, if it's possible, in order to try it on my project connected with the cloud-based application. The one should implement virtual data room solutions.
Is Casino Tycoon Scam? | TrickToAction
Casino Tycoon scam, find & track player fraud, 19 ㅅ ㅇㅌ and try to 실시간 스코어 withdraw 세리에 a winnings from a 위디스크 쿠폰 casino. Claim your bonus here! No deposit, withdrawal, 승인전화없는 토토사이트 비코리아 놀검소 withdrawal bonus
Slots possess a magnetic pull and reputation within the iGaming market. Therefore, it’s not rocket science that tons of of on line casino operators want their fair proportion of 코인카지노 the piece of cake. Thus, for a newbie, it’ll be difficult searching down the best on-line casinos.
WynnBET is known for its well-liked Las Vegas Wynn Resorts properties. The operator lives a lot as} its name with the vary of accessible games. With Roulette Russia, players get to work together with dealers who communicate their language and enjoy a localised setting. German talking dealers will greet players for an entire, localised Roulette expertise, all constructed around the culture of Germany. The dealers communicate Italian and players will be immersed in a Roulette setting inspired by the culture of the nation it represents. The goal is to guess on which facet Andar or Bahar the cardboard matching the Joker card on the desk 클레오카지노 will seem first.
You can play games of your choice and withdraw winnings lengthy as|so lengthy as} you meet the terms and circumstances. All your favourite online on line casino games and the profitable iRush Rewards devoted online on line https://thekingofdealer.com/sm-casino/ casino rewards program makes BetRivers a should for online on line casino gamers. Plus, the one-time wagering requirement on the deposit match bonus makes it simple to clear. The bonus you select relies upon totally in your particular person needs as a participant. However, there are some offers that lend themselves better to certain teams of customers than others.
Post a Comment