Skip to content

mattgreen/openim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Many people experiment in college; I experimented with software architecture. Over the course of a few years in college I hacked on a component-based GUI Win32 C++ instant messaging client that interoperates with AOL's proprietary OSCAR protocol.

Why?

At the time, there were few quality IM clients on the Windows platform. Most were either unable to use all of the features of AIM, or had subpar UI. (Unfortunately, this situation hasn't changed much.)

What makes this interesting?

OpenIM uses a publish/subscribe architecture to minimize coupling between components. This results in components that are smaller, easier to reason about, and test. For example, the AIM protocol component has no knowledge of any UI; it merely responds to method calls and sends out events (such as AccountConnectedEvent) as they occur. The EventManager is responsible for distributing Events to registered components. Partitioning features along component boundaries makes development incredibly pleasant.

(Also, the use of CRTP in AccountEvents.hpp should induce the Inception theme in your head.)

What became of it?

I graduated, and became more social. Regardless, I thoroughly enjoyed the late nights spent hacking on it, and do believe it is possible to make nice software, even in C++.

About

Extensible Win32 instant messaging client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published