- Denise Case
- Assistant Professor
- Northwest Missouri State University
- Site: https://denisecase.github.io/44-691-gdp1-syllabus
- Source: https://github.com/denisecase/44-691-gdp1-syllabus
- Follow these recommended steps to print to PDF from Chrome browser:
- In the Chrome main menu, go to "More tools" > "Developer tools"
- Important: Make sure the "Responsive" bar is closed, and that the width of the page is between 1200 and 1250 pixels (when hovering over html tag).
- In "Developer tools", click the three-dot menu (upper right) and go to "Run command"
- Under "Run command", select "Screenshot Capture full size screenshot". A PNG file will be saved to your machine.
- Open the PNG file in another Chrome tab.
- Important: Click the image for full zoom.
- In the Chrome main menu, select "Print...".
- Change destination to "Save to PDF", make sure margins are set to "None", then click "Save"
- The final PDF will be saved to your machine.
- Follow these guides for Windows users to get set up for development.
Host
- GitHub Pages - free & easy hosting for client-side sites
Basic Tools
- Git version control system
- VS Code - editor
- VS Code extension - Live Server - hot refresh
Windows Tools
- Powershell - Windows CLI
- Chocolatey - software manager for Windows
- TortoiseGit - integrates with Windows File Explorer
Update: Use Winget to update to latest Powershell:
winget install --name PowerShell --exact --source winget
CI/CD Tools
- Husky - Git hooks to auto-lint and more
- Node - JavaScript without the browser
- npm, npx - package manager and script runner (see package.json)
Code Tools
- W3C Markup Validation Service
- W3C Css Validation Service
- Airbnb JavaScript Style - semicolons and more
- Prettier - formats JavaScript, CSS, JSON, and more
- ESLint - linting
- Sort package.json - consistant, std format
- Mark.js - JS keyword highlighter
Responsive Design
- Bootstrap - responsive design
- Material Design for Bootstrap - nice looking styles, great tutorials
- Bootstrap 5 alpha - drops jQuery
- CSS Variables (custom properties)
- 2020 JavaScript - dynamic imports, ??, and more
Audits
- Google Measure
- Lighthouse Badges - PWA audits
- Codacy - online static analysis
Browsers
PWA
- Google Workbox - Service worker API
Analytics
Speech Synthesis
As Needed
- Tables Generator (HTML)
- PurifyCSS - reduce size
- PurifyCSS - online
- Icons8
- JSDoc
- JsDoc Cheatsheet
- Test JavaScript Regular Expressions
- Code styles guide
- Fork contents to a new repository.
- Clone your repository down to your local machine.
- From Windows File Explorer, open index.html in Chrome to view.
- Using Visual Studio Code, open the folder to edit.
- Open GitHub repository, under Settings / GitHub Pages, set Source to master branch and click Save.
- Go to your Google Analytics dashboard. Add a new property for your GitHub Page, generate your tracking id, and replace the analytics code in index.html with yours.
This syllabus is a progressive web app and can be installed on mobile and other devices.
Track your outcomes with local storage.
- Update the CDN styles in index.html.
- Update the Canvas course URL in the navigation bar.
- Update outcomes.
- Update tools and requirements.
- Update schedule.
- Update office hours.
PWA require lots of icons.
Basic icon built with Favicon.io
- Generate from Text
- Text: GDP1
- Background: Rounded
- Font family: Cabin Condensed
- Font size: 50
- Color: #FFFFFF
- Background: #006747
Download and save favicon_io.zip file to images folder. Extract and delete the zipfile.
Copy favicon.ico into the root project folder (the one that has the index.html file).
Full set of PWA icons built with PWA Builder App Image Generator. Upload your largest favicon (e.g., the 512 size created above) and update settings as desired (these used 0.3 padding with custom color #006747). Check all the boxes. Click the button below the color option to generate a zipfile. Save the AppImages.zip file to images folder. Extract and delete the zipfile.
Update icons property in manifest.json as needed (if the names are the same, updates can be copied from a reference project).
-
48 × 48 (mdpi) , with 1 dp padding
-
72 × 72 (hdpi), with 1 dp padding
-
96 × 96 (xhdpi), with 1 dp padding
-
144 × 144 (xxhdpi), with 1 dp padding
-
192 × 192 (xxxhdpi) , with 4 dp padding
- To test automatic formatting and linting and PWA testing, open a PowerShell Window in this folder as an adminstrator.
- Run the following commands to install packages, format the code, and view any recommendations.
npm run sort
npm install
npm run prettier
npm run lint
npm run lint-fix
- Removing jQuery to increase performance
- Moving to JavaScript modules
- Shared custom elements using only JavaScript (components use general page styling)
- Shared web components encapsulate their own styles (not currrently used)
- Source: https://github.com/denisecase/44-517-bigdata-syllabus - uses content from here