Articles, Blog

Handling HTML Input – Web Development

So what happened is our looks something like this. I left off the other attribute–it’s no big deal; our variable (month) gets substituted into the string. So if: month=”November”, the string, “November” renders and we get a text box that looks like this–which is what we’d expect. But if (month)
Continue Reading
Articles, Blog

Acid Solution – Web Development

The correct answer is consistency. We’ve gotten our database system–this whole group of machines here– operating in a state that is inconsistent. The master has one view of the world, and the slave has a different view of the world. And we may have inserted some item into here, and
Continue Reading
Articles, Blog

Scaling Databases – Web Development

I want to talk for a moment about how to scale databases. Now, like databases themselves, this is a very broad topic, but there’s a couple concepts I’d like to introduce because they’re going to affect us in this class. There’s two reasons you might need to scale a database.
Continue Reading
Articles, Blog

Caching – Web Development

Caching refers to storing the result of an operation so that future request return faster. Basically, if you do something once you know whether it’s a database query or rendering some HTML or you know, anything that might be slow. You store the results so you don’t have to do
Continue Reading
Articles, Blog

Methods and Parameters Solution – Web Development

The answer is: it’s after the HTTP request headers. Let me show you how to find that out. So first we’ll go to our Editor and we’ll switch these lines around again so we can see the actual request. So I comment these two guys out, and I uncomment these
Continue Reading