Skip to content

MUSA-509/week-12-html-applications

Repository files navigation

Week 12 — HTML Applications

Lecture

Lab

Lecture Outline

  1. How're project proposals doing?
    • Any project pieces that you need help with?
      • Interactive or static graphs?
  2. Where we're going (update)
    • This week: HTML pages with goodies
    • Next week and week following: AWS EC2 — setting up a cloud-based server
  3. HTML Forms
    • What are they? A collection of HTML components that take in user input: text, check boxes (true/false), selections from a list, etc. They're much more user-friendly than typing query parameters into a browser address bar
    • What do they do? Take user input and send it to whatever is specified by action. In the Codecademy Forms lesson, the submit button didn't actually forward along any data, it just went to a new page.
    • Where is the data sent when we hit 'submit'?
      • Form elements each have data that is sent to the action endpoint in the form of name=value pairs
    • What are the components?
      • text,
    • Structure: name, type, value
    • How do they integrate with Flask or JavaScript?
  4. Architecture of an HTML application
    • Show diagram — API call, fetching and processing of data, calling template, filling in template, sending output to browser
    • What to do if an error occurs?
  5. Additional Flask things
    • Response class — Body, status code, content type
  6. HTML Goodies

Recommended Readings

About

Week 12 — HTML Applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published