1 An Overview Course in Website Development
Spring Semester 2019
This is a course on web development for computer science students who are familiar with at least one programming language and have had a course on data structures and algorithms. It does not assume any familiarity with web technologies.
There are a huge number of topics that a web developer may encounter and use in the real world and many opinions on what a developer should know in any given year. See for example web developer roadmap 2019.
This course will strive to meet two goals: (1) focus on website development concepts and fundamentals and (2) keep up with current best practices related to those concepts and fundamentals. To accomplish this there are a number of items that will be out of our scope: (1) legacy browser support, (2) survey of backend technologies.
For example there are many approaches that have been developed for web page layout. We will only look at the current standardized techniques based on CSS Flexbox and CSS Grid since they are much better and easier to use than previous approaches that work with legacy browsers. Layout is difficult enough to get right!
The topics that we will cover include:
Cascading Style Sheets (CSS) fundamentals and media queries, flex-box and grid.
TCP/IP Networking basics, DNS, URLs, and HTTP
Web servers and server frameworks. To enhance understanding we will use a "micro-framework". The representative server side framework we'll use is based on Node.js + Express.js.
Modern web applications and GUIs. We'll get hands on with the React front end framework and a bit of its ecosystem.
A representative subset of modern web development tools: Git/GitHub, Node.js, NPM, and a modern code editor.
2 Books and Such
What about a textbook? There is no required textbook instead you will have assigned readings from various web sites. These include:
Mozilla Developer Network will be our main source for learning materials and we will follow the following learning tracks:
Smashing Magazine: Another great resource for web developers.
W3Schools is another useful resource.
4 Development Tools and Such
Web Browsers: You need an up to date version of either Chrome or Firefox. I use both.
Version Control. Every programmer should be using version control for all but the smallest projects. We also need a way to privately share many files between student and teacher/grader. For this we will use GitHub classroom. We'll learn enough about git to aid you in dealing with your assignments and personal projects on your local machine and with a remote repository. Use is required for most homework assignments.
Debugging and development tools: These come with Chrome and Firefox and they are amazing compared to anything we had in the past.
Code editors. There are a number of good free editors. I use several. Most provide some "linting", "auto-completion", and other things that ease a programmers burden. You can use any editor your like. I'd recommend looking at:
- We'll use (and you'll need) node.js for the following tasks:
- Package management for 3rd party libraries and development tools via its companion program npm
- For running our templates, Markdown processor, and static site generation code.
- Running our backend web server and application.
In summary to do the assignments in this class you will need a computer running node.js (with npm), git, a free GitHub account, and a text editor. I will announce the recommended versions of these systems at the start of the course. We will be adding modules to the node.js environment as the course progresses. Note that your development environment is your responsibility!!!. I cannot configure your computer for you.
5 Tentative Schedule
|1/21||1||Short week, Git, GitHub, Markdown, Intro|
|1/28||2||HTML, CSS, JS|
|2/04||3||JS DOM, JS Strings, CSS box model, HTML|
|2/11||4||Images, JS Arrays, DOM Events, CSS Foats, CSS Positioning|
|2/18||5||Node.js and NPM, Async JS I, CSS Flexbox|
|2/25||6||Templates, Midterm #1 (2/27/2019)|
|3/04||7||Templates, CSS Grid, CSS Cascade & inheritance|
|3/11||8||Static Sites/Metalsmith, JS Objects in Depth, Networking I (Eth, IP, TCP, DNS)|
|3/18||9||HTTP, Web Servers|
|3/25||10||HTML Forms, Authentication, Document Database|
|4/08||12||HTTP Cookies, Sessions|
|4/15||13||Database, Media Queries, Midterm #2 (4/17/2019)|
|4/22||14||React Intro, JSX, Components 1, JS Modules|
|4/29||15||JS classes, React class components, interactivity|
|5/06||16||Async JS II: Promises, Fetch/Ajax, React|
|5/13||17||Final Monday, May 13, 2019, 8AM-10AM per CSUEB Schedule|