Where to start programming?

Now it's time for prototyping! Write down your idea and visualize it!

Read these two articles for more info:
http://en.wikipedia.org/wiki/Software_Prototyping
http://slash7.com/articles/2007/3/8/juicing-your-creative-orange

- H

So go and buy Agile Web Development with Rails 2nd Ed
http://pragmaticprogrammer.com/titles/rails2/index.html

By finishing part two of the book, you gain the knowledge you're looking for...

- H

Take a look at code igniter for PHP. After that a transition to rails
should be easy. Code igniter is an excellent php framework that is
based on the MVC model.