Chapter 5. Refactoring Our Site
"Welcome to the code!"
Now, before continuing, we will try to refactor our site a bit. This is going to be a small chapter, where we will take a look at our site, modify it, and learn a bit more about how it works.
But what is all this refactoring about? Well, Wikipedia (http://en.wikipedia.org/wiki/Code_refactoring) says:
"Code refactoring is the process of changing a computer program's source code without modifying its external functional behavior in order to improve some of the nonfunctional attributes of the software. Advantages include improved code readability and reduced complexity to improve the maintainability of the source code, as well as a more expressive internal architecture or object model to improve extensibility."
So that's what we are going to do, try to make our code better without changing how our site looks. At this moment we are using quite a good number of third-party extensions in our site. We all must agree that the creators of these...