Mobile applications backed by web services are one of the hottest areas of development today. But how do you architect and build such applications? If you're using HTTP, there's the common request-response model, REST endpoints, etc. but the newer socket-oriented approaches don't follow the same pattern so what can you do?
The answer lies in the humble "event". Every platform uses events to handle user-interface actions and some use them internally for remote communications. By leveraging the event-processing tools available in every platform we can come up with a consistent architecture for the server, client, and the communications infrastructure in-between.
YOU MAY ALSO LIKE:
The power of Events: A common approach to web, network, and native application development
Richard Clark, M.A. (@rdclark) manages Kaazing University and is an experienced software developer and instructor. He has taught for Apple and Hewlett-Packard, written immersive simulations, developed multiple high-performance web applications for the Fortune 100, and has published Apple iOS applications.