Daily blog
I only got a little bit of coding done tonight by choice. I think I’m procrastinating on this nested hash forms lab because nested hashes can get confusing. I started it though and just got sidetracked. I need to stay focused. I worked on getting RubyMine installed to see what it’s about and my computer froze. After that I just gave up on coding tonight. I guess I wasn’t very motivated if that’s all it took lol.
Sinatra, and models, and views, and controllers, and erb, OH MY! Tonight I kept building small things with Sinatra. I’ve realized exactly how the MVC system works and what each piece does. The model is all the ruby classes I’ve been writing. The view is a mixture of HTML and Ruby that the user sees in their browser. The controller takes the user input and returns the data that has been crunched by the models.
Sinatra is moving along and clicking well. I have this fear after being somewhat cocky in last night’s post that the spirits of those Senior Devs before me are going to jump into my learning and humble me some. If so, not today. It’s all making sense the first time through. I think this is because there’s very little new logic. It’s just where to put that login in regards to models, views and controllers.
I got a late start tonight :-( so I didn’t spend as much time as I would’ve liked. However, I did learn that my wife did not know that it was not a good idea to try and peel a cantaloupe with a chef’s knife. Yeah, so after helping her wrap a sliced finger in a paper towel cantaloupe slicing duty fell on me. Then I spilled my tea all over my desk because one of my children (I’m guessing the 2 year old) had wedged my chair under my desk.
Progress progress progress. I’m moving along. I watched the last ActiveRecord video then finished up the Rack section. Learning the lowest level of how Rails runs a webserver. There is a granular procedure that’s happening and it was explained. First we learn basic Rack, then Sinatra abstracts a little bit more, then Rails abstracts even more. So when things do break, because they will, there is an understanding of what’s actually going on to fix it.