Initial Rails development thoughts Nov23 '05

I’m attempting to learn to program in Ruby, simply because it’s new, exciting, and why not learn something different?

Here are some initial notes on Rails web development, and possible comparisons to PHP. Feel free to correct me, or add further ideas.

Rails is a pure object-oriented language.
PHP obviously supports OO, but most of my previous PHP work has been very straight-forward, function-oriented.
Rails uses MVC architecture.
MVC stands for Model, View, Controller. MVC is not exclusive to Rails - in fact, it’s a far more general concept, which applies to many things. Java is notable for using MVC.
Rails absolutely needs a MySQL database, in order to run properly.
It seems (I could be wrong) Rails needs some sort of database to run - whether it’s MySQL, or whatever. And there seems to be very distinct details about the database tables that are required:
Every table must have an ID column, and it must be named exactly that.
The fields created_on and updated_on are accounted for, whether or not they are actually used in your tables. It is suggested they should be used anyway, because they are helpful fields.

These are just things I’ve read in a matter of an hour.

They are, however, important things - because it helps me decide further if Ruby is a language I want to pursue.

Categories: Programming , Web Development

Add Feedback (view all)

Leave feedback

Feedback

Input format: The editor controls below will assist with Markdown syntax.

Status

Sub-status

Your info

matthom is published and produced by Matt Thommes - an independent publishing enthusiast, mobile blogger, content creator, informative writer, web developer from Chicago. Never one to conform, Matt intends to promote the effect the web has on our lives, in an effort to intensify, instruct, and clarify all that is happening around us.

Contact Matt

Similar Entries

Stats

3 unique visits since August 2008

Syndicate

Advertisements