Quote:
Originally Posted by animas
OK, so if i'm not misinterpreting, it seems like I will need to do a few tasks.
create a model -- location.
create a viewer that will display the infomation
create a controller that will manipulate data according to time
which one of these should I begin working on first?
Ok, first things first. Do you use windows or linux ? I would advise you that you try linux, because most of the opensource world uses linux and most of the hosting providers use linux. Try ubuntu linux, download a live cd or usb so you don't have to install it on your system if you don't like it, but I would advise you that you install it and create a dual boot enviornment, so you can have linux and windows at the same time. Or you can download wmware and host linux inside your windows box... plethora of options
Then learn basic linux shell comands. Search google. Handling files from command line, unpacking, zipping, creating tarballs, moving folders ,files..etc
Learn how to use the rails program or "command".
I would advice you first go through a tutorial, before you make your own app.
http://ruby.railstutorial.org/ This one is good.
About your question: Looks like you are already getting familliar with the MVC pattern that rails framework uses.
http://en.wikipedia.org/wiki/Model%E...0%93controller But it doesn't really matter what you make first. I usually start with the model, so I can play with the model in rails console.
The command "rails c" runs the console and you can create, delete, update models by hand..
Say you have a model Person that has attributes :name and :surname. You can do something like
Person.create(name: 'Phil', surname: 'Ivey')
to insert a new record into your database. It's good for testing at first.
Just take it easy, go step by step. It wouldn't hurt if you learned ruby programming language first a little, at least the basics.