Flash/PubSub code v0.1

"jos" <[email protected]>
Newsgroups gmane.comp.web.mod-pubsub.devel
Organization the organization
Message-ID <000801c32a93$84762440$6601a8c0@pappy>
This is just a quick email to let you all know that i've not gone into some
kind of hibernation, never to be seen or heard from again ;)

I've been working (slowly) on the flash pubsub lib. This is what i've got so
far.

Two new classes:

The first is an extension of the XMLSocket object. It has some nice
features, like queueing send requests. Its a 0.1 release, so there are still
things that are going to change. This is the class that connects, sends and
receives data from the pubsub server.

Second, I've built a helper pubsub data class, which is used to construct
the messages you'd send to the server.

The main PubSub class has yet to be built. I'm working on parsing of the
received data now, which is what the class will be responsible for (and
persistance, and...etc etc).

Check it out, let me know what you think. Work goes forward!

jos

R 0.1 Notes:

- pubsubSocket and pubsubData class's are in a working state.
- parsing of received data is missing
- the "main" pubsub class is not done (this is where the data parsing will
be done, i think)
- i've got concerns about how when you send any data, other then a 'watch',
the socket is always closed after. Its a pain, and resource intensive to
have to re-connect for every data send. this may be another place to look to
the server to implement a "long term" socket connection when using flash.
mod_pubsub.as (application/octet-stream, 4.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.