Congratulations, you’ve made it this far. Just a few pages ago you weren’t really familiar with how PHP stacked up against Ruby. Now you’re ready for the real stuff. You’re ready for the final boss - Advanced Object Oriented Programming.

The good news is that once again, if you already know these concepts in PHP you’re just going to have that much of an easier time implementing them in Ruby.

In some ways these tasks are easier in Ruby.

Ruby is highly dynamic, much more so than PHP. This means you have the ability to create additional functionality at runtime. This is a scary concept for us coming from a mostly static language, where you there are less surprises and functionality is not hidden from us.

I think you’ll be pleasantly surprised to find that Ruby is much more forgiving if you want to venture out into the mysterious dynamic landscape but it doesn’t force you to if you’re not comfortable with it.

Again, anything that Ruby can do, PHP can as well. However, you’ll find yourself typing a lot less.