Skip to the content.

Revision Week 1 - 4


Week 1: Basics of Web

Content:

Things to Know:

  1. What are Protocols?
  2. HTTP/HTTP Verbs
  3. Request/Response Mechanism
  4. What is curl and how to make a curl request?
  5. Performance Parameters
    • Latency
    • Bandwidth
    • Round Trip Time

Week 2: Basics of HTML and CSS

Content:

Things to Know:

  1. Basics of Number Systems
    • Binary
    • Octal
    • Decimal
    • Hexadecimal
  2. Unicode to UTF-8 Conversion
  3. HTML Tags
  4. CSS: Inline, Internal, External
  5. Developer Tools

Week 3: Presentation Layer: View

Content:

Things to Know:

  1. Template Creation Using:
  2. Template Designer Documentation
  3. Jinja Filters
  4. Template Inheritance

Week 4: Database Layer: Model

Content:

Things to Know:

  1. Basic SQL Queries
  2. Setting Up SQLite Database
  3. ER Diagrams
  4. Basic Wildcards in SQL
  5. Object-Relational Mappings (ORMs)

Bonus: Basics of Flask Application and GET/POST Methods

Content:

Example Code:

from flask import Flask, request

app = Flask(__name__)

# GET Method Example
@app.route('/hello', methods=['GET','POST'])
def hello():
    return "Hello, World!"

# POST Method Example
@app.route('/submit', methods=['POST'])
def submit_data():
    if request.method == 'POST':
    	data = request.form['data']
    	return f"Data received: {data}"

if __name__ == '__main__':
    app.run(debug=True)