12.04.06

Rails for the Rest of Us

Posted in Tech, Web at 11 pm

Nick just let me know about a great article at Digital-Web: Ruby on Rails for the Rest of Us:

Rails also includes a technology called scaffolding that will create a skeleton application. The scaffolding contains the models, views, and controllers. Models are the objects you are working with: a user, a real estate listing or a city. Controllers contain all the actions that your application perform. A scaffolded controller creates the basic actions to add, remove, edit, update, and show whatever type of model you are working with. Views are the actual pages that are shown to your users. They are a mix of HTML and Ruby code. It’s similar to mixing HTML with PHP includes. In fact, if you’re a designer who has built web sites using PHP includes, the process should be familiar when developing Rails templates: You are still doing the same sort of work, but with a little difference of syntax.

Great stuff!

RSS feed for comments on this post · TrackBack URL

Leave a Comment