CS241001 Software Studio

from Ideas to Applications to Real Impact

Description

This course presents hands-on labs for students to be familiar with the software development process, techniques, and tools. Students are asked to build real, useful applications (websites and/or mobile apps) accessible to the public.

The classes are divided into three parts. First, we give a primer to common web technologies such as HTTP, HTML, CSS, and Javascript. We cover different programming paradigms, including the OOP and functional programming. Handy tools such as Git are covered to get students familiar with the project-based and team-based development. In the second part, we introduce modern web development techniques such as React, Redux, Node.js, and Firebase and some reusable templates from Bootstrap and Reactstrap that speed up the development process. Last, we extend our horizon to the mobile development landscape by introducing the React Native. We also give case studies on how to leverage Machine Learning and Data Mining algorithms to convert raw user data into the app intelligence.

Syllabus(Tentative)

Instructor

Teaching Assistants

Time & Location

  • Video & lectures: Tue. 3:30-5:20pm at Delta 105
  • Labs: Thu. 3:30-5:20pm at EECS 326.328
  • Office hour: Wed. 10:10am-12:00pm at Delta 724.729

Grading Policy

  • Labs & homework: 60%
  • Idea & pitch: 15%
  • Final demo: 25%
  • Q/A bonus: up to 5%

Prerequisites

This course requires students to have solid understanding of

  • Data Structure,
  • Programming (in C/C++ or Java)
and the ability to trace a nontrivial project (e.g., one on the GitHub). We use Javascript as the main programming language throughout the course. Although being helpful, prior knowledge about Javascript is not necessary.

Announcement

Curriculum

If you have any feedback, feel free to contact: shwu [AT] cs.nthu.edu.tw

Lecture 00

Introduction

About This Course... | FAQ

Slides

Lecture 01

HTTP&HTML

Web Development | Basic HTML | Idea Generation | Lean Canvas

Video Slides

General Rules and Introduction to Git

This lab guides you through the main idea of version control systems, the basic usage of Git, and how to submit on our GitLab.

GitLab Slides

Git Command-line Tool Installation

This appendix guides you how to install Git command-line tool.

Slides

My First HTML

This lab quiz asks you to build a simple html page.

GitLab

Lecture 02

CSS

Basic CSS | Selector | Layout | Stacking order

Video Slides

My First Blog

This lab quiz asks you to build a simple blog page.

GitLab

Lecture 03

Bootstrap and Responsive Design

Product Design | Landing Page Demo | Basic Bootstrap | Layout | Flexbox | Media Queries | Containers | Grid sysem | Components | Tools

Video Slides

Flexbox and Responsive Lab

This lab quiz asks you to design a website by using bootstrap4.

GitLab Slides

Lecture 04

Javascript & DOM

Primitive Types | Object Types | Primitives v.s Objects | Expressions | Control Flows | Methods | DOM | Event Handling

Video Slides

Color Game

This lab quiz asks you to improve the Color game by adding two extra modes.

GitLab

Lecture 05

Modern Javascript

Node.js | Webpack | Vendor Bundling | Packing CSS | Babel | Block Scoped Variables | Arrow Functions | Default Rest Spread | Destructuring | Template String Literals | Enhanced Object Literals | Classes and Inheritance | Symbols | Iterators and Generators | Property Initializers | OOP vs. FP

Video Slides

Component-Based Color Game

This lab asks you to build a component-based color game.

GitLab Slides

Tic-Tac-Toe

This quiz asks you to build a Tic-Tac-Toe.

GitLab

Bonus: How to Make Your Project Real?

Idea Generation

Here are some tips that help you to generate “good” Ideas.

Video Slides

Idea Validation

Here are some tips that help you to validate “good” Ideas.

Slides

Idea Example

Here are some examples about previous works.

Slides

Lecture 06

React

React | Components | JSX | States and Data flow | Form Elements | More JSX | Client-side Routing | AJAX | Debugging | Weather mood project

Video Slides

Bonus

ES8 Async | Await

Slides

React Revisited and Cookie

This lab review some key concepts of React and introduces how to use cookie.

GitLab Slides

WeatherMood: forecast

Your goal is to improve the WeatherMood project by adding one page which shows 5-days forecast.

GitLab

Lecture 07

Backend Developement and Node.js

Node.js | Events and Asynchrnonous I/O | NPM and Yarg | Debugging | RESTful API | Express | Nodemon and Postman | Cloud Computing | Docker | AWS Elastic Beanstalk

Video Slides

Tracing WeatherMood

This lab details the post function of the WeatherMood project.

GitLab

Deployment on AWS

This lab gives you a step-by-step guide on how to deploy an app to the AWS.

GitLab Slides

Lecture 08

Database Systems

Data Modeling | SQL Language | Surviving Big Data | Text Indexing | AWS RDS and Deployment

Video Slides

Data Model

Introducing data models at the server side.

Slides

Advanced SQL

This lab introduces some advanced SQL operations.

Slides

WeatherMood: DB

Combine WeatherMood with RDS service

Slides GitLab

Lecture 09

Redux

Redux | Why Redux | Action and Reducers | Splitting Reducers | Async Actions and Middleware | React+Redux | Remarkers | DevTools

Slides Video

WeatherMood: redux-post

Your mission here is to use Redux to re-write the post function.

GitLab

Lecture 10

Authentications, Authorizations, and Session Management

Authentication | Authorization | Session | HTTP Basic Auth | HTTP digest Auth | SSO

Video Slides

Web Security

This lecture introduces the basics of web security.

Video Slides

Authentication with AWS Amplify

Use amplify to add authentication to your website

Slides GitLab

Lecture 11

React Native

React Native | Styling | Event Handling | Images and Icons | Data Access and Persistence | NativeBase | ScrollView and ListView | Navigation

Video Slides

Setting It Up

This lab guides you through the setups of React Native on various devices.

Video Slides

Lecture 12

Web/App Intelligence Part I

Web/App Intelligence | What is Machine Learning | Supervised Machine Learning | What is Deep Learning | Post Toxicity Detection

Video Slides

Weathermood: Toxicity Detection

This lab guides you through how to integrate Tensorflow.js into your applications.

Video Slides GitLab

Lecture 13

Web/App Intelligence Part II

Unsupervised Learning and Recommendations | WeatherMood with StarGANs

Video

Weathermood: Toxicity Detection with StarGAN

This lab demonstrate the application of StarGAN, and how to host your own models.

Slides GitLab

Resources

Here are some course materials and resources related to this course. For code and its details (such as assigned reading, project links, quiz, etc.) please refer to the GitLab. For online forum please refer to the iLMS system.

GitLab iLMS System

Reference Books

  • Alexander Osterwalder, Business Model Generation: A Handbook for Visionaries, Game Changers, and Challengers, 2010

  • Eric Ries, The Lean Startup: How Today's Entrepreneurs Use Continuous Innovation to Create Radically Successful Businesses, 2011

  • Peter Thiel, Blake Masters, Zero to One: Notes on Startups, or How to Build the Future, 2014

Online Tutorial