CodeClan Week 8

It’s week eight and we have finally reached the point of data persistence with JavaScript. This is in the form of MongoDB, an open source system designed to store huge amounts of data. Unlike PostgreSQL, MongoDB is a non-relational database. Its equivalent of PostgreSQL tables are referred to as ‘collections’, while the equivalent of columns are ‘documents’. The difference is more than just semantic. In PostgreSQL the data in each column of a table is of the same sort and each row has the same number of columns. A non-relational database by contrast can have different categories in each document, more like a physical folder full of documents than a conventional table. This makes it more flexible, and thus more suitable for certain types of data storage.

The start of the week saw us learn the ropes with MongoDB, using JavaScript to query the database and extract data. On Wednesday we put this new knowledge to work building a simple bucket list app, a straight forward but satisfying task. Thursday saw our introduction to git merge, the command which allows multiple users to work on the same repository simultaneously. At the end of the day we were given our groups and briefs for the JavaScript projects. This would be our task for the next week. My group elected to combine two of the briefs we were given, aiming to build a flash card revision app. In principle it should be a visually pleasing site, capable of pulling data from multiple API’s to create the cards. Work is progressing well, with my team on track to finish an mvp (minimum viable project) by Tuesday evening. Presentations are on the Thursday, and there are a number of additional features I would like to include. We move through projects so quickly that I find I can seldom implement all the features I would like to see. Hopefully I’ll be able to get a few more in this week.

To view or add a comment, sign in

More articles by Alexander Clements

  • CodeClan Week 15

    Week fifteen has been a strange week. The anticipation of the end of the course had been growing steadily, as had the…

    1 Comment
  • CodeClan Week 14

    Our final week of teaching has been a veritable whirlwind of new material. On Monday we were brought back into the…

    1 Comment
  • CodeClan Week 14

    This past week has finally seen our introduction to the art (or should it be black magic?) of linking Java to the front…

  • CodeClan Week 12

    For the second week of the Java section of CodeClan we were introduced to abstract classes and interfaces. The…

  • CodeClan Week 11

    The first week in the new year saw us beginning our training with Java. I have used Java before during my degree to do…

  • CodeClan Weeks 9, 10, and the Christmas Break

    The past couple of weeks at CodeClan have been a little different. On the Thursday of week 8 we were given our groups…

  • CodeClan Week 7

    Week 7 of the CodeClan course has seen us working in JavaScript with the ‘publish and subscribe’ pattern, or ‘PubSub’…

    1 Comment
  • CodeClan Week 6: JavaScript

    Our project week brought the first stretch of the course to a close, and signalled the end of the Ruby section. Week 6…

  • CodeClan Week 5: The Spending Tracker

    When last I posted, I had just chosen the spending tracker brief for my first major project at CodeClan. Basic planning…

  • CodeClan Week 4

    This has been an eventful week at CodeClan. While the first two weeks only enhanced what I already knew, week three saw…

Others also viewed

Explore content categories