Example Programs
NOTE: Please add informational links to Tutorials (in the sidebar) rather than this page. Please add CODE samples here.
Ruby
- Triangular Multiplication Table
- Horse Race
- Example uses of yield
- Example uses of Proc
- Array iterators with loops and recursion
- Path down a binary tree
- Ruby Quiz Programs with Solutions
Rails
- llor.nu, a massive (and OPEN SOURCE) multiplayer board game using Ruby and Ajax
- The source code for llor can be found here
Ajax
- Some server programs that handle Ajax calls (Java, C#)
- Call a Java servlet with GET and POST
- Call a C# web handler
- Watch the readyState change
- Call a SOAP 1.2 web service
- Multiple simultaneous HTTP calls
- Using hidden frames
- C# web handler proxy to remote web service