Man I can’t believe it has been three weeks since I’ve last blogged. Talk about slacking. Needless to say the past few weeks have been a blur. Student-life balance? What’s that? It’s kind of funny, if anything I feel like what’s throwing me off balance is this pursuit of balance. How ironic is that? Attempting to have some kind of semblance of a social life while I’m in this coding boot camp has been exhausting. Man what I would do for a day to just chill and relax at home. Oh well, on to my recap of the past few weeks…
So we’ve finally getting into the nitty-gritty of back end development. We started to learn MySQL. The syntax takes some getting used to, especially since it doesn’t resemble anything that we’ve learned so far. However the material isn’t too hard to digest. The concepts are fairly straight forward. Make tables, put stuff into tables, read and update the table. There’s actually a funny acronym for it; CRUD. Create, Read, Update, Delete. The homework for this week was to create a basic store app that ran on the command line. Sure it doesn’t sound like much, but I had a blast coding it. Why? Because EVERYTHING WORKED THE WAY I THOUGHT IT WOULD! There’s nothing more satisfying than sitting there, typing out code, and having everything work the way you thought it would. The assignment was due on June 26th, I ended up finishing it the night it was introduced on the 22nd. I was so enthralled by the assignment I was actually eager to show my instructor the app the next day before class. Here’s a screenshot I took as part of my homework submission.
Now we’re finally starting to deploy full stack applications using Express. I find it to be pretty exciting to have finally come full circle. We started off learning front end, then we learned some back end, and now we’re finally putting it all together. At first Express was pretty foreign, as things usually are when we first learn them, but after a few exercises it wasn’t that bad. Setting up routes and testing them with Postman was fairly straight forward. Our assignment for this week was to make this Friend Finder app. Feel free to take the survey and find out who you new best friend will be!
This week we focused on two things primarily. Handlebars and incorporating MySQL with Express. Handlebars wasn’t nearly as bad as it looked. Sure the syntax at first was strange but once you got used to it, it wasn’t that bad. I definitely appreciated the #each and #if helpers. Saved some time not having to code out the iterations or conditions. Not to mention it ends up making the code look a lot cleaner.
After the boot camp is over I definitely want to spend some time getting better with MySQL. It seems like a very powerful tool. I’d like to get to the point where I feel comfortable making all the basic queries without having to reference documentation. We started to learn about object-relational mapping which I found to be pretty interesting. I’m all for efficiency, why would you want to constantly write the same code over and over again when you can just have a collection of ORMs that you could use.
For this week’s assignment they wanted us to construct our app using the MVC architecture along with ORMs. Now at this point we’re not using Sequelize and we had no idea what MVC was. There were a few activities that they gave to us as reference to help with the assignment. It took me a good hour or two to finally get how the flow of the MVC worked and about another hour to fully understand what their ORM was doing. I could’ve copied the ORM from the activity to use in my assignment but I decided to make my own since I was able to tailor them for what I needed. Check out the final product. A simple app that asks users to create a burger, stores the burgers and their status on a SQL database, and displays them on a page.
I really can’t believe there’s only a little over four weeks remaining in the course. It’s really hard to believe how much we’ve learned in this short amount of time. It’s crazy to think that it’s about time to start redacting my resume and start applying to places. I’m excited to see what the future has in store. The whole process has been really great so far. For the first time in my life I can honestly say that I’ve really enjoyed being a student. Also with great sorrow It may very well be the case that for the first time in my life in my group of friends I could very well be the worst one in a video game that we all play…