Giter Club home page Giter Club logo

computing_for_the_web's People

Contributors

dannnno avatar

Watchers

 avatar  avatar  avatar

computing_for_the_web's Issues

Flask

This assignment should be shorter than the last one. Topics covered are very introductory - just how to get flask started

Question 0 should be about what Flask provides - perhaps a brief rundown of how things work

Question 1 should be to start work on a website that has at least 3 different pages.

Variables, functions, and files

The assignment should have several short(ish) questions that should be solvable by the instructions given, the lesson, and simple google searches (with hints). Topics covered in this lesson are variables, functions, python files, and an introduction to the command line.

Question 0 should involve the command line
Specific things I'd like to cover:

  • python command line arguments
  • pip command line arguments
  • cd and ls/dir
  • redirecting stdout/stderr to a file

Question 1 should involve naming conventions

  • function and variable names should be lower case with underscores
  • function and variable names should be self-documenting
  • documentation (comments and docstrings)

Question 2 should focus on variables, avoiding issues of scope
Specific things I'd like to cover:

  • dynamic typing
  • variable reassignment (related to dynamic typing)
  • "recursive" variable assignment (i.e. x = x + 1)

Question 3 should focus on issues of scope

  • scope inside and outside of functions
  • imports
  • scope between modules

Question 4 should involve creating a fruitful function

  • i.e. something that returns something
  • Ideally a relatively easy computation that will still take a few lines

Question 5 should involve creating a void function

  • should print something out
  • again, a relatively easy computation that will still take a few lines

Question 6 should involve creating a simple recursive function

  • probably something simple like factorial

Iterables

This should be a somewhat lengthy assignment as well. Covered loops, iterables, and comprehensions

Question 0 should be about what an iterable is - don't go into magic method territory though. Just go over the iterable types we know and how to iterate over them

Question 1 should be about while loops

Question 2 should be about for loops

Question 3 should be about picking between the two

Question 4 should be about list and dict comprehensions

  • should be clear on when dict comprehensions were introduced

Question 5(?) should introduce generator statements (at least explain how they work in relation to list and dict comprehensions)

Conditionals

This assignment should be fairly brief. Conditional statements were introduce

Question 0 should focus on how if/elif/else can and should be used to structure flow

  • This should include how to leave a function early, or how to minimize code reuse

Question 1 should focus on how long chains of if/elif/else are ugly, but not provide a solution

  • Make it tedious, and make it clear that this isn't the best way. Hint at an upcoming solution

Question 2 should introduce how if __name__ == '__main__' works and why it matters

Collections

This should be a longer assignment. Introduced lists, tuples, dictionaries

Question 0 should be on mutability - a good way to use it and a bad way to use it

Question 1 should be about lists - more on their API. Should also include slicing

Question 2 should be about tuples - same as lists

Question 3 should be about dicts - same

Question 4 should be about picking data structures

Template Collections

This should be a shorter assignment. Covered how you can use loops and collections in a flask template

Question 0 should be a rehash of previous template stuff

Question 1 should be how to use a loop in a template

Question 2 should be a more comprehensive example; again inheritance, multiple files, etc.

Further readings

It would be nice if I could find some helpful readings for each lesson on the topics covered. There are many other people who are equally (or much, much more) qualified than me who have excellent posts about them. The one thing I need to make sure of is that I'm not doing too much, too fast and linking posts that are beyond what we've covered (a little bit technical is alright)

Documentation

All old code samples need docstrings and comments

Mobile development

I've sketched out the rough idea of topics I want to cover with this "course", but I know very little about mobile web experiences. I need to learn more about that before I get to that section of the course.

HTML

This should be longer than the previous assignment. Topics covered were a simple introduction to HTML

Question 0 should introduce how to comment and format HTML

Question 1 should talk about metadata in the <head> of the document

Question 2 should introduce some new tags - for example images and links

Question 3 should introduce some more new tags - perhaps <div>, <br>, and tables

Question 4 should be a brief introduction to forms

Conditional templates

This should be a brief assignment as well. Introduced using if statements in templates

Question 0 should be a review and explanation of the syntax

Question 1 should be about template inheritance

Question 2 should involve a more sophisticated example

  • a base template
  • at least 2 pages that inherit that template
  • more meaningful content in the if statements - perhaps some starter code that would let a user "log in" and see something new

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.