Yes, there exist other solutions to this already. But those require
(at least to my knowledge) either a server outside AppEngine or the
use of another service. To have everything inside the AppEngine
environment would be really nice for a lot of reasons.
On 3 Nov, 14:15, Peter Petrov <
onest...@gmail.com> wrote:
> It will let you simplify _when_ you run inside a web browser. That's what
> the Channel API is designed for. For pushing data to other types of clients
> (automated services, bots, etc.) there already exist good solutions - XMPP,
> PubSubHubbub, plain HTTP POSTs.
>
> When you run in a browser, the complexity is hidden in the Channel API
> javascript. Only a simplistic interface similar to WebSockets is exposed to
> you as developer. But the complexity hidden underneath in the Channel API
> client library is pretty big:
>
> - first, there is HTTP long-polling used to emulate a persistent connection
> - second, an undocumented protocol is used to frame the separate messages;
> it's probably ProtocolBuffers-based
> - third, an invisible Iframe together with a Closure XPC channel is used to
> bypass the same-origin javascript policy
>
> The last one is not necessary if you create an out-of-browser client. But
> the first two are complex enough (primarily the first one). Considering that
> you have other (good) options, it would be quite crazy to go down that road.
>
>
>
> On Wed, Nov 3, 2010 at 6:37 AM, Robert Kluin <
robert.kl...@gmail.com> wrote:
> > Are the data-exchanges overly complicated?
>
> > I have used XMPP for an app, I was hoping the channel API would let me
> > simplify.
>
> > Robert
>
> > On Wed, Nov 3, 2010 at 00:29, Peter Petrov <
onest...@gmail.com> wrote:
> > > Forget about emulating it outside of a browser. Your best bet is using a
> > > separate mechanism for sending messages to non-browser clients - for
> > example
> > > make a HTTP postback, or send a XMPP message.
>
> > > On Wed, Nov 3, 2010 at 6:20 AM, Robert Kluin <
robert.kl...@gmail.com>
> > wrote:
>
> > >> Have you look at the communications at all? I the javascript file is
> > >> included in the SDK. It is a little "heavy," but you could probably
> > >> use firebug (or chrome/safari dev console) to figure out what is going
> > >> on.
>
> >
http://code.google.com/p/googleappengine/source/browse/trunk/python/g...
>
> > >> Robert
>
> > >> On Tue, Nov 2, 2010 at 08:41, Tomas Alaeus <
tala...@gmail.com> wrote:
> > >> > I for one thought directly of games when I heard that the Channel API
> > >> > were coming to AppEngine. However, all discussions and articles only
> > >> > mentions a Javascript client running in a web browser. Will it come
> > >> > ports to other languages as well? Maybe the actual communication is so
> > >> > simple that it is trivial to do oneself (considering that the API is
> > >> > somewhat similar to websockets if I understood it correctly)?
>
> > >> > Thanks, Tomas
>
> > >> > --
> > >> > You received this message because you are subscribed to the Google
> > >> > Groups "Google App Engine" group.
> > >> > To post to this group, send email to
> >
google-a...@googlegroups.com.
> > >> > To unsubscribe from this group, send email to
> > >> >
google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib
e...@googlegroups.com>
> > .
> > >>
google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib
e...@googlegroups.com>
> > .
> > >
google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib
e...@googlegroups.com>
> > .
> >
google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib
e...@googlegroups.com>
> > .