Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

TutToaster.com:
Ruby for PHP Developers
Sep 13, 2010 @ 08:54:03

If you're a PHP developer and have been wanting to find out a bit more of what Ruby is all about, you should check out this new post from TutToaster.com that might help with the learning process.

With our knowledge of PHP we can learn a lot about Ruby. Use of variables, loops, arrays, functions and classes, everything starting from PHP. In the end, there is an example to see all together where we’ll combine what we have learnt to see something really useful in action.

They introduce some of the basics of the Ruby language and relate them back to the more familiar world of PHP like:

  • variables
  • arrays and structured variables
  • conditionals/loops
  • functions
  • class definitions

Each example comes with some sample code to get you started and they wrap it up with one example showing them all put into one.

tagged: ruby introduction developer tutorial

Link: