facebook / wangle

Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.
Apache License 2.0
3.05k stars 537 forks source link

Add Echo Server/Client Example #21

Closed oh-its-jimjam closed 8 years ago

oh-its-jimjam commented 8 years ago

I got a lot of feedback from my blog post saying there wasn't much examples to learn Wangle so I thought I'd write a few examples. I will start off with the most basic example - an Echo Server/Client.

fugalh commented 8 years ago

for posterity the blog post referred to: https://medium.com/swlh/starting-a-tech-startup-with-c-6b5d5856e6de#.e8nz2nn99

viswanathgs commented 8 years ago

Do you mind signing CLA so that I call pull your commit in? https://code.facebook.com/cla.

fugalh commented 8 years ago

Are you planning to write a blog post explaining the example in depth? If not, you or we could write some more in-depth explanation of the example code either in a text file here or in the comments.

oh-its-jimjam commented 8 years ago

@viswanathgs No problem mate, signed @fugalh Yes, I intend to write a blog post explaining Wangle's abstractions in more detail over this weekend. Once I've written it, I will merge its content into your README.md.

fugalh commented 8 years ago

Sweet!

viswanathgs commented 8 years ago

@jamperry, thanks for the PR. Looks awesome!

You missed adding the sources in https://github.com/facebook/wangle/blob/master/wangle/CMakeLists.txt. I added it though and committed your patch. It should be synced to github upstream within the hour.