, Rails RESTful ( , , ). , php, , , .. , Model, Controller .
HTML, , . , , .
, map.resource config/routes.rb. RESTful . -, Rails (WEBrick), script/server. , , , WEBrick .
I suggest you first write a basic (blog) application with Rails, see here . So you see which parts use Rails and how you can use them.
After that, you will be able to identify these parts in your PHP and bbetter solution, capable of converting your pages. At least I followed this approach when I started using / converting Rails from PHP.
Veger source
share