Mind map
Data Exchange Methods/Systems
Map content
Data Exchange Methods/Systems
JSON
- Definition
- Lightweight data interchange format
- Structure
- Key-value pairs
- Data Types
- String, Number, Boolean, Array, Object, Null
- Example
- { "name": "John", "age": 30, "isStudent": false, "courses": ["Math", "Science"], "address": {"city": "New York", "zip": "10001"} }
- Definition
XML
- Definition
- Extensible Markup Language used to encode document
- Structure
- Nested elements with attributes
- Data Types
- Text, Elements, Attributes.
- Example
- <person> <name>John</name> <age>30</age> <isStudent>false</isStudent> <courses> <course>Math</course> <course>Science</course> </courses> <address city="New York" zip="10001"/> </person>
- Definition
SOAP
- Definition
- Simple Object Access Protocol for exchanging structured information
- Components
- Envelope, Header, Body, Fault
- Protocols
- HTTP, SMTP, TCP
- Example
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ex="http://example.com/"> <soapenv:Header/> <soapenv:Body> <ex:getPerson> <ex:id>123</ex:id> </ex:getPerson> </soapenv:Body> </soapenv:Envelope>
- Definition
Messaging
- Protocols
- MQTT, AMQP, STOMP
- Components
- Topics, Queues, Brokers
- Use Cases
- IoT, real-time applications
- Example
- MQTT message on a topic
- Protocols
GraphQL
- Definition
- Query language for APIs
- Components
- Queries, Mutations, Subscriptions
- Advantages
- Precise data fetching, efficient
- Example
- { person(id: "123") { name age courses } }
- Definition
SQL
- Definition
- Structured Query Language for managing databases
- Components
- Tables, Rows, Columns, Constraints
- Queries
- SELECT, INSERT, UPDATE, DELETE
- Example
- SELECT name, age FROM person WHERE id = 123;
- Definition
Web Technologies
- HTMl
- Elements
- Tags, Attributes
- Example
- <div id="content"> <h1>Hello World</h1> </div>
- Elements
- Javascript
- Features
- Functions, Events, DOM Manipulation
- Example
- document.getElement ById('content').style.color = 'blue';
- Features
- CSS
- Components
- Selectors, Properties, Values
- Example
- #content { color: blue; }
- Components
- HTMl
Programming Languages
- Python
- General-purpose language
- Libraries
- Pandas, NumPy, Requests
- Example
- import requests response = requests.get('https://api.example.com/data') data = response.json()
- Javascript
- Scripting language for web
- Frameworks
- Node.js, Express
- Example
- fetch('https://api.example.com/data') .then(response => response.json()) .then(data => console.log(data));
- Python
Data Structures
- Arrays
- Example
- ["apple", "banana", "cherry"]
- Example
- Objects
- Example
- {"name": "John", "age": 30}
- Example
- Arrays
Data Components
- Data Tables
- Structured data in rows and columns
- Sample Data
- Example data used for testing
- Data Types
- String, Number, Boolean, Array, Object
- Data Tables
Constraints
- Purpose
- Rules to ensure data integrity
- Example
- Primary Key, Foreign Key, Not Null, Unique
- Purpose
Information
- Description
- Computer Science Mind Map on Data Exchange Methods/Systems, created by Josh Stratton on 12/06/2024.
- Created by
- Josh Stratton
- Views
- 2
- Rating