Mapa mental
Part 1

Contenido del mapa
Part 1
Data Interface
- JSON Presentation
- HTML
- HTTP POST method
- Table Structure to present JSON
- CSS
- CSS styling should use colour theme of Star Wars (for example, black/yellow)
- Python
- Python Flask module is used to combined HTML and CSS in order to create a web application that displays JSON data.
- requests module in order make a HTTP request to the API and retrieve JSON data.
- HTML
- JSON Presentation
Data Structures
- JSON representation
- Arrays
- Various arrays within SWAPI
- Arrays used to store multiple values for a person for example, starships being the various starships a person piloted
- Various arrays within SWAPI
- Raw JSON
- Output JSON
- Possible design from programatically transformed JSON data used in web application
- Possible design from programatically transformed JSON data used in web application
- Output JSON
- Arrays
- JSON representation
Data Specification
- Data Constraints
- Primary - Unique identifier for each entry
- Unique - No other entries can be the same
- NULL and NOT NULL - required field
- Foreign Key - Entry that refers to primary key in another table
- Data Types and their general character lengths
- varchar(255) - Used for text
- int(100) - Used for whole numbers
- JSON from SWAPI
- Resources and respective key attributes
- Root
- People
- Films
- Starships
- Vehicles
- Species
- Planets
- Root
- Resources and respective key attributes
- float(100) - Used for decimal numbers
- Boolean - Used for true or false
- Data Constraints
REST
- Principles
- Uniform
- Giving all resources an ID
- Client-Server
- System has a client that can request resource from server
- Stateless
- Client to server interactions are independent
- Cacheable
- Responses from server can be stored by user locally
- Layered
- System must have layers like a hierarchy with each layer having specific function
- Uniform
- Principles
Imágenes y archivos del mapa
Información
- Descripción
- Mapa Mental sobre Part 1, creado por Ethan Bui el 23/04/2025.
- Creado por
- Ethan Bui
- Visitas
- 3
- Valoración








