public
Description: Legs is a networking microframework designed to be super simple and easy and compact. Somewhat inspired by the crazy hacks in Camping, but mainly driven by wanting to build the kinds of easy tools I wish I would have had when I was younger and just getting in to coding. I hope to get it included with the reborn shoesified Hackety Hack as a networking aid, released under the Hackety Hack license: give it away, take it apart, learn-learn-learn without a 2nd thought. :)
Home | Edit | New

Home

This is legs! The little networking doodad for people who want to make desktop programs that talk to each other. You could use it to make a game, or a chat or anything like that. All you need to know to be able to use it is how to make your own class in Ruby, and then how to make an ‘instance’ of that class. The way legs works is in your ruby app you make a legs class and then connect to the legs classes on other computers running your app and run the methods in those remote classes, and they can run your methods to tell your app about stuff that’s happened too. The acronymists insist this is to be called ‘RPC’, which means Remote Procedure Call. In ruby we don’t have procedures, we have methods though which are nearly the same thing. :)

Articles

  • Baby Steps is a total beginners introduction to Legs and the basics of networking.
  • Peer to Peer networks talks a bit about how peer to peer networks work, for those who are curious.
Last edited by Bluebie, Thu Jul 17 02:23:45 -0700 2008
Home | Edit | New
Versions: