Showing posts with label comet. Show all posts
Showing posts with label comet. Show all posts

Friday, January 18, 2008

Comet and Sockets

I was on ajaxian.com and I thought this was interesting

Why Comet? Why not JavaScript Sockets? You know, sockets, like what “real” applications use… True bidirectional communications.

I’m using Sockets all the time for my web applications using Flash. It works great.

There are more here

Thursday, January 10, 2008

Comet with script tag

not just an iframe, not just the XMLHTTPRequest object... think of the possibilities.

Tuesday, January 8, 2008

Comet example

http://www.zeitoun.net/index.php?2007/06/22/46-how-to-implement-comet-with-php
I like this guy's examples. Nice and simple about doing comet with php

Jetty on Mac OS

I would love to make my own server. Right now I am with two hosting companies: Bluehost and webhost4life.

I just called cox to see how much that would be. This is the number I called 1-866-456-9944.

My brother has a mac and it would be cool to set up a server on his computer.

It would be cool to use php with the built in apache server and also a Jetty server so I could make comet apps.

This might help with that
http://developer.apple.com/internet/java/enterprisejava.html

More on Comet

Comet is fascinating.
I was reading this blog entry on simonwillison.net and it helped me understand a little bit more about implementing Comet in your web apps.

http://cometd.com/

Monday, January 7, 2008

Comet

Comet is cool too.
There may be better more professional words for it. I think comet is the best one because it gives it a name and lets us know that it has to do with Ajax.

The idea behind comet is reverse Ajax. Letting the server communicate with the client.
A sort of way to look at it is in Ajax the client initiates the the communication when it wants something. In Comet, the server initiates the communication.

Friday, January 4, 2008

Ajax Online Chat

I am using Bluehost as my web hosting company. I am making an online chat using ajax (XMLHTTPRequest object). I ran into some trouble because I was exceeding the CPU limit. Probably because every half a second or so it checks for new messages. Right now I have many "chat" windows open to test to see if it will do it again. Hopefully not.

For the chat I am using the polling technique, which may not be the best but it works.

It would be cool to learn "Comet." Comet might be a dorky name but I think its good to have something simple to call it.

Exceeded CPU again!