From 6d2bee8972cea2ed4ce96c1db7aa07979f0da7ee Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Mon, 20 Jun 2022 10:07:03 +1200 Subject: [PATCH] vault backup: 2022-06-20 10:07:03 --- content/notes/COSC 202 Jet Hughes.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/content/notes/COSC 202 Jet Hughes.md b/content/notes/COSC 202 Jet Hughes.md index 6722faeab..aa1feed4b 100644 --- a/content/notes/COSC 202 Jet Hughes.md +++ b/content/notes/COSC 202 Jet Hughes.md @@ -72,14 +72,21 @@ ii) ADD HERE # 6 Libraries and APIs -a) A code library is embe - +a) A code library provide code that can be used within one's own project. APIs differ from libraries because they deal with the interactions between applications at runtime. +b) A RESTful API adheres to the guidlines of Representational state transfer. Some fo these best practices include: +- decoupled +- stateless +- uniform interface +c) +i) Sorting algorthims can be very complicated. Is would be far easier and faster to use one that has been thouroughly tested and optimised already. +ii) Often there is no library that perfectly matches your specific needs, and it would be faster, and better to create if yourself. Also using a library can bloat your program and introduce security vulnerabilities as well as other things
-# 7 Hashing +# 7 Security +a) Users will try to input malicious data to your software. For example, an Injection attack. This is when the user inputs data to a form, which tries to change the underlying