Created
June 22, 2017 22:29
-
-
Save fernandojinzenji/41539e7cdaa1884b53847610a5f72e68 to your computer and use it in GitHub Desktop.
Week 4, Thursday - Readings and Questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Question 1: | |
ACID (Atomicity, Consistency, Integrity and Durability) is a common set of properties used by databases. | |
CRUD (Create, Read, Update and Delete) are the four basic operations used to create and maintain data. | |
Question 2: | |
Multithreading is a set of processes running in paralell, that can be related or unrelated between each other. When | |
programming for iOS is pretty important to keep heavy process in the background thread, or you could freeze your user | |
interface for user interaction until the process is finished. | |
Question 3: | |
Boiler plate code are lines of code that is rarely modified and need to be spread through the entire applicaton. This would | |
make code less readable and with unnecessary size. | |
Question 4: | |
Fault handling ensures that is only one managed object to represent a single record. For example, it you have a custom object | |
with another custom object as a property, this property will have a placeholder (fault) instead of holding the real object. | |
This way, there is need to allocate memory to hold the property object until necessary. | |
Question 5: | |
A cascade deletion can cause unexpected behavior because deleting a "parent" object automatic deletes every related "child" | |
objects. This could be necessary in certain scenarios, for example, when you have a Order and a Order Detail entities. After | |
you delete a Order object, keep the Order Detail objects is unnecessary and they could also be deleted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment