14 March 2016

Week 06, 07 & 08

Been a while since my last post...

That's because of three things...

1) I've been busy coding...

2) I've been really busy coding...

3) I've been really, really busy coding...

So Week 06 was a project week, a chance to reflect on the first 6 weeks material & condense it into an AirbNb clone.

It was really valuable as for me as well as for most others was the first chance to code as a team.

We managed to get most of the functionality implemented & used a full dev workflow in github throughout. Merging branches with conflicts, shipit squirrels the lot!

Week 07 was a little different, it was our introduction to rails...

Week 07 Ruby On Rails...


Rails is probably the biggest Ruby language framework. It is really popular with start-ups due to how fast you can use it to create an app.

Straight away our tutor Sam showed us how quickly you can implement Sign In/Out functionality using the devise gem. He did it in about 45 seconds. Something that took us two days in Sinatra created in 45 seconds with a few terminal commands...

Depressing huh? but really, really cool.

That week was spent working through a yelp.com clone walkthrough. The walkthrough was hard to understand at times but that was also down to how hard Rails is to grasp. It does a lot of stuff for you. Like creating hundreds of files with one command. However it follows 'Convention Over Configuration' meaning it's not about how the app is configured but more so about the ease in which the app's features are implemented.

That weekend challenge was spent wrestling with rails to create and Instagram Clone. I managed to get most of it implemented apart from a few features but I think I got a good grasp overall of rails!

Week 08


So this past week has been somewhat of a blur for me. We dove into AngularJs which allows you to build single page apps using javascript. The app we were tasked to build would be a single page web app that used the Github api to return information about users.

After getting used to new package managers like NPM & Bower we used sinatra to launch our app on a simple ruby server.

The beautiful thing about Angular is that the page doesn't have too reload, in order to do this our app used Ajax calls from the controller to the api that look like so...

We had a similar controller for returning the search for our users. A refactoring step might be for us to separate these out to factories.

This is of course all using TDD, our group held daily stand-ups & we held a retro at the end of the challenge. The finished app looked like this...

Thats pretty much it up-to now! This week concentrates on rails with angular so we will be full stack devs! Then next week we are on to the final projects!