160613 – 160619 — Total classroom hours 13
This week I started my next Bloc project, Blocipedia, which is a type of Wikipedia clone. I feel the need to keep things spicy, so I renamed the project Wikster. It has similar elements to the Bloccitoff app that I made, with user logins, user-assigned elements -wikis in this case-, and with this one there is a pro options that includes a payment option, so that will be interesting to work on.
You might think that once you’ve gone through the steps of setting up the Devise gem every other setup after that will be a breeze, but that couldn’t be further from the truth. I definitely found myself going back through my browsing history, repeating Google searches, and digging through files in my last project to get this current project’s Devise properties setup correctly. One of the core principles of programming is the DRY concept (Don’t Repeat Yourself) and although it is meant to apply to written code, the idea of performing the same Google searches a mere two weeks apart seemed incredibly inefficient.
Including the project that I worked on during the foundations coursework, this is my third app I will have built, and I’m seeing a very obvious pattern forming in regards to the base elements needed to have a functioning app. Im sure at some point I’ll be able to set these core elements up in a few hours, but for the time being I think I’ll be starting some kind of whitepaper-style documentation of what exactly it takes to get a user login-based app up and running. At the moment I’m not sure that my next project, which I intend on being my personal project, will have a need for user login, but I may start a non-functioning app just for the sake of successfully setting up a user model with Devise and documenting the process.
That’s the big learnin’ nugget that I took away from last week’s work. I’m still building up the CRUD elements of the wiki model, which I’m trying to do properly, TDD style. Im hoping to make some good headway in the project the rest of this week and into the weekend. I get so much more done when I’m fresh and can sit down for 3 or 4 consecutive hours.