Travis Lavery's Programming Blog


Programming

Using all the $$$'s

Of course, the $$$’s that I’m talking about are the shorthand for jQuery, and lets just say they are pretty great. I just finished up my fourth project, jQuery and Rails. At long last, I have made it to the section that I am best at: Javascript. I spent a lot of time prior to beginning this program using javascript and jQuery, so I blasted through these two sections, and knocked out my project super quick. There are so many things that I enjoy about jquery and javascript, and the incredible power of rails being used along side these is just awesome. I can definitely understand now what Avi was talking about in his videos about making a single request to the backend, and just doing everything with ruby though. The most difficult part of this was remembering when I was writing in ruby, and when I was using javascript.


Rails at last

Let us start by saying that I think it should be called “Trenches”. Not in a bad way though, of course, but because there are so many freaking aspects to this beast that you can (and I did) find myself spending hours trying to solve this part or that method. Get on the record that I have loved just about every minute. When I got to use Sinatra, I was blown away by how easy it made things that had taken a lot of time to do by hand. I can officially say that Rails was like that, except like 50 times better. Once you figured out what you were trying to do. Which required wading neck-deep in the rails docs, stack overflow, and then just kind of trying stuff out. Eventually, however, I started to get the hang of it.


Sinatra Project

So, I decided to have some fun with this project. Well of course I (almost) always have a blast programming, I decided to make something that when I explained it to my fiance, she would actually understand what was going on! She loves animals, like a lot, so for my sinatra project I created an application that I named Park and Pet. I learned a ton while making it, and not having to pass ridiculous tests was glorious. I got to name the buttons whatever I wanted! Anyways, let’s start with a description.


Finally leaving my cave

“It is during our darkest moments that we must focus to see the light.” –Aristotle Onassis


Why do I code?

What has driven me to become a programmer? While there are countless small things that have all compiled into a driving desire and motivation to program, I think I can list three reasons that capture them all. First, I love the idea that with time, effort, knowledge and motivation, I could literally create anything. Second, I believe that I can do some real good in the world and impact so many people’s lives for the better, even if they don’t know that it is me behind the code. Lastly, I love it. I love the whole process of creating, debugging, and that feeling of completion when your code is just right. The idea that somebody would pay me to do this thing I love to do is amazing, and I look forward to that day.