Mapa mental
Part 1
Contenido del mapa
Part 1
Network Protocols
- TCP - Reliable data transmission
- UDP - Faster, unreliable
- HTTP - Recieves and requests web content
- HTTPS - Secure HTTP
- FTP - Transfer Files
- DNS - Resolves domain to IP
- IP Address - Device Identifier
- VPN - Encrypts network activities
Data Security
- Cryptography
- Symmetric Encryption
- Asymmetric Encryption
- Authentication
- 2FA
- Passwords
- Hashing
- CIA Triad
- Confidentiality
- Integrity
- Availability
- Error Message: "I don't know what that means?"/"Enter in a search term"
- Cryptography
Data Exchange Components
- Client - Software sending the request (Web Browser)
- Server - Responds to client requests (SWAPAI Server)
- Request - Message sent to fetch data
- Resource - Actual data item requested ("Luke Skywalker")
- Endpoint - Specific URL to access resource
- REST - Set of API design rules using HTTP
API
- Star Wars
- Planets
- Characters
- RESTful (Uses GET)
- Pull data
- Use Endpoints
Data
- JSON transferred
- Transformed to HTML
- Characters, Films, Planets
- Validated, Transformed, Encrypted, Transferred
- XML as an alaternative
- Algorithm
- Interface
- HTML Table Layout
- Rows, Columns, Cells
- User-friendly formatting
- Styled with CSS
- Grid View, as well as <td> <th>
- Properties Styled on Interface 'A New Hope'
UI/UX
- Visual Layout
- Consistency
- Interactive & Engagement
- Feedback (Error messages)
- Easy to access
- CSS/HTML
Sample Data
- Characters (Name, Gender, BY)
- Films (Titles, Release Date, Years)
- Planets (Name, Population, Climate)
- Starships (Name, Model)
Resources
- VS Code
- SWAPI
- Flask
- JSON
JSON
- Key Value Pairs
- Arrays and Objects
- Human Readable
- Returned directly by SWAPI
- Character Lists
- Smaller File Size then XML
- Ideal for Webapps
XML
- Tag Based like HTML
- Verbose
- Not usually used with JSON
- Slower with larger data size
- More code, less output
REST
- Stateless
- Uses HTTP Methods (Get, Recieve, Fetch, Select)
- Resource based /planets, /characters
- Unique endpoints (URL)
- Scaleable & Cahcable
- SWAPI is RESTful
Coded Examples
Data Structures
- Key value pairs
- Arrays films/characters [ ]
- uid (Unique IDs)
- Properties object
- Lists and URL References (gender)
- 'name': 'Luke Sykywalker'
Data Specifications
- String, Integer, Boolean
- Data Lengths such as Name < 50
- mass must be numeric
- Null or unknown values
- Valid UID's only
Información
- Descripción
- Mapa Mental sobre Part 1, creado por Janice JUDGE el 17/05/2025.
- Creado por
- Janice JUDGE
- Visitas
- 0
- Valoración