Coder Social home page Coder Social logo

databases's Introduction

Databases

Relational Database Systems

About

This three-week program aims to introduce the fundamental concepts of databases using MySQL, and are split into two parts. First part consists of the theory of databases, and the second part is designing a todo-application.

Key Objectives

By the end of this module, students should have a familiarity with and basic understanding of the following:

  • Entities
  • The relational model
  • The Structured Query Language (SQL)
  • The construction of a database system
  • MySQL as an example of a relational database system
  • SQL vs NoSQL

Preparations

As the base for this module, we'll use MySQL 5.7, since there's currently some issues with the js-module or 8.0. See Week1-preparations for instructions on how to install.

Lesson Plan

Lesson 1: SQL ! Create, Insert and Select & Joins !

Objective: This class aims to introduce the students to operate the MySQL database. MySQL client can be used control the database instance and to demonstrate SQL queries. The class will look at working with data, doing inserts, updates and deletes. Normalisation and selects using joins will be discussed. Concepts of database transaction, ACID properties, normal forms should be introduced with examples / live coding (creating a transaction, committing and rollback-ing).

Lesson 2: Group by, Having and Joins. Promisification of JS client with prepared statements

Objective: This class introduces more clauses (group by, having) in the select statement. MySQL joins (inner, self, left and right) should be explained with demonstration. User permisions and authorization will be discussed.

The main differences between SQL and NoSQL-databases should be understood.

Promise based JavaScript program with SQL prepared statements should be understood by students. The program can be found in the Week2 folder (Credits: @remarcmij)

This class invites students to discuss Entity Relationship Diagram (ERD). Students should be able to explain their choices of entities, relationships, attributes etc. SQL injection should be explained.

Lesson 3: Application development

The goal is that the students should be able to design a web-based todo-application, using MySQL as a backend. The application should handle authenthication, task-creation, tagging tasks etc. More information is found in Week3/MAKEME.md

Handing in homework

Take a look at this video made by Daan, he explains how your homework needs to be handed in.

Also review the Git workflow material from the JavaScript3 module, use this as a reference.


Credit goes to HackYourFuture which this is based upon.

databases's People

Contributors

daanaerts avatar danlaudk avatar filievski avatar gijscor avatar hatemkhattab avatar jasongwartz avatar kvarak avatar laurensrietveld avatar mkruijt avatar noergitkat avatar pcelentano avatar remarcmij avatar rts-rob avatar shadoo77 avatar sjalilund avatar tkaria avatar unmeshvrije avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.