Latest / CyberCode Academy / Course 37 - Building Web Apps with Ruby On Rails | Episode 5: Implementing Business Rules through Validations, Migrations, and Lifecycle Hoo
Transcript
- 0:00Speaker 1: Imagine spending months, I mean literally months building this pristine
- 0:04Speaker 1: software application.
- 0:05Speaker 2: Oh yeah, the dream scenario.
- 0:07Speaker 1: Right. You've obsessively tuned the user interface, your API N
- 0:11Speaker 1: points are like lightning fast, and the deployment is just
- 0:15Speaker 1: totally flawless.
- 0:16Speaker 2: Sounds perfect so far, it is.
- 0:18Speaker 1: Until launch day when a malicious, bought or honestly, maybe
- 0:22Speaker 1: just a profoundly confused user inputs a massive string of
- 0:26Speaker 1: emojis and a raw seagal command right into your crucial
- 0:29Speaker 1: checkout form.
- 0:30Speaker 3: Oh no, that is the ultimate architectural stress test right there.
- 0:33Speaker 1: Yeah, because if your system accepts that input, it doesn't
- 0:37Speaker 1: just look bad, it potentially corrupts your entire database, bringing
- 0:41Speaker 1: the application to a grinding halt.
- 0:43Speaker 3: And that's exactly why you can build the most elegant
- 0:45Speaker 3: front end in the world. But if your underlying data
- 0:47Speaker 3: layer just blindly accepts garbage, I mean, your application is
- 0:51Speaker 3: essentially a house of cards exactly. Ensuring data integrity is well,
- 0:55Speaker 3: it's arguably the most critical foundational step in software architecture.
- 0:59Speaker 1: So today our deep dive, we are focusing entirely on
- 1:02Speaker 1: defending your data. We're talking about mastering business rules to
- 1:06Speaker 1: build a truly bulletproof data model.
- 1:09Speaker 2: Yes, this is such a vital topic.
- 1:11Speaker 1: Right, So, whether you're a programming student, maybe a young
- 1:14Speaker 1: professional scaling your first production app, or a self taught
- 1:18Speaker 1: developer listening to this and refining your back end architecture,
- 1:21Speaker 1: we're going to trace the journey of a single piece
- 1:24Speaker 1: of data today.
- 1:25Speaker 3: We're going to track it from the very moment it
- 1:27Speaker 3: hits your application layer all the way down into the
- 1:31Speaker 3: rigid constraints of your database vault.
- 1:33Speaker 1: And doing this correctly it requires understanding that securing data
- 1:37Speaker 1: isn't just about throwing up random roadblocks, No.
- 1:40Speaker 2: Not at all.
- 1:41Speaker 3: It requires a deliberate mapping of the functional requirements of
- 1:44Speaker 3: your system. And those requirements that's what we call business rules.
- 1:48Speaker 1: Okay, so let's define the boundaries of what we're actually
- 1:50Speaker 1: talking about today. Because business rules can encompass like almost anything.
- 1:54Speaker 3: Right, it really can. It's a broad term.
- 1:56Speaker 1: So how do we categorize them when we sit down
- 1:59Speaker 1: to our detect a system.
- 2:01Speaker 3: Well, we generally divide them into two camps, high level
- 2:04Speaker 3: and low level rules. So high level rules those governed
- 2:08Speaker 3: processes and relationships across multiple models, like what exactly say
- 2:12Speaker 3: in a financial application, a high level rule might dictate
- 2:16Speaker 3: that a company model interacts with millions of stock record models, right,
- 2:20Speaker 3: and those records must be aggregated and scrubbed before generating
- 2:24Speaker 3: a quarterly record.
- 2:25Speaker 1: Got it? So that requires like complex service objects and
- 2:29Speaker 1: background jobs exactly.
- 2:31Speaker 3: But today we are focusing on the bedrock. We're talking
- 2:34Speaker 3: about low level business rules. These dictate the strict, non
- 2:38Speaker 3: negotiable attributes of a single data model.
- 2:41Speaker 1: Okay, let me try to unpack this with an analogy.
- 2:43Speaker 1: If high level rules dictate how the rooms in a
- 2:45Speaker 1: house connect to each other, low level rules dictate that
- 2:48Speaker 1: every single brick used must be solid and uniform.
- 2:52Speaker 2: That is a perfect way to look at it.
- 2:53Speaker 1: Yeah, so if I'm building this house, why not just
- 2:55Speaker 1: put all that logic in the controller, Like if a
- 2:58Speaker 1: user submits a form to create a company, couldn't I
- 3:00Speaker 1: just write a quick script in the controller that checks
- 3:02Speaker 1: if the company name exist before saving it.
- 3:05Speaker 3: I mean you could, sure, but you'd be violating a
- 3:08Speaker 3: core architectural principle, especially in NBC. You know model view
- 3:14Speaker 3: controller frameworks.
- 3:15Speaker 1: Right, the whole skinny controllers and fat models.
- 3:18Speaker 3: Idea Precisely, we aim for skinny controllers. The controller's only
- 3:21Speaker 3: job is really just to direct traffic. It takes the
- 3:24Speaker 3: HTDP request, hands the parameters to the model, and then
- 3:27Speaker 3: returns a view or ad Jason response.
- 3:30Speaker 2: That's it.
- 3:31Speaker 1: So the model itself has to own the data.
- 3:33Speaker 3: Rules exactly because think about it. If you put validation
- 3:36Speaker 3: logic in the controller, what happens when you need to
- 3:39Speaker 3: create a company from a background worker or like a
- 3:43Speaker 3: command line Rake task.
- 3:44Speaker 1: Oh I see, your controller logic is just bypassed completely.
- 3:47Speaker 3: Yep. The model is the central authority for the data,
- 3:50Speaker 3: regardless of where the request actually originated.
- 3:52Speaker 1: That makes perfect sense. So taking a company model, a
- 3:56Speaker 1: low level business rule would dictate that a company must
- 3:59Speaker 1: have a name and that name must be unique across
- 4:02Speaker 1: the entire system.
- 4:03Speaker 3: Right Or for a stock price model, the rules would
- 4:05Speaker 3: say the amount must be a numerical value and it
- 4:07Speaker 3: must have a valid timestam.
- 4:09Speaker 1: Okay, So how do we translate those human readable rules
- 4:12Speaker 1: into actual Ruby code.
- 4:14Speaker 3: Well, frameworks like rubyond rails give us an object relational mapper,
- 4:18Speaker 3: an RM active record, and active record provides this really
- 4:22Speaker 3: robust API for slapping validation rules directly onto our data.
- 4:27Speaker 1: Models using a specific method.
- 4:29Speaker 2: Right yeah, using a method called validates.
- 4:30Speaker 1: So inside the company model class. I just declare, validates,
- 4:34Speaker 1: point into the dot name attribute, and pass in a
- 4:37Speaker 1: hash of conditions. You got it, like presence true and
- 4:41Speaker 1: uniqueness true.
- 4:42Speaker 3: Precisely, and Rails parses that single line of code to
- 4:46Speaker 3: enforce those two critical rules. But to really grasp the
- 4:49Speaker 3: power here, you have to understand the mechanism of how Rails.
- 4:52Speaker 1: Enforces them the validation life cycle.
- 4:54Speaker 3: Exactly, when you instantiate a new company object and call
- 4:57Speaker 3: dot save, Rails intercepts that data transaction. It's pauses it right,
- 5:02Speaker 3: It pauses looks as your validates declarations, and evaluates the
- 5:05Speaker 3: current state of the object against those exact roles.
- 5:07Speaker 1: Okay, so if it passes, it generates the seql insert
- 5:11Speaker 1: statement and commits it to the database. But what mechanically
- 5:14Speaker 1: happens if it fails? Say I tried to save a
- 5:17Speaker 1: company with a blank name.
- 5:19Speaker 3: In that case, the save method halts the transaction completely
- 5:22Speaker 3: and returns false. But more importantly, it populates a specific
- 5:26Speaker 3: object attached.
- 5:27Speaker 1: To that instance, the errors collection.
- 5:29Speaker 3: Right, yes, the errors collection, which is a really robust
- 5:31Speaker 3: API in itself. If the name is blank, Rails injects
- 5:35Speaker 3: an error object pointing to the not name attribute with
- 5:38Speaker 3: the message can't be blank.
- 5:40Speaker 1: Which is just incredibly useful for front integration.
- 5:42Speaker 2: Oh massively useful.
- 5:43Speaker 1: Because if I'm using like a RAILS form builder in
- 5:46Speaker 1: my view, it can automatically read that errors collection. So
- 5:50Speaker 1: if it season error attached to dot name, it wraps
- 5:52Speaker 1: that specific HTML input field in a CSS class that
- 5:55Speaker 1: turns it red.
- 5:56Speaker 3: Yep, and it can display that can't be blank message
- 5:59Speaker 3: directly below the field.
- 6:00Speaker 1: It creates this seamless feedback loop for the user, and
- 6:03Speaker 1: you didn't even have to write any custom HTMIL error
- 6:06Speaker 1: handling exactly.
- 6:07Speaker 3: The back end model talks directly to the front end
- 6:09Speaker 3: view via that erro's object.
- 6:11Speaker 2: It's brilliant.
- 6:12Speaker 1: But here's where it gets really interesting. What happens when
- 6:16Speaker 1: the built in validators just aren't enough. Ah. Yeah, the
- 6:19Speaker 1: edge cases right like presence and uniqueness are standard, but
- 6:24Speaker 1: business rules are often highly domain specific. Let's say a
- 6:28Speaker 1: stakeholder hands you a rule a stock taker symbol must
- 6:32Speaker 1: be between two and four characters long. Rails doesn't have
- 6:36Speaker 1: a simple true false switch for that exact logic.
- 6:39Speaker 3: It doesn't, so when the basic tools fall short, we
- 6:42Speaker 3: shift to custom validators.
- 6:44Speaker 1: Okay, how does that work?
- 6:45Speaker 2: Well?
- 6:46Speaker 3: Instead of using the validates method with an as at
- 6:48Speaker 3: the end, we use the singular.
- 6:49Speaker 1: Validate method validate no as.
- 6:51Speaker 3: Right, and this doesn't call a built in RAILS helper. Instead,
- 6:55Speaker 3: it points directly to a custom private method that you
- 6:58Speaker 3: define within the model itself.
- 7:00Speaker 1: Okay, so I'd write validate dot check ticker length, and
- 7:02Speaker 1: then inside that method I evaluate the string exactly. But wait,
- 7:06Speaker 1: since I'm not using a RAILS helper, how do I
- 7:08Speaker 1: actually stop the dot save method from executing if the
- 7:11Speaker 1: ticker is say, five characters long.
- 7:14Speaker 3: This is where you have to manually interact with that
- 7:16Speaker 3: errors collection.
- 7:16Speaker 1: We just talk about that. I see.
- 7:17Speaker 3: Yeah, So inside your custom method you evaluate your condition.
- 7:21Speaker 3: If the string length is invalid, you literally call errors
- 7:25Speaker 3: dot ad specify the attribute, in this case, ticker symbol,
- 7:29Speaker 3: and pass in your custom message.
- 7:31Speaker 1: So by manually injecting an item into the errors collection,
- 7:34Speaker 1: you're telling Rails, hey, this object is now in an
- 7:37Speaker 1: invalid state.
- 7:38Speaker 3: Bingo. When the validation cycle finishes checking everything, it sees
- 7:42Speaker 3: that the errors collection is not empty and it halts
- 7:44Speaker 3: the database safe.
- 7:45Speaker 1: You essentially build a custom circuit breaker. I love that.
- 7:48Speaker 3: So we've established total granular control over our application. Layer,
- 7:52Speaker 3: we validate presence, uniqueness, custom logic for string lengths. The
- 7:56Speaker 3: application seems completely secure.
- 7:57Speaker 1: The application is secure, but relying only on this layer
- 8:00Speaker 1: provides a very dangerous illusion of total data security.
- 8:04Speaker 3: Wait, really, so if I bypass RAILS entirely, say I
- 8:08Speaker 3: open a direct database management tool like table plus, or
- 8:11Speaker 3: I connect via a command line interface like PSLM, and
- 8:14Speaker 3: I run a raw SQL insert statement.
- 8:16Speaker 2: What happens?
- 8:17Speaker 3: Well, what do you think happens to those customer? Ruby
- 8:19Speaker 3: validations just vaporize like the database literally doesn't know they exist.
- 8:23Speaker 3: The database is completely one hundred percent blind to them.
- 8:27Speaker 2: Oh wow, think of it this way.
- 8:28Speaker 3: The RAILS validations act like a highly sophisticated spell checker
- 8:33Speaker 3: in a word processor. They catch mistakes in real time
- 8:36Speaker 3: while you are typing within the application environment.
- 8:38Speaker 1: Right.
- 8:39Speaker 3: But if a malicious actor, or even just a buggy
- 8:41Speaker 3: background script opens the underlying text file with a hex
- 8:44Speaker 3: editor and writes directly to it, the spell checker is
- 8:47Speaker 3: totally powerless.
- 8:48Speaker 1: Because raw SQL queries bypass the Ruby memory space entirely.
- 8:53Speaker 3: Exactly, the database receives a command to insert a blank name,
- 8:57Speaker 3: assumes you know what you're doing, and stores the corrupted data.
- 9:00Speaker 1: So to achieve true data integrity, we can't just rely
- 9:03Speaker 1: on the spell checker. We have to essentially lock the
- 9:05Speaker 1: pdf itself.
- 9:07Speaker 2: I like that.
- 9:07Speaker 1: Yes, we have to push these rules down into the
- 9:10Speaker 1: actual database schema, like putting a guard at the front
- 9:14Speaker 1: desk of an office building, which is great, but if
- 9:16Speaker 1: someone breaks in through a basement window, that guard is useless, and.
- 9:19Speaker 3: That basement window is direct database access, so we secure
- 9:23Speaker 3: it using migration file migrations. Okay, Yeah, migrations are a
- 9:27Speaker 3: domain specific language in Rails that allows you to manage
- 9:30Speaker 3: your database schema using Ruby code. You generate a new file,
- 9:34Speaker 3: write your schema changes, and run Rails dB dot migrate
- 9:38Speaker 3: to translate that Ruby into database specific SQL commands like
- 9:42Speaker 3: alter table.
- 9:43Speaker 1: So here's a common question that trips up a lot
- 9:45Speaker 1: of junior developers. Yeah, if you realize your database schema
- 9:48Speaker 1: is missing a constraint, why run a command to generate
- 9:51Speaker 1: an entirely new migration file.
- 9:53Speaker 2: That's a good question, right, If the table was.
- 9:55Speaker 1: Created by a migration file two months ago, why not
- 9:58Speaker 1: just open that old file, add the constraint, and save it.
- 10:01Speaker 3: Because modifying old migrations destroys the architectural history of your application.
- 10:06Speaker 3: Also well, Rails tracks which migrations have been executed using
- 10:09Speaker 3: a hidden ledger a database table actually called SNEA migrations,
- 10:12Speaker 3: and every time you run a migration, Rails records the
- 10:15Speaker 3: unique time stamp of that file in the ledger.
- 10:18Speaker 1: Oh, I get it. So if I edit a file
- 10:20Speaker 1: from two months ago, my local machine and the production
- 10:22Speaker 1: server will look at their internal ledgers, see that a
- 10:25Speaker 1: file with that timestamp was already executed, and just completely
- 10:28Speaker 1: ignore my new edits exactly.
- 10:30Speaker 3: Your schema will be completely out of sync across different
- 10:33Speaker 3: development environments. Migrations must be treated as an immutable chronological log.
- 10:39Speaker 3: You only ever move forward to fix an old mistake.
- 10:41Speaker 3: You always generate a new migration file.
- 10:44Speaker 1: Okay, so let's lock down the vault. Then we want
- 10:47Speaker 1: to enforce the rule that a company name cannot be blank,
- 10:51Speaker 1: but we want the database itself to enforce it in
- 10:53Speaker 1: our new migration file. What's the actual mechanism we add.
- 10:57Speaker 3: A structural constraint in the migration file We use is
- 11:00Speaker 3: the change column command on the company's table, targeting the
- 11:03Speaker 3: name column, and we pass in a specific option null
- 11:06Speaker 3: false null false yep. When you run that migration rails
- 11:10Speaker 3: alters the actual database table to physically reject any record
- 11:14Speaker 3: where the name is missing.
- 11:15Speaker 1: So even if a raw sequel injection somehow bypasses the
- 11:18Speaker 1: application layer, the database engine itself evaluates the transaction, sees
- 11:22Speaker 1: the null value, and throws a fatal constrained violation error.
- 11:25Speaker 2: Zoom. The data is protected at the bedrock level.
- 11:28Speaker 1: Okay, let's escalate the complexity a bit. Consider a risk
- 11:32Speaker 1: factor attribute on a financial model. The business rule states
- 11:36Speaker 1: it can only be one of three values low, medium,
- 11:40Speaker 1: or high. Okay. At the application layer, we could just
- 11:43Speaker 1: use an inclusion validator. But how do we enforce that
- 11:47Speaker 1: strict list at the database layer, because I'm assuming we
- 11:49Speaker 1: can't just use null false any string, even the word
- 11:53Speaker 1: non existent isn't null. It's a valid string.
- 11:56Speaker 3: Right. This is where database specific features come into play
- 12:00Speaker 3: on your engine. You have a few really powerful options.
- 12:02Speaker 3: If you are using postrescool, for example, you could create
- 12:05Speaker 3: a custom ENOM data type at the database level and
- 12:08Speaker 3: enom Yeah, and Enom explicitly defines the allowed strings for
- 12:12Speaker 3: a column. So if a raw SEQL query tries to
- 12:15Speaker 3: insert the word critical, Postgress rejects it right there, because
- 12:18Speaker 3: critical is not part of the registered enom type.
- 12:21Speaker 1: Okay, but what if you are using postgress or you
- 12:23Speaker 1: just want a more universal SQL solution.
- 12:25Speaker 3: In that case, you would write a check shit constraint.
- 12:28Speaker 3: A check constraint physically evaluates a boolean expression before writing
- 12:31Speaker 3: the row.
- 12:32Speaker 1: How does that look in the migration.
- 12:33Speaker 3: Well, in your migration, you execute a raw SQL command
- 12:36Speaker 3: that tells the database only except this insert. If the
- 12:40Speaker 3: risk factor column is in the array of low, medium,
- 12:44Speaker 3: or high, the database evaluates the logic itself.
- 12:48Speaker 1: Wow. So between null false enoms and cheek it constraints,
- 12:53Speaker 1: we have effectively sealed the vault. We have. But I
- 12:56Speaker 1: mean this brings up a massive friction point. If the
- 12:59Speaker 1: database is this rigid, it's going to throw hard, fable
- 13:02Speaker 1: errors whenever input isn't totally perfect.
- 13:04Speaker 3: Oh.
- 13:04Speaker 1: Absolutely, Like if a user types of valid stock ticker
- 13:07Speaker 1: but types it in lowercase, a strict database constraint might
- 13:10Speaker 1: just reject it. Throwing a database error screen for a
- 13:13Speaker 1: simple capitalization mistake is a terrible user experience.
- 13:16Speaker 2: It's awful.
- 13:17Speaker 3: It creates an adversarial relationship between the user and the system.
- 13:20Speaker 3: We want strict data integrity, obviously, but we want the
- 13:24Speaker 3: application to behave like a helpful assistant, silently correcting formatting
- 13:28Speaker 3: before the data ever reaches the strict constraints of the vault.
- 13:31Speaker 1: So how do we achieve that balance.
- 13:33Speaker 3: To achieve this, we introduce model life cycle hooks.
- 13:36Speaker 1: Okay, so we've talked about the validation cycle during a
- 13:38Speaker 1: save transaction. Where do hooks fit into this timeline?
- 13:42Speaker 3: Hooks allow you to inject logic at exact, almost microscopic
- 13:46Speaker 3: moments during the object's life cycle. We have hooks like
- 13:49Speaker 3: before validation, after validation, before save, and after commit.
- 13:53Speaker 1: Okay, so if we want to automatically capitalize a stock ticker,
- 13:57Speaker 1: we'd probably use before validation, right, because you want to
- 14:00Speaker 1: format the data before the application runs its custom length checks.
- 14:04Speaker 2: That is a perfect use case.
- 14:05Speaker 3: Yes, you declare before validation dot formatic or symbol.
- 14:09Speaker 1: And inside that private method.
- 14:11Speaker 3: Inside that method, you take the user's input strip any
- 14:14Speaker 3: white space using ruby strip method and format it using
- 14:17Speaker 3: dot upcase.
- 14:18Speaker 1: Okay, let's trace the mechanics of that transaction. A user
- 14:21Speaker 1: lazy types a lowercase ticker with some trailing spaces. They
- 14:24Speaker 1: hit submit. The controller passes the messi string to the
- 14:27Speaker 1: model ye, but before the model even runs, its validates checks,
- 14:31Speaker 1: it pauses, it runs our hook, strips the spaces and
- 14:35Speaker 1: capitalizes the text. Then it runs the validations, and.
- 14:37Speaker 3: Since it's formatted, the pristine string passes exactly.
- 14:41Speaker 1: Yeah. Then the save continues generating the sequel, and the
- 14:44Speaker 1: database accepts the perfectly formatted data without triggering any of
- 14:48Speaker 1: those strip constraints.
- 14:50Speaker 3: The hook silently repairs the data midflight. It's beautiful. But,
- 14:56Speaker 3: and this is important, there is a critical architectural danger here.
- 15:00Speaker 1: Well, what is it?
- 15:00Speaker 3: What happens if the logic inside your hook throws an
- 15:03Speaker 3: exception or explicitly fails.
- 15:05Speaker 1: Oh, if the hook crashes, does the database transaction still happen? No?
- 15:11Speaker 3: In modern rails, if a before save or before validation
- 15:13Speaker 3: hook intentionally throws an abort signal, specifically using the throw
- 15:17Speaker 3: abort syntax, it halts the entire transaction chain immediately. Wow, okay,
- 15:21Speaker 3: the model will not be saved.
- 15:23Speaker 1: Now.
- 15:23Speaker 2: This is powerful.
- 15:24Speaker 3: If you are, say, checking a third party API to
- 15:27Speaker 3: verify a ticker symbol before saving, and the API is down,
- 15:30Speaker 3: you can imbort the save. But on the flip side, right,
- 15:32Speaker 3: it also means a poorly written hook can silently swallow data,
- 15:35Speaker 3: preventing records from saving without generating standard validation errors.
- 15:40Speaker 1: So hooks are kind of a double edged sword. They
- 15:42Speaker 1: provide incredibly elegant formatting and background logic, but they introduce
- 15:46Speaker 1: this hidden complexity that can make debugging a halted save very, very.
- 15:52Speaker 3: Difficult exactly, which is why hooks should be kept really minimal.
- 15:55Speaker 3: They should primarily be used for internal data normalization like
- 15:59Speaker 3: upcas strings or calculating derivative values, not for complex external
- 16:04Speaker 3: business logic.
- 16:05Speaker 1: Makes sense, Well, we've engineered an incredibly robust flow today.
- 16:09Speaker 1: We defined our business rules. We built the application layer
- 16:12Speaker 1: validations to act as a real time spell checker, integrating
- 16:16Speaker 1: with our UI via the errors api we did. We
- 16:19Speaker 1: recognize the vulnerability of direct database access, so we lock
- 16:22Speaker 1: down the vault using immutaal migrations, enforcing null false and
- 16:26Speaker 1: chi check constraints. And finally, we use life cycle hooks
- 16:30Speaker 1: to ensure a smooth user experience by normalizing data before
- 16:33Speaker 1: it hits those rigid walls.
- 16:35Speaker 3: It's a complete architectural journey.
- 16:37Speaker 1: So to formalize this as a sort of architectural checklist
- 16:39Speaker 1: for you listening, if you have a non negotiable business rule,
- 16:43Speaker 1: say an employees's age must be over eighteen. You must
- 16:46Speaker 1: implement it in two places. You need the application layer
- 16:48Speaker 1: validation to provide immediate, friendly feedback to the user interface,
- 16:53Speaker 1: and you need a database level check constraint to act
- 16:57Speaker 1: as the ultimate unbreakable security vault against rogue scripts or
- 17:01Speaker 1: back end bypasses.
- 17:02Speaker 3: That du layer approach that is the industry standard for
- 17:06Speaker 3: a truly bulletproof data model.
- 17:08Speaker 1: It really is.
- 17:08Speaker 3: But you know, the strictness we've advocated for today introduces
- 17:12Speaker 3: a bit of a philosophical architectural question. Oh yeah, we've
- 17:16Speaker 3: spent this entire deep dive obsessing over strictly enforcing rules
- 17:20Speaker 3: to ensure absolute data purity, but we operate in a
- 17:24Speaker 3: world of messy, unpredictable human input.
- 17:27Speaker 1: Is very true, people are messy.
- 17:28Speaker 3: So the question becomes, at what point do overly strict,
- 17:33Speaker 3: rigid database constraints stop your application from capturing valuable, if
- 17:37Speaker 3: imperfect reality. Wow, when exactly does data protection become data prevention?
- 17:42Speaker 1: That is the balance every architect has to negotiate, isn't it. It
- 17:45Speaker 1: is in need definitely something to carefully weigh the next
- 17:47Speaker 1: time you sit down and define your schema. Until next time,