Welcome to andru.co

After letting my last blog die I've decided to try my hand at writing again. I've been wo...

Open sourcing this blog. Code on GitHub

I've tidied up the code for this site and decided to open source it if anyone is interested. ...

Monday, November 26, 2012
Introducing Polytalk. A simple protocol which allows communication between different languages via TCP.

Polytalk is my latest open source project. I developed it out of the need to communicate with a legacy system running PHP while writing code in Ruby and Node.js to leverage the existing business logic.

The amazing thing with Polytalk is you don't need to write any extra APIs or write any additional code. All that's needed is the server which is a long running process that exposes classes to the client via TCP.

Here is a quick overview of what Polytalk taken from the project's page:

Polytalk is a simple protocol which allows communication between different languages via TCP. The protocol uses a simple JSON object to pass back and forth request and response information from the server and client.

Polytalk currently supports Ruby, Node.js and PHP. Each language module consists of a server and client that both follow the exact same API so implementation is simple. Installation of all the modules is equally as simple, utilizing the popular package managers for each language.

Polytalk is plug and play meaning you don't have to do any extra coding to expose your methods from your existing code base. This is great for legacy code or teams of polyglot developers.

Polytalk is currently available for Ruby, PHP and Node.js.

Tweet this post if you found it useful

Related Posts

Using Polytalk inside a Meteor Application

Sunday, December 9, 2012  ·   0

I've put together a simple demo that integrates Polytalk with Meteor. The app all... (continued)

Polytalk Ruby Gem updated

Saturday, December 8, 2012  ·   0

I just pushed some changes to the Polytalk Ruby Gem to allow symbols to be used as ar... (continued)

Phalcon the PHP framework written in C

Wednesday, December 5, 2012  ·   4

Over the past few years the PHP community has matured and evolved immensely The lang... (continued)

Building a simple single page application using AngularJS

Tuesday, December 4, 2012  ·   0

I am going to walk you through building a SPA (single page application) using Angular... (continued)


Comment successfully added. View comment.×

Comments are now closed for this article.