Here's a link to a very detailed information about XMPP:
http://xmpp.org/rfcs/rfc6120.html
There's a lot of information that already exists, there are two main C# projects that keeps coming up with existing code:
MatriX
Jabber-net
MatriX had some EXE that it downloads. The installation requested to install something at which point I cancelled. I was looking for source code, and MatriX appeared to provide source for the client portion but not the XMPP.
Since I was looking for more about code examples of XMPP, I continued to search and found Jabber-net. It's open source included all the communications, easy ZIP file to download, and provides solution for VS 2003 and 2005. There were no problems converting 2005 to VS 2010 after changing the target framework and deleting the VB project. I haven't actually executed the project yet because I've been distracted by other new items.
C#'s square bracket for attributes was something I've seen commonly but haven't actually sat down to learn and understand. This site was rather helpful in understanding that stuff:
csharphelp
I can see some uses, but I am not fully comfortable with its use yet so some more time needs to be spent on that.
Another interesting piece of code I looked into was their own implementation of the doubly linked list. Not exactly sure why they did not use C# System.Collection LinkedList
Either way, it is interesting how they expanded on the Queue class (but in actuality, technically not expand but rather re-implemented it).
Anyways, there is a lot to read and updating myself on. Hopefully it won't distract me too long from other projects. Another item on the horizon is possibly looking into interfacing with twitter (and other similar social networking sites) and facebook (although the latter seems like it would take some work to do anyways). Others just include statement parsing as that keep running into that when I want to interpret incoming messages. And of course, still need to interface with database. So lots still to do.
No comments:
Post a Comment